From bdaa34216a2bb3527b6e248030f434561f9cf620 Mon Sep 17 00:00:00 2001 From: Martin Stefcek <35243812+Cifko@users.noreply.github.com> Date: Thu, 16 May 2024 14:32:50 +0200 Subject: chore: add fix for windows cudarc into the readme (#2189) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 5644d818..2bae9860 100644 --- a/README.md +++ b/README.md @@ -408,3 +408,10 @@ This may be caused by the models being loaded from `/mnt/c`, more details on You can set `RUST_BACKTRACE=1` to be provided with backtraces when a candle error is generated. + +#### CudaRC error + +If you encounter an error like this one `called `Result::unwrap()` on an `Err` value: LoadLibraryExW { source: Os { code: 126, kind: Uncategorized, message: "The specified module could not be found." } }` on windows. To fix copy and rename these 3 files (make sure they are in path). The paths depend on your cuda version. +`c:\Windows\System32\nvcuda.dll` -> `cuda.dll` +`c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin\cublas64_12.dll` -> `cublas.dll` +`c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin\curand64_10.dll` -> `curand.dll` -- cgit v1.2.3