Gotcha for Ubuntu on libcudart #739
thisismycontributionaccount
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I was trying to build a LORA and it kept crashing out with out of memory errors. I could not for the longest time figure it out until I noticed in some output that it could not find libcudart.so. With Ubuntu, at least 22.04 (jammy), the library is hidden in /usr/lib/x86_64-linux-gnu. So if you are running Ubuntu and notice something about it being missing add the line below to gui.sh or put it in your .profile. In theory, it should be part of the magic, but for some reason is picked up.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu
Beta Was this translation helpful? Give feedback.
All reactions