Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c10::DriverAPI
Try opening libcuda.so.1 (#113096)
As `libcuda.so` is only installed on dev environment (i.e. when CUDAToolkit is installed), while `libcuda.so.1` is part of NVIDIA driver. Also, this will keep it aligned with https://github.com/pytorch/pytorch/blob/a5cb8f75a7f991212fbc6d049e0bc2f9f48b07f8/aten/src/ATen/cuda/detail/LazyNVRTC.cpp#L16 Better errors in `c10::DriverAPI` on `dlopn`/`dlsym` failures Cherry-pick of following PR into release/2.1 branch - Better errors in `c10::DriverAPI` on `dl` failure (#112995) - `c10::DriverAPI` Try opening libcuda.so.1 (#112996) (cherry picked from commit 3be0e1c) (cherry picked from commit d0a80f8)
- Loading branch information