{"type":"post","id":"layerstream-faster-moe-fine-tuning-on-fewer-or-46a892","slug":"layerstream-faster-moe-fine-tuning-on-fewer-or-46a892","title":"LayerStream: faster MoE fine-tuning on fewer or cheaper GPUs","description":"Nebius describes LayerStream as a fine-tuning engine for large mixture-of-experts models.","retrieval_nugget":"Nebius describes LayerStream as a fine-tuning engine for large mixture-of-experts models.","published_at":"2026-11-27","updated_at":"2026-11-27","record_date":"2026-11-27","date_kind":"published_at","topics":["models"],"entities":["Nebius","LayerStream","Qwen3.8-Flash-Next","GLM-5.3-Flash","MiniMax-M3.1-Flash","NVIDIA Megatron-LM","NexTron"],"related_patterns":[],"novelty_label":"new_fact","what_changed":"Nebius introduces LayerStream, a MoE fine-tuning engine that streams training state through GPU memory and reports faster training with lower GPU costs.","prior_refs":["https://newruntime.com/posts/inferssd-streams-moe-expert-weights-from-nvme-running-c0923f/","https://newruntime.com/posts/slotstream-runs-a-125b-moe-model-on-16-1dfd4c/"],"source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","source_urls":["https://nebius.com/blog/posts/layerstream-moe-fine-tuning"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-27T17:00:21.047Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"medium"},"editorial_value":"high","human_review":"selective"},"citations":[{"claim":"","quotes":["November 25, 2026 10 mins to read Share When you fine-tune a large mixture-of-experts (MoE) model , you can end up adding GPUs just to fit the training state. LayerStream, our training engine at Nebius, reduces that memory burden so more of your GPU budget goes into training.","On the same 16 NVIDIA H200 GPUs, Qwen3.8-Flash-Next trained 3.15&times; faster at 68% lower GPU cost per token than our tuned Megatron-based trainer."],"cite_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning#:~:text=November%2025%2C%202026%2010%20mins%20to%20read%20Share%20When%20you%20fine%2Dtune%20a%20large%20mixture%2Dof%2Dexperts%20%28MoE%29%20model%20%2C%20you%20can%20end%20up%20adding%20GPUs%20just%20to%20fit%20the%20training%20state.%20LayerStream%2C%20our%20training%20engine%20at%20Nebius%2C%20reduces%20that%20memory%20burden%20so%20more%20of%20your%20GPU%20budget%20goes%20into%20training.&text=On%20the%20same%2016%20NVIDIA%20H200%20GPUs%2C%20Qwen3.8%2DFlash%2DNext%20trained%203.15%26times%3B%20faster%20at%2068%25%20lower%20GPU%20cost%20per%20token%20than%20our%20tuned%20Megatron%2Dbased%20trainer.","source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","publisher":"nebius.com"},{"claim":"","quotes":["LayerStream keeps the optimizer state and saved activations in host memory, and streams each layer’s working state through the GPU only while that layer runs.","Apply each layer’s weight update during the backward pass, overlapping it with the remaining computation.","Retain expensive forward-pass results for the backward pass, and balance work across GPUs."],"cite_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning#:~:text=LayerStream%20keeps%20the%20optimizer%20state%20and%20saved%20activations%20in%20host%20memory%2C%20and%20streams%20each%20layer%E2%80%99s%20working%20state%20through%20the%20GPU%20only%20while%20that%20layer%20runs.&text=Apply%20each%20layer%E2%80%99s%20weight%20update%20during%20the%20backward%20pass%2C%20overlapping%20it%20with%20the%20remaining%20computation.&text=Retain%20expensive%20forward%2Dpass%20results%20for%20the%20backward%20pass%2C%20and%20balance%20work%20across%20GPUs.","source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","publisher":"nebius.com"},{"claim":"","quotes":["LayerStream arranges expert computation so that tokens reach their experts over the fast links inside a node.","Kernels are a separate layer on top of it, tuned for each model and GPU generation. LayerStream builds on open-source and vendor kernel libraries, and we wrote or reworked kernels where profiling showed the time was going: mainly in attention, and in fusing several small operations into one pass.","On H100 and H200, compute takes most of a training step, so faster kernels account for a significant share of the speed-up.","In our B300 runs, large matrix multiplications are rarely the limit; the gains come from fewer copies between host and GPU, communication hidden behind computation, and faster small kernels ."],"cite_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning#:~:text=LayerStream%20arranges%20expert%20computation%20so%20that%20tokens%20reach%20their%20experts%20over%20the%20fast%20links%20inside%20a%20node.&text=Kernels%20are%20a%20separate%20layer%20on%20top%20of%20it%2C%20tuned%20for%20each%20model%20and%20GPU%20generation.%20LayerStream%20builds%20on%20open%2Dsource%20and%20vendor%20kernel%20libraries%2C%20and%20we%20wrote%20or%20reworked%20kernels%20where%20profiling%20showed%20the%20time%20was%20going%3A%20mainly%20in%20attention%2C%20and%20in%20fusing%20several%20small%20operations%20into%20one%20pass.&text=On%20H100%20and%20H200%2C%20compute%20takes%20most%20of%20a%20training%20step%2C%20so%20faster%20kernels%20account%20for%20a%20significant%20share%20of%20the%20speed%2Dup.&text=In%20our%20B300%20runs%2C%20large%20matrix%20multiplications%20are%20rarely%20the%20limit%3B%20the%20gains%20come%20from%20fewer%20copies%20between%20host%20and%20GPU%2C%20communication%20hidden%20behind%20computation%2C%20and%20faster%20small%20kernels%20.","source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","publisher":"nebius.com"},{"claim":"","quotes":["We compare with our production trainer built on NVIDIA’s Megatron-LM and tuned for these models.","LayerStream runs use full fine-tuning in BF16 on a 1,979-conversation subset of the public LongAlign-10k dataset, about 25.8 million tokens with contexts up to 32,768 tokens.","The Qwen and MiniMax comparisons use the same data for both trainers."],"cite_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning#:~:text=We%20compare%20with%20our%20production%20trainer%20built%20on%20NVIDIA%E2%80%99s%20Megatron%2DLM%20and%20tuned%20for%20these%20models.&text=LayerStream%20runs%20use%20full%20fine%2Dtuning%20in%20BF16%20on%20a%201%2C979%2Dconversation%20subset%20of%20the%20public%20LongAlign%2D10k%20dataset%2C%20about%2025.8%20million%20tokens%20with%20contexts%20up%20to%2032%2C768%20tokens.&text=The%20Qwen%20and%20MiniMax%20comparisons%20use%20the%20same%20data%20for%20both%20trainers.","source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","publisher":"nebius.com"},{"claim":"- GLM-5.3-Flash: Nebius reports 2.97× throughput and 78% lower cost per token on 16 B300s versus a 24-B300 baseline, and 3.1× throughput and 80% lower cost on 32 H100s versus that 24-B300 baseline.","quotes":["On the same 16 NVIDIA H200 GPUs, Qwen3.8-Flash-Next trained 3.15&times; faster at 68% lower GPU cost per token than our tuned Megatron-based trainer.","On the same 16 NVIDIA H200 GPUs, Qwen3.8-Flash-Next completed a pass over our 25.8-million-token dataset in 7.1 minutes instead of 22.4 ."],"cite_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning#:~:text=On%20the%20same%2016%20NVIDIA%20H200%20GPUs%2C%20Qwen3.8%2DFlash%2DNext%20trained%203.15%26times%3B%20faster%20at%2068%25%20lower%20GPU%20cost%20per%20token%20than%20our%20tuned%20Megatron%2Dbased%20trainer.&text=On%20the%20same%2016%20NVIDIA%20H200%20GPUs%2C%20Qwen3.8%2DFlash%2DNext%20completed%20a%20pass%20over%20our%2025.8%2Dmillion%2Dtoken%20dataset%20in%207.1%20minutes%20instead%20of%2022.4%20.","source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","publisher":"nebius.com"},{"claim":"- MiniMax-M3.1-Flash: Nebius reports 1.08× throughput and 56% lower cost per token on 32 H100s versus a 32-B300 baseline.","quotes":["For GLM-5.3-Flash, 16 B300 GPUs delivered 2.97&times; the throughput of a 24-B300 baseline at 78% lower GPU cost per token.","The GLM throughput and cost comparisons below use a Megatron-based baseline from the training phase of a reinforcement-learning run on different data with an RL loss. Batch sizes also differ. Treat them as configuration comparisons, not a controlled same-data measurement.","Applying those throughput rates to a 25.8-million-token workload gives about 5 minutes and USD 13 in GPU time, versus about 17 minutes and USD 64. These estimates use the different-data GLM baseline described above."],"cite_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning#:~:text=For%20GLM%2D5.3%2DFlash%2C%2016%20B300%20GPUs%20delivered%202.97%26times%3B%20the%20throughput%20of%20a%2024%2DB300%20baseline%20at%2078%25%20lower%20GPU%20cost%20per%20token.&text=The%20GLM%20throughput%20and%20cost%20comparisons%20below%20use%20a%20Megatron%2Dbased%20baseline%20from%20the%20training%20phase%20of%20a%20reinforcement%2Dlearning%20run%20on%20different%20data%20with%20an%20RL%20loss.%20Batch%20sizes%20also%20differ.%20Treat%20them%20as%20configuration%20comparisons%2C%20not%20a%20controlled%20same%2Ddata%20measurement.&text=Applying%20those%20throughput%20rates%20to%20a%2025.8%2Dmillion%2Dtoken%20workload%20gives%20about%205%20minutes%20and%20USD%2013%20in%20GPU%20time%2C%20versus%20about%2017%20minutes%20and%20USD%2064.%20These%20estimates%20use%20the%20different%2Ddata%20GLM%20baseline%20described%20above.","source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","publisher":"nebius.com"},{"claim":"","quotes":["GPU cost uses Nebius on-demand rates dated November 16, 2026."],"cite_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning#:~:text=GPU%20cost%20uses%20Nebius%20on%2Ddemand%20rates%20dated%20November%2016%2C%202026.","source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","publisher":"nebius.com"},{"claim":"","quotes":["The GLM throughput and cost comparisons below use a Megatron-based baseline from the training phase of a reinforcement-learning run on different data with an RL loss. Batch sizes also differ. Treat them as configuration comparisons, not a controlled same-data measurement.","From the first update on, the Megatron-based run stays within 0.003 of LayerStream at every step, as close as two LayerStream runs are to each other.","Separate matched-data checks show closely matching loss over one epoch. They do not establish equivalent downstream quality or longer-term convergence."],"cite_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning#:~:text=The%20GLM%20throughput%20and%20cost%20comparisons%20below%20use%20a%20Megatron%2Dbased%20baseline%20from%20the%20training%20phase%20of%20a%20reinforcement%2Dlearning%20run%20on%20different%20data%20with%20an%20RL%20loss.%20Batch%20sizes%20also%20differ.%20Treat%20them%20as%20configuration%20comparisons%2C%20not%20a%20controlled%20same%2Ddata%20measurement.&text=From%20the%20first%20update%20on%2C%20the%20Megatron%2Dbased%20run%20stays%20within%200.003%20of%20LayerStream%20at%20every%20step%2C%20as%20close%20as%20two%20LayerStream%20runs%20are%20to%20each%20other.&text=Separate%20matched%2Ddata%20checks%20show%20closely%20matching%20loss%20over%20one%20epoch.%20They%20do%20not%20establish%20equivalent%20downstream%20quality%20or%20longer%2Dterm%20convergence.","source_url":"https://nebius.com/blog/posts/layerstream-moe-fine-tuning","publisher":"nebius.com"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:layerstream-faster-moe-fine-tuning-on-fewer-or-46a892","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/layerstream-faster-moe-fine-tuning-on-fewer-or-46a892/","markdown":"https://newruntime.com/posts/layerstream-faster-moe-fine-tuning-on-fewer-or-46a892.md","json":"https://newruntime.com/posts/layerstream-faster-moe-fine-tuning-on-fewer-or-46a892.json"},"markdown_url":"https://newruntime.com/posts/layerstream-faster-moe-fine-tuning-on-fewer-or-46a892.md","next_reads":[{"type":"topic","path":"/topics/models/","url":"https://newruntime.com/topics/models/","title":"Models","reason":"Explore the models topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/models.md","json_url":"https://newruntime.com/topics/models.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
