-
Notifications
You must be signed in to change notification settings - Fork 2.2k
AMD GPU #245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Pretty sure this issue has to get solved first in the bitsandbytes library before this will work on an AMD GPU, but I could be wrong. |
I see, I've been having issues trying to get ROcM installed on Ubuntu, been following tutorials all day. Would you be able to guide me through it and which version to use? (Using ubuntu from the ms store) thanks! (off topic) |
ROCM has come a long way and pytorch has good support for it. Really, the easiest way to use it is to install one of the docker containers: You can follow this video (starting at step 2) and keeping in mind an older version of the docker container was being used: There is also a version of bitsandbytes for rocm that works (i've tried it): If you can get that installed and running, you might be able to train a model on an AMD card without having to wait for official AMD support in the bitsandbytes library. |
Which docker image would I use for a radeon rx 6700xt? |
Grab the latest pytorch one here: I had good success with: Also, it looks like the BitsAndBytes lib has been patched to fully work on rocm here: So use the patched repo to install bitsandbytes for rocm. Let me know if you get this working on your AMD card.. |
One more tip, you since you are on a 6700xt, you'll probably have to set this ENV variable to fake your GPU: |
There is a video guide that includes bitsandbytes installation for AMD ROCm bitsandbytes |
Will amd gpu's be supported?
The text was updated successfully, but these errors were encountered: