Efficient MoE Training for Biological Foundation Models

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

NVIDIA has published a working recipe that trains MoE biological foundation models up to 2.21x faster than the Hugging Face baseline, so genomics teams can cut GPU training time and memory using Transformer Engine on Blackwell hardware today.

Read this as

NVIDIA released a tutorial and code recipe for training 'mixture-of-experts' models - AI systems that only run a few specialised subnetworks per input, instead of the whole model - for biological research like protein and genomics work. The recipe replaces slow, one-at-a-time handling of these subnetworks with a single batched operation, and uses 8-bit numbers instead of 16-bit to save memory. In testing on eight B200 GPUs, it ran up to 2.21x faster than the standard Hugging Face approach. It matters to researchers building large biological AI models.

Organisations training large biological foundation models (genomics, protein design) can cut GPU training cost substantially: NVIDIA's BioNeMo recipe with Transformer Engine hit up to 2.21x the throughput of a Hugging Face baseline on eight B200 GPUs. The catch is hardware - the fused MXFP8 8-bit kernels need Blackwell GPUs and at least two GPUs for expert parallelism. The recipe is publicly available, so adopters gain efficiency without bespoke engineering.

NVIDIA's BioNeMo recipe trains Mixtral-style MoE models using TE GroupedLinear, which submits all expert GEMMs in one grouped call rather than a per-expert Python loop, plus an MXFP8 block-scaled 8-bit path (per-32-value scaling factors) hardware-accelerated on Blackwell. The Sequential API fuses GroupedLinear, ScaledSwiGLU and routing-weight scaling into a ForwardGroupedMLP_CuTeGEMMSwiGLU_MXFP8 kernel, avoiding intermediate materialisation. On eight B200 GPUs training Mixtral-8x7B, throughput reached up to 2.21x the HF baseline; the fused kernel requires Blackwell, and master weights stay in 16-bit.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

NVIDIA Transformer Engine BioNeMo Mixtral-8x7B Hugging Face Blackwell B200

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading