Unsloth and NVIDIA Collaborate to Speed Up LLM Training by ~25%

Unsloth's collaboration with NVIDIA yields a ~25% training speedup (no accuracy loss) by implementing three key optimizations: caching packed-sequence metadata, double-buffered async gradient checkpointing, and MoE routing improvements. These are auto-enabled on RTX laptops, data center GPUs, and DGX Spark with an Unsloth update.
Caching Packed-Sequence Metadata
Packed training concatenates short examples to avoid padding waste. Each transformer layer previously rebuilt the same sequence metadata (lengths, cu_seqlens, max_seqlen, mask structure) from scratch, causing device-host synchronization overhead. By caching the metadata once per batch and reusing it across layers, Unsloth reduces repeated work.
Benchmarks on Qwen3-14B QLoRA SFT show:
- Forward pass: +43.3% faster
- Backward pass: +5.8% faster
- Overall per batch: +14.3% faster
A microbenchmark on NVIDIA Blackwell GPUs measured the dominant mask-construction cost at ~13.7 ms per packed batch. For Llama-3.2-1B (16 layers), this translates to ~199 ms saved per step (11.5% lower); for Qwen3-0.6B (28 layers), ~319 ms saved (14.8% lower).
Double-Buffered Async Gradient Checkpointing
Async gradient checkpointing overlaps recomputation with computation. This gives an 8% speedup without impacting accuracy.
MoE Routing: argsort + bincount
For MoE models, using torch.argsort and torch.bincount instead of custom kernels speeds up gpt-oss training by 15%.
All optimizations are auto-enabled on supported hardware. Update Unsloth to get them.
📖 Read the full source: HN LLM Tools
👀 See Also

LobsterBoard adds theme system and template gallery
LobsterBoard now includes a theme system with five visual options and a template gallery that allows users to export and import dashboard layouts with automatic sensitive data stripping.

KubeShark: A Kubernetes Skill for Claude Code and Codex to Catch Hallucinated YAML
KubeShark is a failure-mode-first Kubernetes skill for Claude Code and Codex that catches deprecated APIs, misconfigured probes, broken selectors, and other common AI-generated mistakes before they hit production.

Stockade: A New Orchestration Tool for Claude Code with Channel Support and Security Layers
Stockade is an orchestration tool built around Anthropic's Agent SDK that provides channel-based session management, RBAC, and fine-grained permissions for AI agents. It addresses limitations in OpenClaw and NanoClaw by offering more control while maintaining security through containerization and credential proxies.

Two Claude Code Skills for Managing CLAUDE.md Configuration
A developer built two Claude Code skills to handle CLAUDE.md configuration: /cc-init creates lean configs for new projects, and /cc-optimize analyzes existing projects for bloat and issues. Both aim to reduce context overhead and improve instruction following.