Repository navigation
[rl] fix CI timeout issue by properly tear down for vllm engine V2 - #3365
Conversation
|
Current RL CI failure is the same as main CI failure, we can wait for next PyTorch nightly which should contain the fix |
|
the error i got was that |
Is the error you got before this PR or after this PR? I'm postpone landing this PR and waiting for the CI to turn green. But now we are blocked by https://download.pytorch.org/whl/nightly/vllm/ vllm nightly is not built recently |
| We intentionally skip ``cleanup_dist_env_and_memory()`` here: | ||
| with ``external_launcher``, vLLM reuses the process group that | ||
| Monarch created. Destroying it here would prevent Monarch's | ||
| ``mesh.stop()`` from completing its own collective teardown. |
There was a problem hiding this comment.
In my observation, the hang happened at this cleanup_dist_env_and_memory step. The script never reached mesh.stop().
There was a problem hiding this comment.
Thanks, yes, so the solution is skip cleanup_dist_env_and_memory() , and let mesh.stop() handles shutdown
Records 8b14712 (2 commits, 52a292d..cfe97c6). Both touch experiments/rl/ exclusively: cfe97c6 — [rl] use wandb=False in CI (pytorch#3408) 2057b56 — [rl] fix CI timeout: vllm engine V2 teardown (pytorch#3365) ezpz does not subclass the upstream RL actors, so zero replay needed. Build state identical to the 35th sync verification.
RL integration test failure because of timeout.