Skip to content

fix: fix async vllm nccl fail on dsv3 tp16pp2 and non-colocated on single node - #898

Merged
terrykong merged 2 commits into
mainfrom
yukih/fix-vllm-nccl
Aug 21, 2025
Merged

terrykong merged 2 commits into
mainfrom
yukih/fix-vllm-nccl

Conversation

@yuki-97

@yuki-97 yuki-97 commented Aug 12, 2025 •

Copy link
Copy Markdown
Contributor

What does this PR do ?

The workers under async vllm engine are unable to get os.environ correctly in some scenarios.

This PR fix the following error in these two scenarios by adding the env vars to vllm's ADDITIONAL_ENV_VARS.

  1. set NCCL_NVLS_ENABLE for async vllm fail on dsv3 tp16pp2.
  2. set NCCL_CUMEM_ENABLE for async vllm fail with non-colocated on single node.

Error:

transport/nvls.cc:598 NCCL WARN Cuda failure 1 'invalid argument'

raise RuntimeError(f"NCCL error: {error_str}")
RuntimeError: NCCL error: unhandled cuda error (run with NCCL_DEBUG=INFO for details)

Issues

Related #908.

@yuki-97 yuki-97 changed the title fix: fix async vllm nccl fail in some scenarios fix: fix async vllm nccl fail on dsv3 tp16pp2 and non-colocated on single node Aug 12, 2025
@yuki-97
yuki-97 marked this pull request as draft August 13, 2025 16:41
@yuki-97
yuki-97 marked this pull request as ready for review August 14, 2025 10:00
yfw
yfw previously approved these changes Aug 19, 2025
@yuki-97
yuki-97 force-pushed the yukih/fix-vllm-nccl branch from 910ba63 to ee1c906 Compare August 20, 2025 15:51
@terrykong
terrykong added this pull request to the merge queue Aug 21, 2025
Merged via the queue into main with commit f8fdb5c Aug 21, 2025
@terrykong
terrykong deleted the yukih/fix-vllm-nccl branch August 21, 2025 19:38
jveronvialard pushed a commit that referenced this pull request Aug 27, 2025
…ngle node (#898)

Signed-off-by: Yuki Huang <[email protected]>
Signed-off-by: Julien Veron Vialard <[email protected]>
soodoshll pushed a commit to soodoshll/RL that referenced this pull request Aug 28, 2025
soodoshll pushed a commit to soodoshll/RL that referenced this pull request Sep 4, 2025
PrinsYin pushed a commit to PrinsYin/RL that referenced this pull request Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants