MasterJH5574 opened a new pull request, #19886: URL: https://github.com/apache/tvm/pull/19886
The quay.io/manylinux_cuda image ships the CUDA toolkit but omits the libcuda driver stub (cuda-driver-devel). Without it CMake's FindCUDA leaves CUDA_CUDA_LIBRARY empty, and since a shared library links fine with undefined symbols, libtvm_runtime_cuda built with no libcuda.so.1 dependency -- ldd/readelf did not list it -- breaking downstream use. Install cuda-driver-devel-13-1 from the CUDA repo already configured in the image (a ~45 KB package with no dependencies, not the full toolkit download). The stub lands under /usr/local/cuda/.../stubs where FindCUDA looks, so the sidecar links libcuda.so.1 again. Also fail CMake configure with a clear error when CUDA_CUDA_LIBRARY is unset, so a missing driver stub can never again silently ship a runtime sidecar without its libcuda dependency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
