From 4d0ac54ee4fa76e32c0c74733a84bbcc7c7c9e05 Mon Sep 17 00:00:00 2001 From: Dere-Wah Date: Tue, 4 Nov 2025 20:59:02 +0000 Subject: [PATCH] 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 Signed-off-by: Dere-Wah --- python/packaging/libs_wheel/setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/packaging/libs_wheel/setup.py b/python/packaging/libs_wheel/setup.py index 054c565b..663f7cea 100644 --- a/python/packaging/libs_wheel/setup.py +++ b/python/packaging/libs_wheel/setup.py @@ -23,7 +23,10 @@ def get_requirements(): - reqs = ["nvidia-cuda-runtime-cu##CUDA_MAJOR##"] + if "##CUDA_MAJOR##" == "13": + reqs = ["nvidia-cuda-runtime"] + else: + reqs = ["nvidia-cuda-runtime-cu##CUDA_MAJOR##"] return reqs