You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade to vllm 0.10.2, ray, and torch 2.8.0 #1122
Upgrading also will cause this issue which we need to solve (found by @yfw):
File "/tmp/ray/session_2025-09-15_14-31-03_994983_2464005/runtime_resources/working_dir_files/_ray_pkg_f71471d97dc1673d/nemo_rl/models/policy/dtensor_policy_worker.py", line 319, in __init__
device_mesh = torch.distributed.device_mesh.init_device_mesh(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/ray_venvs/nemo_rl.models.policy.dtensor_policy_worker.DTensorPolicyWorker/lib/python3.12/site-packages/torch/distributed/device_mesh.py", line 1046, in init_device_mesh
device_mesh = DeviceMesh(
^^^^^^^^^^^
File "/opt/ray_venvs/nemo_rl.models.policy.dtensor_policy_worker.DTensorPolicyWorker/lib/python3.12/site-packages/torch/distributed/device_mesh.py", line 462, in __init__
self._setup_world_group_and_device()
File "/opt/ray_venvs/nemo_rl.models.policy.dtensor_policy_worker.DTensorPolicyWorker/lib/python3.12/site-packages/torch/distributed/device_mesh.py", line 500, in _setup_world_group_and_device
device_handle.set_device(local_rank)
File "/opt/ray_venvs/nemo_rl.models.policy.dtensor_policy_worker.DTensorPolicyWorker/lib/python3.12/site-packages/torch/cuda/__init__.py", line 569, in set_device
torch._C._cuda_setDevice(device)
torch.AcceleratorError: CUDA error: invalid device ordinal
This upgrade is also blocking #1175; this is because vllm 0.10.1+ contains a bugfix for EP + torch.compile, previously when with vllm 0.10.0 we didn't have to use EP, but now to enable fp8, to make sure hidden_size/TP % 128==0, we have to keep TP small and thus need EP.
I am working in a branch (#1199) to bump to a intermediate version (vllm 0.10.1.1 and ray 2.48, but no change to torch), fixed some issues for this version; If directly bumping to 0.10.2 goes smoothly then we dont need to merge this subversion bump, so just fyi.
@guyueh1 i'm okay with bumping to 0.10.2 provided the nightlies/release tests are good. we need to run way more than the presubmit to validate these version bumps b/c vllm is always a risky upgrade
Activity
yuki-97 commentedon Sep 15, 2025
with vllm==0.10.2:
skip_tokenizer_init=self.cfg["vllm_cfg"]["skip_tokenizer_init"].logprobs_mode="processed_logprobs".vegaluisjose commentedon Sep 15, 2025
Curious if these changes are needed to work? or nice-to-have? @yuki-97
terrykong commentedon Sep 15, 2025
Upgrading also will cause this issue which we need to solve (found by @yfw):
yuki-97 commentedon Sep 16, 2025
They are all nice-to-have.
skip_tokenizer_init=Trueis broken in vllm==0.10.0, and now it's fixed.parthchadha commentedon Sep 16, 2025
@terrykong FYI: https://discuss.vllm.ai/t/degraded-rl-training-with-v0-10-2/1616
vegaluisjose commentedon Sep 17, 2025
It seems that it got resolved?
https://x.com/jackminong/status/1967875364283355199?s=46&t=My63RLw3pmQZTsKMinNvfA
guyueh1 commentedon Sep 22, 2025
This upgrade is also blocking #1175; this is because vllm 0.10.1+ contains a bugfix for EP + torch.compile, previously when with vllm 0.10.0 we didn't have to use EP, but now to enable fp8, to make sure hidden_size/TP % 128==0, we have to keep TP small and thus need EP.
guyueh1 commentedon Sep 24, 2025
I am working in a branch (#1199) to bump to a intermediate version (vllm 0.10.1.1 and ray 2.48, but no change to torch), fixed some issues for this version; If directly bumping to 0.10.2 goes smoothly then we dont need to merge this subversion bump, so just fyi.
terrykong commentedon Oct 10, 2025
@guyueh1 i'm okay with bumping to 0.10.2 provided the nightlies/release tests are good. we need to run way more than the presubmit to validate these version bumps b/c vllm is always a risky upgrade
terrykong commentedon Oct 10, 2025
I've started the big upgrade in #1334
qiaochuz-nv commentedon May 5, 2026
QA RCCA Analysis
RCCA Status: Done
RCCA Category: covered
Test Action: none
Fix PR: #1175, #1199, #1334
Root Cause: fix PR includes upstream test coverage.
Trigger Config: Upgrade to vllm 0.10.2, ray, and torch 2.8.0
Coverage Assessment:
Conclusion: RCCA classification completed for this closed NeMo-RL GitHub issue.