Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions examples/camera_viz/scripts/_install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,17 @@ else
uv pip install --python "$PY" --upgrade "${PKGS[@]}"
fi

# isaaccapture[cloudxr] depends on cupy-cuda12x, so on a CUDA 13 host the install
# above brings that variant back next to the target. Remove it again; the variants
# share the cupy/ directory, so reinstall the target afterwards.
for v in cupy-cuda11x cupy-cuda12x cupy-cuda13x; do
if [[ "$v" != "$target_cupy" ]] && uv pip show --python "$PY" "$v" >/dev/null 2>&1; then
step "removing $v pulled in by dependencies (target is $target_cupy)"
uv pip uninstall --python "$PY" "$v" >/dev/null
uv pip install --python "$PY" --reinstall-package "$target_cupy" "$target_cupy"
fi
done

# The example itself, so `python -m isaaccapture_examples.camera_viz` resolves
# without the source directory on sys.path. Editable, so edits need no
# reinstall -- and the native codec .so, built in place below, is picked up
Expand Down
Loading