Repository navigation
Description
Queue rank 17/48 · Difficulty 2/5 · Status on main: not_fixed
NVBug: https://nvbugspro.nvidia.com/bug/6900440 · priority: Unprioritized · ARB: Ananth Subramaniam
GitHub: none found (context: introduced by PRs #3734, #4146; related #3505)
Summary
docker/install_excluded_deps.sh pins torchvision==0.26.0, but uv.lock (and vLLM 0.29.0) require torchvision==0.28.0 / torch==2.13.0. The 0.26.0 wheel requires torch==2.11.0, so uv pip install --no-config silently downgrades torch 2.13.0->2.11.0, triton 3.7.1->3.6.0, and five NVIDIA CUDA wheels. vLLM 0.29.0 then runs on an unsupported torch and its DeepGEMM extension fails to load. README/script/pyproject all claim the pins match the build, which is false.
Reproduction
CPU, ~1 min: run docker/install_excluded_deps.sh inside nvcr.io/nvidian/nemo-gym:v0.7.0 (VIRTUAL_ENV=/opt/nemo_gym_venv), then print torch version. Draft infers it prints 2.11.0 (expected 2.13.0) — the downgrade was measured on an identical-lock candidate build, not run on the exact v0.7.0 or v0.7.0.rc1 tag. GPU: vllm serve Qwen/Qwen3-VL-8B-Instruct -tp 8 logs DeepGEMM undefined symbol: _ZN3c1010ValueError... on 8/8 workers.
Root cause
Hand-maintained pin not updated when #3734 relocked torch 2.11->2.13 / torchvision 0.26->0.28. --no-config drops all project constraints, so nothing holds torch at the installed version; uv resolves torchvision 0.26.0's torch==2.11.0 requirement by swapping torch + its CUDA/triton wheels. Only the torchvision pin triggers it (torchaudio/torchcodec have no torch requirement).
Status on main (not_fixed)
HEAD 75bb53e. docker/install_excluded_deps.sh:40 = "torchvision==0.26.0"; uv.lock torch 2.13.0 (:5529), torchvision 0.28.0 (:5593), triton 3.7.1 linux (:5645), vllm 0.29.0 (:5768). Only installer-touching commit since d427d42 is ac84aaa (#4146), which kept the stale pin. README.md:194-195 and pyproject.toml:446-447 still assert the pins match uv.lock. No fixing PR.
Proposed fix
docker/install_excluded_deps.sh:40->"torchvision==0.28.0"; keep torchaudio==2.11.0; verify torchcodec==0.16.0 loads against torch 2.13.- Harden: add
"torch==<lock>"to the install call or a post-install guard that fails if torch changed /uv pip checkreports an unmet vllm requirement. tests/e2e/gpu_e2e_test.sh(after :142): assert torch == lock andimport vllm.third_party.deep_gemmsucceeds.
Validation
Re-run QA circle_click + circle_count (testcases/environments/circle_click.py, circle_count.py); grep each vllm.log for the DeepGEMM ImportError (must be absent). Confirm torch stays 2.13.0.
Triage
Difficulty 2/5 — one-line pin flip, root cause pinpointed, CPU-verifiable; GPU only for full DeepGEMM/VLM confirmation and the optional CI guard. Needs GPU: yes for full validation.
Reviewer notes
Verifier confirmed all paths and status not_fixed on main (HEAD 75bb53e; #4146 kept the stale pin); difficulty held at 2. Corrections applied: the "prints 2.11.0" downgrade is inferred from an identical-lock candidate, not observed on the exact v0.7.0 or v0.7.0.rc1 tag; and torchcodec 0.16.0 carries no torch pin (only torchvision forces torch), so the compat caveat is low-risk.
Activity