Axolotl 0.21.0 sürüm notları
Axolotl 0.21.0 sürümünün yayın tarihi 16 Ekim 2026. En güncel sürüm 0.21.1.
Orijinal sürüm notları
Axolotl v0.21.0 Release Notes
59 commits since v0.20.0 (September 30, 2026).
This release is headlined by Reflection's Beam, a 501B-parameter MoE you can QLoRA-tune on a single node. We also added native diffusion language model training, image datasets for DPO, KTO, and GRPO, and optimizations for the training loop.
Highlights
Reflection Beam
You can now fine-tune Reflection's Beam, a 501B-parameter MoE with 23B active parameters, using QLoRA on a single 8xH200 node.
QLoRA configs ship for FSDP2 and device_map, plus expert-parallel LoRA recipes for B200 in bf16, NVFP4, and NF4. Get started with the Beam guide.
- Contributed by @HamidShojanazeri and @winglian in #4148, and @NanoCode012 in #4163.
Native Diffusion LM Training
You can now fine-tune diffusion language models (Nemotron-Labs-Diffusion 3B and 8B, Dream v0, and DiffusionGemma) with a top-level diffusion_lm: block and your usual chat datasets, no plugin required.
examples/nemotron-diffusion/lora-smoke.yaml is a 3B LoRA starting point. Read more.
- Contributed by @winglian in #4113.
Typed-Decision Training on Diffusion LMs
You can now train a diffusion LM to fill typed decisions (labels, distributions, label sets, soft scores) at fixed slots, including image-grounded decisions on Nemotron-Labs-Diffusion-VLM-8B.
Enable DiffusionDecisionPlugin and start from the 8B text and VLM recipes in examples/nemotron-diffusion/. Learn how it works.
- Contributed by @winglian in #4117, #4126, #4127, and #4130.
Multimodal DPO, KTO, and GRPO
You can now run DPO, IPO, KTO, GRPO, and GDPO on image datasets with vision-language models such as Qwen, SmolVLM2, and Gemma.
axolotl vllm-serve also now runs vLLM's native OpenAI-compatible server. Check the docs.
- Contributed by @NanoCode012 in #4039, with @ved1beta and @winglian.
Heads up:
vllm>=0.30.0is now required.
Context Parallelism Under DeepSpeed
You can now set context_parallel_size alongside deepspeed:, which maps onto DeepSpeed's Ulysses implementation.
Qwen3.5 and Qwen3-Next gated-delta layers also move to Ringmaster's context-parallel kernel interface and now trace under torch.compile. Read the guide.
- Contributed by @winglian in #4091, and @thad0ctor and @winglian in #4102.
Plugins That Load Themselves
You can now ship an Axolotl plugin or model-support profile as a pip package, registered through the axolotl.plugins or axolotl.model_support entry points, with no plugins: entry needed.
Context and expert parallelism now load this way, so EP configs no longer list a plugin. Learn how to publish one.
- Contributed by @winglian in #4089.
Performance & Kernel Optimizations
- Fewer host-device syncs (#4143 by @winglian and @NanoCode012): packed flash-attention LoRA on Llama-3.1-8B now pays 1 sync per micro-step instead of 390, and Qwen3-8B LoRA trains about 8% faster in eager mode.
- FlashAttention varlen metadata precomputed in the collator for compiled packed runs (#4100 by @thad0ctor and @winglian), now on for every packed run (#4143).
- Faster large-MoE loading (#4151 by @winglian): fused-expert conversion on a 500B-class MoE dropped from about 20 to 6 minutes.
- Kernel autotune caching (#4151 by @winglian):
autotune_cache_path,autotune_profiles, andautotune_neighborhoodstop EP ranks from re-benchmarking mid-run, and the default search space is smaller (#4116 by @winglian). - Context-parallel shards cut in the collator (#4144 by @winglian), removing a per-step broadcast.
Heads up: gradient checkpointing now defaults to non-reentrant (except DeepSpeed ZeRO-3), FSDP2 keeps LoRA modules inside their decoder layer's unit (#4143), and packing capacity now follows the effective batch size (#4136).
New Features
- CoreWeave (#4150 by @winglian and @NanoCode012): launch training on SUNK or CKS with
axolotl train --cloud, publish checkpoints to Dedicated Inference, and run GRPO rollouts there. Setup guide. balance_labels(#4136 by @winglian): balances supervised tokens across batches and optimizer steps, cutting per-step label stddev from 990 to 322 on FineTome.- Staged NF4 QLoRA under expert parallelism (#4151 by @winglian).
- Fused LoRA kernels for DPO, IPO, and KTO (#4151 by @winglian): previously crashed, they now attach after TRL wraps the adapter.
dpo_ld_alpha(#4165 by @winglian): LD-DPO length desensitization, so longer responses stop winning pairs on token count alone. Liger DPO also no longer rejectsipoor warns on multiple loss types.sync_profiler_steps(#4143 by @winglian and @NanoCode012): counts host syncs per micro-step by call site.optimizer: muon_8bit(#3983 by @ved1beta).- Diffusion decision follow-ups (#4158 by @winglian), including Nemotron-Labs-TwoTower and DiffusionGemma ScatterMoE and NVFP4 paths.
- Beam H100 autotune profiles (#4159 by @winglian).
- Multi-turn synthetic datasets (#4087 by @winglian):
min_turns/max_turnsshape synthetic rows like chat or agentic traces. - Node-local expert parallelism (#4091 by @winglian): EP all-to-all stays within a node when
ep × tpfits, and routed-expert LoRA can resume on an EP-sliced model. full_determinism(#4110 by @winglian), with model initialization now seeded fromseed.- cuDNN attention in selective checkpointing (#4084 by @winglian).
Documentation
- Flash attention without
flash_attn(#4149 by @winglian): FA2/3/4 resolve to Hub kernels, so the packages are optional. - Offline and air-gapped deployment guide (#4105 by @winglian).
- Nebius CLI authentication (#4164 by @SalikovAlex): the guide now uses
nebius profile createinstead of the nonexistentnebius auth login. - AI-assisted contribution policy (#4096, #4106 by @winglian), and September README updates (#4101 by @winglian).
Model & Framework Support
🚨 Deprecations
axolotl[flash-attn]extra removed (#4108 by @winglian): Flash Attention 2 now comes from Hub kernels.diffusion:andDiffusionPlugindeprecated in favor ofdiffusion_lm:(#4113 by @winglian); legacy configs are translated with a warning.- Legacy
axolotl.scripts/trl.scriptsvalues forvllm.serve_moduleandvllm.worker_extension_clsignored (#4039 by @NanoCode012), falling back to vLLM's native server with a warning. - GRPO
SequenceParallelclasses renamed toContextParallel(#4091 by @winglian), with deprecated aliases kept.
New Model Support
- GLM-5.3-Flash (#4077 by @ved1beta).
Dependency Updates
- transformers 5.17.0 → 5.20.1, peft 0.21.0 → 0.21.2, tokenizers 0.23.1 → 0.23.3, and kernels 0.16 → >=0.17.2 (#4097, #4157 by @winglian, #4163 by @NanoCode012).
- huggingface_hub 1.18.0 → >=1.31.0, trl 1.13.0 → 1.14.1, datasets 4.8.4 → 5.0.1, liger-kernel 0.8.1 → 0.8.4, mistral-common 1.11.5 → 1.12.0, hf_xet 1.4.3 → >=1.5.2, and trackio 0.19.0 → 0.40.0 (#4097 by @winglian). TRL's removed PRM trainer is now vendored so process reward models keep working.
- gradio 6.10.0 → 6.29.1 (#4039 by @NanoCode012).
- torch
<2.15.0for torch 2.14.1 (#4124 by @winglian). - axolotl-ringmaster >=0.2.2 → >=0.2.6 (#4090, #4102, #4144 by @winglian).
- pydantic 2.12.5 → 2.13.5 and ray[train] >=2.52.1 → >=2.59.0 (#4117 by @winglian).
- New
axolotl[coreweave]extra (#4150 by @winglian and @NanoCode012).
Bug Fixes
- SonicMoE EP silently ignored the expert LoRA on NVFP4 (#4151 by @winglian): runs trained attention LoRA only.
- EP checkpoint resume overwrote other EP groups' expert weights and optimizer state (#4114 by @winglian and @NanoCode012, #4134 by @winglian); restores now also validate shapes before copying.
- FSDP2 QLoRA
FULL_STATE_DICTsaves crashed with quantized MoE experts (#4114 by @winglian and @NanoCode012, fixes #4080). - Context parallelism could pick schedules that break sliding-window and chunked attention masks (#4090 by @winglian).
- LoRA adapters saved empty under FSDP2 activation checkpointing (#4091 by @winglian).
- LoRA+ dropped
embedding_lr, and LoRA merge dropped trainable-token rows (#4110 by @winglian). - QLoRA merge quantized the wrong modules (#4120 by @NanoCode012).
- New validation errors (#4151 by @winglian):
nvfp4_merge_awarewithuse_scattermoe, andquantize_moe_expertswithuse_sonicmoe. - MoE and preference fixes (#4151 by @winglian): an int32 overflow in NF4 dequant on large MoEs,
axolotl evaluateunder FSDP2, andreasoning_contentin DPO and ORPO datasets. - Tied embeddings and embedding LoRA broke under autocast and
peft_ensure_weight_tying(#4139 by @winglian). - FSDP2
cpu_ram_efficient_loadingwith activation checkpointing raisedKeyError(#4118 by @ved1beta, fixes #4079), a regression from #4045. eval_strategy: noignored (#4110 by @winglian): it is now honored and disableseval_on_start.- EP and loader fixes (#4091 by @winglian): NVFP4 experts under pure EP, and
max_memorydevice maps keep decoder layers whole. - GLM-4.7-Flash examples targeted the wrong attention projections (#4076 by @ved1beta): they now target the MLA projections, and
lora_qkv_kernel/lora_o_kernelraise a clear error on unsupported layouts. - Example configs missing end-of-turn tokens (#4145 by @NanoCode012, fixes #4128).
Infrastructure
- torch 2.14.1, CUDA 13.0.3, and Ubuntu 24.04 images (#4115, #4124 by @winglian, #4146 by @NanoCode012);
latesttags now point at Python 3.14 + torch 2.14. - CI lanes reworked (#4085, #4095, #4107, #4108, #4111, #4123 by @winglian): GPU tests run after CPU tests pass, and dependency bumps only run affected e2e tests.
- Upkeep (#4083, #4098 by @NanoCode012, #4112, #4162 by @winglian, #4103, #4137, #4138 by @dependabot, #3637 by @github-actions).
New Contributors
- @HamidShojanazeri made their first contribution in #4148
Full Changelog: https://github.com/axolotl-ai-cloud/axolotl/compare/v0.20.0...v0.21.0
Kaynak: GitHub sürümü v0.21.0