From 5f95b5253f4936080479c909724601b342da1c18 Mon Sep 17 00:00:00 2001 From: Tim Dettmers Date: Thu, 7 Oct 2021 09:54:34 -0700 Subject: Updated readme with latest changes. --- errors_and_solutions.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 errors_and_solutions.md (limited to 'errors_and_solutions.md') diff --git a/errors_and_solutions.md b/errors_and_solutions.md new file mode 100644 index 0000000..99461bc --- /dev/null +++ b/errors_and_solutions.md @@ -0,0 +1,5 @@ +# No kernel image available + +This problem arises with the cuda version loaded by bitsandbytes is not supported by your GPU, or if you pytorch CUDA version mismatches. So solve this problem you need to debug ``$LD_LIBRARY_PATH``, ``$CUDA_HOME``, ``$PATH``. You can print these via ``echo $PATH``. You should look for multiple paths to different CUDA versions. This can include versions in your anaconda path, for example ``$HOME/anaconda3/lib``. You can check those versions via ``ls -l $HOME/anaconda3/lib/*cuda*`` or equivalent paths. Look at the CUDA versions of files in these paths. Does it match with ``nvidia-smi``? + +If you are feeling lucky, you can also try to compile the library from source. This can be still problematic if your PATH variables have multiple cuda versions. As such, it is recommended to figure out path conflicts before you proceed with compilation. -- cgit v1.2.3