Skip to content

v0.3.1

Latest

Choose a tag to compare

@zhuzilin zhuzilin released this 06 Aug 11:38
a6272da

We are excited to announce the release of slime v0.3.1!

Unlike previous releases, v0.3.1 does not focus on major new features. As increasingly capable AI agents further improve our engineering productivity, we are now able to revisit and remove many compromises that were previously difficult to address. This release brings improvements across memory efficiency, training performance, weight updates, rollout alignment, and system robustness.

Some noteworthy improvements include:

  • More memory-efficient colocated training

    • Reduced Megatron offload overhead by optimizing world-group offloading.
    • Added support for PYTORCH_ALLOC_CONF, including expandable_segments:True.
    • Added --release-train to release and reload training workers between iterations, leaving more GPU memory available for rollout inference and HiCache.
  • Faster and more flexible weight updates

    • Optimized the weight-update path and parallel update_from_disk.
    • Added faster raw Hugging Face checkpoint saving with node-level writers.
    • Fully supported --rollout-external-engine-addrs and zero-GPU rollout-router startup.
    • Improved disaggregated rollout with disk-level delta weight synchronization and engine-side /pull_weights.
  • Better rollout and training alignment

    • Added top-p masking so training can reproduce the effective sampling distribution used during rollout.
    • Improved prefill-decode disaggregation support for R3 routed experts.
  • Better training performance

    • Fused PPO logprob and entropy computation and optimized the vocabulary-parallel operators to reduce memory usage.
    • Added FLOPs-balanced micro-batching to better balance variable-length samples across microbatches.
    • Overlapped data loading with SGLang initialization to reduce startup overhead.
  • Miscellaneous improvements

    • Continued improving coding-agent RL, rollout hooks, CI, documentation, and distributed-training stability.
    • Internalized the necessary model-conversion components and removed Megatron Bridge support to simplify the slime codebase. For broader model support, we recommend using radixark/miles.

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.3.1