File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -312,12 +312,11 @@ def _load_global_deps() -> None:
312
312
313
313
try :
314
314
ctypes .CDLL (global_deps_lib_path , mode = ctypes .RTLD_GLOBAL )
315
- # Workaround slim-wheel CUDA-12.4+ dependency bug in libcusparse by preloading nvjitlink
316
- # In those versions of cuda cusparse depends on nvjitlink, but does not have rpath when
315
+ # Workaround slim-wheel CUDA dependency bugs in cusparse and cudnn by preloading nvjitlink
316
+ # and nvrtc. In CUDA-12.4+ cusparse depends on nvjitlink, but does not have rpath when
317
317
# shipped as wheel, which results in OS picking wrong/older version of nvjitlink library
318
- # if `LD_LIBRARY_PATH` is defined
319
- # See https://github.com/pytorch/pytorch/issues/138460
320
- # Similar issue as above exist for cuda_nvrtc for reference
318
+ # if `LD_LIBRARY_PATH` is defined, see https://github.com/pytorch/pytorch/issues/138460
319
+ # Similar issue exist in cudnn that dynamically loads nvrtc, unaware of its relative path.
321
320
# See https://github.com/pytorch/pytorch/issues/145580
322
321
try :
323
322
with open ("/proc/self/maps" ) as f :
You can’t perform that action at this time.
0 commit comments