fix: add missing nvidia CUDA pip packages for onnxruntime-gpu 1.26.0
ORT 1.26.0 changed provider loading to gate on the presence of required nvidia pip packages before attempting to load libonnxruntime_providers_cuda.so. Without nvidia-cuda-runtime-cu12, nvidia-cufft-cu12, and nvidia-curand-cu12 installed as Python packages, ORT silently skips the CUDA EP plugin entirely (confirmed via /proc/maps: the .so was never dlopen'd despite existing on disk and all system CUDA libs being present in ldconfig). nvidia-nvjitlink-cu12 pulled in as a transitive dependency.
This commit is contained in:
@@ -29,6 +29,9 @@ dependencies = [
|
||||
gpu = [
|
||||
"onnxruntime-gpu>=1.23.2; sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||
"nvidia-cudnn-cu12>=9.0.0; sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||
"nvidia-cuda-runtime-cu12>=12.0; sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||
"nvidia-cufft-cu12>=11.0; sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||
"nvidia-curand-cu12>=10.0; sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||
]
|
||||
rocm = ["onnxruntime-rocm>=1.16.0; sys_platform == 'linux' and platform_machine == 'x86_64'"]
|
||||
intel = ["onnxruntime-openvino>=1.20.0; sys_platform == 'linux' and platform_machine == 'x86_64'"]
|
||||
|
||||
Reference in New Issue
Block a user