summaryrefslogtreecommitdiff
path: root/errors_and_solutions.md
diff options
context:
space:
mode:
authorTim Dettmers <dettmers@g3030.hyak.local>2021-10-21 17:22:43 -0700
committerTim Dettmers <dettmers@g3030.hyak.local>2021-10-21 17:22:43 -0700
commit0fb378b4eed1fffc61b71439a5d5b11ad8335dd0 (patch)
treeb6991395aa0d889ca738bf25210c7187ce98ec4d /errors_and_solutions.md
parentd2f16726905f53952fc744147802076f6a1d8711 (diff)
Added compilation from source instructions; easier compilation.
Diffstat (limited to 'errors_and_solutions.md')
-rw-r--r--errors_and_solutions.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/errors_and_solutions.md b/errors_and_solutions.md
index 99461bc..dd99f7c 100644
--- a/errors_and_solutions.md
+++ b/errors_and_solutions.md
@@ -3,3 +3,6 @@
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.
+
+
+__If you encounter any other error not listed here please create an issue. This will help resolve your problem and will help out others in the future.