Repository navigation
Conversation
|
/ok to test a08d53b |
|
/ok to test 0bc49d9 |
|
/ok to test e7df86c |
|
Hi @terrykong, could you help review this PR when you get a chance? Thanks! |
yuki-97
left a comment
There was a problem hiding this comment.
hi @sharonyu-115 , thanks for the fix! could you help to check whether the fix still works based on r0.8.0 branch (vLLM 0.29.0)?
FYI we have similar fail tests number for vLLM 0.26.0 and 0.29.0, so we decided to release with vLLM 0.29.0, so that people only need to focus on fixing on vLLM 0.29 instead of need to fix both.
Hi @yuki-97 Thanks for the review and the information. I've verified on r0.8.0 at Both native checks passed:
No generation hang or collective timeout occurred. This confirms the proposed recipe setting works on r0.8.0 with vLLM 0.29.0. Log of the run |
GLM-5.1 generation with TP=32 and EP=128 hangs in DP synchronization when vLLM 0.26 RayExecutorV2 uses asynchronous scheduling. Zero-token steps can skip the worker collective while another engine runs a dummy forward. Set async_scheduling=false in this recipe while retaining the default Ray V2 executor. Document the workaround and upstream tracking issue. Validated the equivalent CLI override with the unchanged 20-step nightly test on 64 nodes / 512 H100 GPUs, without a local vLLM patch (job 19511299). Both native metric checks passed. The async-enabled control timed out before completing step 1 (job 19500601). Signed-off-by: Shuang Yu <[email protected]>
3ec8759 to
f39fad6
Compare
|
/ok to test f39fad6 |
|
Hi @yuki-97 I've updated this PR to based on the r0.8.0 branch with the cherry-pick-to-main label. |
yuki-97
left a comment
There was a problem hiding this comment.
sounds good! thanks @sharonyu-115
What does this PR do ?
This is to address v0.8.0 release test failure: RL-1291
Disable vLLM asynchronous scheduling in the GLM-5.1 64-node GRPO recipe to avoid a generation hang with TP=32, EP=128 (vLLM DP=4). The default Ray V2 executor remains enabled.
With vLLM 0.26 and above, the async-enabled test stalled before completing its first training step and eventually timed out in Gloo DP synchronization (
execute_dummy_batch -> _dummy_run -> coordinate_batch_across_dp). The shared model runner can skip DP collective participation on a zero-token scheduled step. Disabling async scheduling avoids the reproduced failure without patching vLLM.Issues
Related upstream defect: vllm-project/vllm#43547
Proposed upstream fix: vllm-project/vllm#44601
This is a recipe workaround; it does not repair the underlying vLLM collective-participation bug.
Usage
Run the existing
tests/test_suites/llm/grpo-glm5.1-64n8g-megatron.shtest. The recipe now setspolicy.generation.vllm_kwargs.async_scheduling: false; no executor environment override is needed.Before your PR is "Ready for review"
config_cli.py minimize-checkfor this recipe, andgit diff --checkpassed.Additional Information
Validation used the September 26 nightly image (vLLM 0.26.0) and NeMo-RL snapshot
4aaa48fabd178a4bf481e52c49e9125995e0f2a8on 64 nodes / 512 H100 GPUs. All comparisons below used the original vLLM code, without the local empty-step fix.For job 19511299, mean
train/gen_kl_error= 0.00292111603776 (< 0.01), and maxtrain/reward= 0.875 (> 0.1). The successful run applied the equivalent CLI override++policy.generation.vllm_kwargs.async_scheduling=false; the recipe now makes that setting explicit.This branch is based on upstream main
44903f51bee0aa5733e958eafd2a0c7cfe69384a. The target recipe was unchanged between the tested snapshot and this base before applying the setting. Full training validation was on the pinned snapshot, rather than a new full run of current main.Disabling async scheduling may reduce overlap between scheduling and GPU execution. No throughput improvement is claimed.