News

⚡ LayerStream cuts MoE fine-tuning costs by 68% with memory streaming breakthrough

Nebius has unveiled LayerStream, a training engine that dramatically accelerates fine-tuning of Mixture-of-Experts (MoE) models while slashing GPU costs. The breakthrough centers on a novel memory management approach that keeps optimizer states and saved activations in host memory rather than precious GPU memory, streaming each layer's working state through the GPU only during active computation.

In benchmark tests on 16 H200 GPUs, LayerStream completed a full training pass over a 25.8 million token dataset in just 7.1 minutes—down from 22.4 minutes using traditional methods. This translates to 3.15 times the throughput of a carefully tuned Megatron-LM trainer, the previous standard for large-scale model training.

The efficiency gains carry significant economic benefits. By offloading memory-intensive components to host RAM and optimizing GPU utilization, LayerStream achieved a 68% reduction in GPU cost per token processed. This cost advantage makes MoE model fine-tuning accessible on fewer or less expensive GPUs, potentially democratizing access to advanced model customization.

The technique addresses a critical bottleneck in modern AI development: MoE architectures offer superior performance but require enormous GPU memory for training. LayerStream's streaming approach allows practitioners to fine-tune these powerful models without investing in top-tier GPU infrastructure, opening new possibilities for research teams and organizations with constrained budgets.