-
Notifications
You must be signed in to change notification settings - Fork 14
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
ROCm support #25
Comments
Sorry for my late response, I don't use the ROCm and AMD card, so I don't think ROCm will be supported in the foreseeable future, but welcome merging your code if you want to contribute to this tool. Thank You |
No worries. I don't think my python chops are up to par with what is required. I can give it a shot, though. Yet, hopefully, someone else can hop in and help us. |
I do not think there is currently anything in the code preventing ROCm support, if you have an environment setup where ROCm uses the same device names as the CUDA backend for compatibility, the difficult part of ROCm is getting a correct environment to run the code I have had some success setting this up on runpod.io on an AMD card, here are some steps I took to create the environment: https://github.com/Teriks/dgenerate?tab=readme-ov-file#linux-with-rocm-amd-cards mostly just that, minus installing my project |
I think this is the main reason I opened up this bug: https://github.com/xhinker/sd_embed?tab=readme-ov-file#install torchao has a PR that seems to be introducing ROCm support: pytorch/ao#1201 |
Ah yea, The actual prompt weighting code does not involve You just have skip out on using quantization features for ROCm, I could not get |
Would it be possible for you to implement ROCm support?
The text was updated successfully, but these errors were encountered: