Axolotl 0.21.1 release notes
Axolotl 0.21.1 was released on October 27, 2026. It is the latest version.
Release notes
Axolotl v0.21.1 Release Notes
45 commits since v0.21.0 (October 16, 2026).
This release makes long LoRA runs on large MoEs like Beam smoother, and includes a security update for the compromised eMudhra intermediate CAs.
We also added merge-aware LoRA for RL, per-group eval metrics, and full-turn labeling for tool-calling SFT, and fixed several bugs that trained silently on the wrong loss, activation, or gradients.
Highlights
Checkpoint Mirroring and Save Retries
You can now save checkpoints to fast local storage and keep training while they copy to shared storage in the background, and a save that hits a full disk pauses and retries so you can free space.
Set checkpoint_mirror and checkpoint_save_retry. Read the guide.
- Contributed by @winglian in #4184.
Sharded LoRA Adapter Checkpoints
You can now checkpoint FSDP2 LoRA and QLoRA runs without a rank 0 gather, cutting a Beam EP=8 checkpoint stall from about 2:20 to 11.6 s.
Set adapter_checkpoint_format: sharded; examples are in examples/expert_parallel/.
- Contributed by @winglian and @NanoCode012 in #4188.
Heads up: EP checkpoints saved model-only or sharded can no longer be resumed by older Axolotl versions.
Per-Group Eval Metrics
You can now track eval metrics per domain or task, such as eval/math/loss, alongside the aggregate.
Add eval_name to your test_datasets entries. Check the docs.
- Contributed by @winglian in #4177.
Full-Turn Labeling for Tool-Calling SFT
You can now train the whole assistant turn on Harmony-style templates, including the channel headers the default labeling left untrained.
Set generation_tags: true on a chat_template dataset. Tool results with only a tool_call_id also no longer fail to render. Learn how it works.
- Contributed by @winglian and @NanoCode012 in #4178, and @winglian in #4174.
Merge-Aware BF16 LoRA for RL
You can now train LoRA RL on exactly the BF16-rounded weights a merged vLLM sync serves. On Qwen3-0.6B-Base it reached standard LoRA's step-100 MATH-500 accuracy by about step 82.
Set lora_merge_aware: bf16. Merged-sync runs also now log how much of each LoRA update survives the rounding (trl.vllm_merge_check_interval, on by default). Read more.
- Contributed by @winglian in #4216.
Performance & Kernel Optimizations
- SonicMoE autotune (#4198 by @winglian): new routed row counts now reuse a power-of-two bucket's winner by default instead of starting a fresh 40 to 76 candidate sweep mid-run.
quack_autotune: falseskips sweeps, andautotune_profilescan pin quack configs. - SonicMoE EP row padding and LoRA split (#4198 by @winglian): opt-in high-water row padding and local-pair compaction for EP, and experimental
sonicmoe_lora_splitto run expert LoRA as separate low-rank GEMMs. - FA4 on Blackwell with
nvidia-cutlass-dsl>=4.6.2(#4187 by @winglian): runs no longer fall back silently to FA2, which is about 2 to 2.5x slower on attention at Beam's shapes. - FA4 attention savable under selective checkpointing (#4191 by @winglian):
save: [attention]previously recomputed it anyway. - Faster NVFP4 LoRA merges (#4175, #4199, #4205 by @winglian): chunked expert merges, reordered tensors with opt-in
merge_compile, and batched pinned transfers. A rank-128 merge into Beam is at least 27% faster with 8 GB less peak memory (#4199).
New Features
- Activation offloading without gradient checkpointing, and in GRPO (#4142 by @winglian and @NanoCode012):
gradient_checkpointingnow decides whether layers recompute, with or without an adapter. tree-recurrencepackage (#4214, #4217 by @winglian): a standalone package (pip install tree-recurrence) that lets TRL's prefix-shared tree packing handle hybrid recurrent models like Qwen3.5 and Nemotron-H. Axolotl does not use it yet.- Multi-node
axolotl vllm-serve(#4212 by @NanoCode012): one vLLM server can span several nodes withvllm.nnodes,vllm.master_addr, and--node-rank. Read the guide. label_keep_prob(#4181 by @winglian): randomly drops the labels of chosen token ids during SFT.- CoreWeave CKS
host_paths(#4180 by @winglian): loadbase_modelfrom node-local NVMe instead of the shared PVC. - Readable label-balancing logs (#4176 by @winglian): a short before/after summary at INFO.
Documentation
- Corrected
check_intervaldefault for dynamic checkpoints (#4147 by @NanoCode012), and fixed example sub-page links (#4167 by @NanoCode012).
Model & Framework Support
🚨 Deprecations
activation_offloading: legacyis now a deprecated alias oftrue, anddisk(withgradient_checkpointing: offload_disk) is rejected, since it never offloaded to disk (#4142 by @winglian and @NanoCode012).
Dependency Updates
- cut-cross-entropy v0.1.1 → v0.2.0 (#4204 by @NanoCode012): ports Liger's CE kernel fixes, refreshes every patch for transformers 5.20.1, fixes remote-code patching, and adds patches for several models.
- liger-kernel 0.8.4 → 0.8.5 (#4211 by @NanoCode012), replacing Axolotl's custom DeepSeek-V2 patch with Liger's native one.
- certifi >=2026.10.19 and refreshed
ca-certificatesin the Docker images (#4192 by @NanoCode012). Upgrade, or pull the new images. - axolotl-ringmaster >=0.2.6 → >=0.2.7 (#4207 by @winglian), fixing an intermittent context-parallel failure when the Hub is unreachable.
- New
axolotl[blackwell]extra pinning FA4 and quack (#4207 by @winglian).
Bug Fixes
Heads up: the CCE plugin now raises at load time for models with a logit softcap or scale and no dedicated CCE patch (#4182).
- Activation offloading corrupted gradients (#4142 by @winglian and @NanoCode012): DPO and KTO on the pinned TRL 1.14.1 got wrong gradients or CUDA illegal memory accesses.
- LoRA GRPO's merged vLLM sync drifted the frozen base weights (#4213 by @winglian): each merge/unmerge round trip in BF16 changed some entries (1.5% after 200 syncs at lr 1e-5). The base is now restored exactly.
lora_fp32_gradientstrained in BF16 for RL trainers under FSDP (#4215 by @winglian).- CCE's generic patch skipped logit softcapping (#4182 by @winglian and @NanoCode012): Beam's step-0 eval loss read about 3.4 instead of 0.79.
- Fused LoRA GEGLU kernel used exact GELU on tanh-GELU models like Gemma (#4189 by @NanoCode012).
- SinkGD under pure expert parallelism crashed or skipped the cross-rank reduce (#4161 by @winglian).
- Saved
generation_confignow stops oneot_tokens(#4152 by @NanoCode012). - Null optional dataset fields no longer crash or mis-render across prompt strategies (#4183 by @mottopanikeiku and @NanoCode012, #4196 by @NanoCode012), and
field_toolsis now honored (re-run preprocess if you set it). - K2 Horizon turn labeling no longer crashes; every assistant turn needs a thinking field (#4190 by @NanoCode012).
- Non-EP NVFP4 SonicMoE experts with quack 0.6.5 (#4198 by @winglian).
- Gemma 4 NVFP4 MoE on B200 crashed on DeepGEMM's 128-multiple size check and now falls back to Marlin (#4207 by @winglian).
- Smaller fixes (#4147 by @NanoCode012):
llama2_chatlabel alignment, TP model saves, therl_betacheck, andpolorawith ReLoRA.
Infrastructure
- Faster CI (#4202 by @NanoCode012): coverage's
sysmoncore halves the wait before GPU tests start, from 52 to 26 minutes. - Test suite cleanup (#4147 by @NanoCode012), removing about 2,900 lines of stale tests.
- New images: a torch 2.15.0 RC base image (#4208 by @winglian), and base images now ship apache-tvm-ffi, cutlass-dsl, and nvshmem (#4200 by @winglian).
- Blackwell CI (#4201, #4207 by @winglian): a single-B200 lane for SM100-only tests, DeepEP built and tested in CI, and fixes for failing B200 and multi-GPU lanes.
- Agent guidance against prompt injections in review comments (#4206 by @winglian).
- GLM DSA capacity tests now use real
nn.Moduleexperts, fixing two kernel CI failures (#4179 by @winglian). - GitHub Actions bumps (#4171, #4172, #4173 by @dependabot):
setup-uv10.3.0,download-artifact8.0.2, andupload-artifact7.0.2.
New Contributors
- @mottopanikeiku made their first contribution in #4183
Full Changelog: https://github.com/axolotl-ai-cloud/axolotl/compare/v0.21.0...v0.21.1
Source: GitHub release v0.21.1