Repository navigation
fix(camera_viz): keep one CuPy variant after setup installs dependencies - #1546
fvaloppi-nv wants to merge 1 commit into
Conversation
On a CUDA 13 host setup targets cupy-cuda13x, but isaaccapture[cloudxr]
depends on cupy-cuda12x, so the same install brings in both variants.
The existing stale-variant removal runs before that install and cannot
catch it. CuPy then warns about multiple CuPy packages and the CUDA
check fails ("Selected CUDA 13, but CuPy loaded NVRTC 12.8").
After the install, remove any non-target variant again and reinstall the
target, since the variants share the cupy/ directory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Grecia Salazar Estrada <gsalazarestr@nvidia.com>
(cherry picked from commit cc8d7e5)
Signed-off-by: fvaloppi-nv <fvaloppi@nvidia.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Description
On CUDA 13 hosts, installing
isaaccapture[cloudxr]can bringcupy-cuda12xback after setup removes stale CuPy variants, leaving both variants installed and causing the CUDA check to fail.Apply the same fix as #1424 to
main: remove non-target CuPy variants after dependency installation and reinstall the target variant because the packages share thecupy/directory. Cherry-picked from cc8d7e5 with original authorship preserved. #1424 targetsrelease/1.7.x.Related: NVBug 7047715
Type of change
Testing
SKIP=check-copyright-year pre-commit run --all-files— passed.bash -n examples/camera_viz/scripts/_install_deps.sh— passed.git diff origin/main --check— passed.Checklist
SKIP=check-copyright-year pre-commit run --all-files.git commit -s) per the DCO.Summary by CodeRabbit