8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3207040 commit d544858Copy full SHA for d544858
torch/__init__.py
@@ -328,9 +328,10 @@ def _load_global_deps() -> None:
328
# libtorch_global_deps.so always depends in cudart, check if its installed via wheel
329
if "nvidia/cuda_runtime/lib/libcudart.so" not in _maps:
330
return
331
- # If all abovementioned conditions are met, preload nvjitlink and nvrtc
332
- _preload_cuda_deps("nvjitlink", "libnvJitLink.so.*[0-9]")
+ # If all above-mentioned conditions are met, preload nvrtc and nvjitlink
+ # Please note that order are important for CUDA-11.8 , as nvjitlink does not exist there
333
_preload_cuda_deps("cuda_nvrtc", "libnvrtc.so.*[0-9]")
334
+ _preload_cuda_deps("nvjitlink", "libnvJitLink.so.*[0-9]")
335
except Exception:
336
pass
337
0 commit comments