verl
verl copied to clipboard
fully_async, Qwen3-32B, hccl_checkpoint_engine.py report "OOM" Randomly
System Info
When using the fully asynchronous mode of verl to train Qwen3-32B with the Megatron backend at a sequence length of 8K+8K, the HCCL file randomly reports out-of-memory (OOM) errors. We suspect there may be a memory leak. We have already enabled recomputation, parameter offloading, reduced batch size, etc., but the issue still occurs randomly. Sometimes it happens in the very first step, sometimes at step 15, and sometimes after 50+ steps — it is quite unpredictable.
Additional note: Previously, in on-policy mode, a batch size of 64 worked fine, but now even a batch size of 4 causes errors. The number of NPU cards and resources remains the same.
Information
- [ ] The official example scripts
- [ ] My own modified scripts
Tasks
- [ ] An officially supported task in the
examplesfolder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below)
Reproduction
Qwen3-32B,8K + 8K, will report
Expected behavior
no oom