v0.8.3
v0.8.3 — Critical Bug Fixes
8 bugs fixed across PPO, GRPO, checkpoint saving, and environment propagation. All 4 algorithms (SGRPO, GSPO, CISPO, PPO) verified end-to-end with Qwen2.5-0.5B-Instruct. 68/68 unit tests pass.
Critical Fixes
- PPO gradient leakage: detach
hidden_statesinvalue_forward()to prevent value loss gradients corrupting policy parameters - PPO mask validation: relax validation to allow legitimate 0→1 transitions at prompt-response boundary
Crash Fixes
- Ray ObjectRef auto-resolution: use
state_dictdirectly instead of callingray.get()on already-resolved references - Safetensors shared tensors: clone tied embeddings (e.g. Qwen2.5
lm_head/embed_tokens) before saving - CUDA_HOME propagation: forward to Ray workers so DeepSpeed compiles correctly
- VLLM_USE_V1=0 propagation: prevent V1 engine OOM in rollout workers
Other Fixes
- Save
config.jsonfrom driver after popping it from state_dict - Fix
grpo_test.yamldata path
New
- Test configs for all algorithms (SGRPO, GSPO, CISPO, PPO)
- GSM8K mini datasets for fast validation runs