header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

DeepSeek's open-source GPU operator library DeepGEMM has been majorly updated, introducing Mega MoE, which combines the MoE five-step operation into a single kernel.

According to Scout Beating monitoring, DeepSeek has today released its largest update since open-sourcing DeepGEMM. This GPU operator library, originally released during last year's February "Open Source Week" to perform only FP8 matrix multiplication, has now been expanded to cover a full operator library for key parts of large model inference. It supports various precision matrix operations such as FP8, FP4, and BF16, as well as dedicated operators for MoE and attention scoring.

The flagship addition is Mega MoE. The MoE (Mixture of Experts) architecture is the foundation of models like DeepSeek V3, requiring five sequential steps during inference: EP distribution, first-layer linear transformation, SwiGLU activation, second-layer linear transformation, and EP merging. The traditional approach involves calling five independent kernels sequentially, with each call waiting for the previous step to complete and moving data back and forth in memory. Mega MoE combines these five steps into a single kernel, enabling NVLink communication and Tensor Core computation to occur simultaneously, eliminating intermediate waits and data transfers. Currently, it only supports the FP8×FP4 precision combination, requires PyTorch 2.9 or above, and the team mentioned ongoing optimization with performance comparison data to be released later.

Other additions include: FP8×FP4 mixed-precision matrix multiplication, FP4 indexer for attention scoring supporting larger MTP, PDL (Programmed Dependency Launch, a GPU scheduling optimization to reduce kernel launch latency), faster JIT compilation speed, and various optimizations for MoE matrix operations. This update also aligns with the MoE data layout of DeepEPv2.

A note in the PR statement specifically states: "This release is solely related to DeepGEMM development and is not related to internal model releases."

举报 Correction/Report
RelatedRecommended
A16Z founder believes DeepSeek R1 is one of the most amazing and impressive breakthroughs he has ever seen, and as an open-source project, it is a profoundly meaningful gift to the world.
NVIDIA's Great Wall for Large Model Training in China Downgraded from 'Mandatory' to 'Optional'
By lowering the barriers to training and inference, more domestic storage, chip, and networking vendors are brought into the competition for AI infrastructure
Technology should never be an exclusive luxury.
DeepSeek: Hello Crypto, Big Hammer 80, Small Hammer 40, what hammer do you want?
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish