Skip to content

Commit 90de096

Browse files
committed
Use correct cuda runtime dependency for CUDA 13
When building the libs-wheel package for CUDA 13, the script was installing nvidia-cuda-runtime-cu13, which has been deprecated on Oct 31 2025, making it impossible to install the package on CUDA 13. This commit fixes the issue by installing nvidia-cuda-runtime instead. nvidia-cuda-runtime-cu12 and cu11 have not been deprecated, so they are still being used when CUDA major is 12 or 11, to maintain existing behaviour. Solves #4614 topic: use-correct-cuda-runtime-dependency-for-cuda-13
1 parent a833f79 commit 90de096

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/packaging/libs_wheel/setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323

2424

2525
def get_requirements():
26-
reqs = ["nvidia-cuda-runtime-cu##CUDA_MAJOR##"]
26+
if "##CUDA_MAJOR##" == 13:
27+
reqs = ["nvidia-cuda-runtime"]
28+
else:
29+
reqs = ["nvidia-cuda-runtime-cu##CUDA_MAJOR##"]
2730
return reqs
2831

2932

0 commit comments

Comments
 (0)