Skip to content

v0.3.0

Latest

Choose a tag to compare

@zhuzilin zhuzilin released this 31 May 10:43
bf14dc2

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

This release marks a major step toward agent-first reinforcement learning. While slime has supported multi-turn and agentic workloads from early versions, v0.3.0 turns these scattered capabilities into a more coherent foundation: reusable agent components, safer trajectory handling, black-box coding-agent RL examples, fully async training as a first-class path, variable global batch-size training, and lower host-memory usage that enables more flexible rollout-inference configurations.

Major Updates

  • Agent-first slime/agent module

    • Added a dedicated slime/agent module with reusable components for sandbox-based agents, trajectory merging, rollout grouping, and OpenAI/Anthropic-compatible adapters.
  • Black-box coding-agent RL example

    • Added coding_agent_rl, a minimal sandbox-based coding-agent RL example for training agents that interact with real environments through tools, files, commands, retries, and multi-step trajectories.
  • Variable global batch-size training

    • Added support for variable global batch sizes, reducing the need for padding or trimming and better supporting compacted rollouts, filtered samples, subagents, and overlong trajectory handling.
  • Fully async training as a first-class path

    • Moved the fully async training workflow into the main codebase, making it easier to support agent workloads with heterogeneous rollout latency and long-horizon trajectories.
  • Host-memory optimizations

    • Reduced host-memory overhead by removing several large parameter-copy paths and improving memory saver integration, leaving more room for HiCache, offload, rollout buffers, and agent trajectories.
  • PPO refactor and actor-critic colocation

    • Refactored PPO and critic handling, improved value-head/offload paths, and reduced GPU usage through more efficient actor-critic colocation.

Other Notable Changes

  • Added delta weight sync with disk and NCCL transports, moving slime closer to practical disaggregated training/inference deployment.
  • Added FlashQLA backend support for Qwen GDN and improved Qwen3.5 / Qwen3.6 compatibility.
  • Added --save-hf support for raw mode and improved HF checkpoint conversion.

Environment and CI

  • Upgraded SGLang to v0.5.12.post1.
  • Upgraded Megatron to 1dcf0dafa.
  • Added more CPU-only unit tests for faster correctness checks.
  • Added e2e and validation coverage for delta weight update, GPU placement, multi-sample training, server-group GPU indices, and train-rollout log-prob consistency.

What's Changed

New Contributors

Full Changelog: v0.2.4...v0.3.0