Repository navigation
Highlights
- Online training: add PPO with a value-model critic and GAE, configurable DAPO controls, rollout weight versioning, cross-GPU replicas, and multi-process DDP rollout support.
- Distributed training: add plan-driven tensor parallelism and context parallelism for long sequences.
- Inference: reorganize the engine into frontend, core, and worker layers; add token-budget chunked prefill, serving overlap, and lower-overhead decode scheduling.
- Models and checkpoints: add Gated DeltaNet attention with CUDA kernels and end-to-end loading of hybrid Hugging Face text checkpoints.
- CUDA and optimization: expand FP8 training and quantized GEMM support, improve Muon Newton-Schulz kernels, and reduce cross-entropy and rollout memory use.
- Evaluation and packaging: add MBPP and HellaSwag evaluation, checkpoint watching and result collection, plus Linux and Windows CUDA wheel builds.
Fixes
- Keep online rollout samples consistent with the published policy version and save checkpoints after optimizer steps.
- Correct causality with two-dimensional padding masks and keep MoE expert routing consistent.
- Address CUDA kernel installation, FP8 scaling, and several training and inference correctness issues.
Compatibility notes
- The private
_C_symmetricextension has been consolidated into_C_newton_schulz. Code importing the old native module directly must update its import. - Inference and extension internals have been reorganized. Review custom integrations that import private module paths.
- The package requires Python 3.12 or newer and declares PyTorch 2.11.0. Release wheels are built with CUDA 13.0.
Thanks to all contributors, including the first-time contributors recognized in the GitHub comparison.
Full changelog: v1.3.13...v1.4.0