-
[CI] Build CUDA sidecar on plain manylinux, install CUDA manually (#19882)
发布于
2026-06-24 20:42:57 +00:00 #19754 (besides bumping cibuildwheel to 4.1.0) switched the CUDA runtime
sidecar build onto the preinstalled quay.io/manylinux_cuda image and
dropped the in-script CUDA toolkit install. On that image the built
libtvm_runtime_cuda.so silently lost its libcuda.so.1 dependency: the
libcuda.so stub is not where CMake's FindCUDA looks, so
CUDA_CUDA_LIBRARY resolved empty and ldd no longer lists libcuda,
breaking downstream runtime use.This restores only the sidecar pieces -- the plain manylinux_2_28 image
and the curl/rpm/dnf CUDA toolkit install. The cibw 4.1.0 bump is kept
(confirmed working). The driver stub is back where FindCUDA finds it, so
the sidecar links against libcuda.so.1 again, as ldd confirms. This is a
hotfix; a follow-up can re-adopt the CUDA image with the stub resolved
explicitly plus a post-build linkage check.下载附件