-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add AMD Navi 31 Support (7900 XT/XTX) #567
base: main
Are you sure you want to change the base?
Conversation
Exactly the same way as AUTOMATIC1111/stable-diffusion-webui does. Example times on 5800X3D CPU + 7900 XT GPU: w/o patch: Face Renderer 3.70 s/it -> 5min 37sec down to w patch: Face Renderer 2.39 s/it -> 3min 22sec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good.
Navi 3 needs at least 5.5 which is only on the nightly chain, previous versions are no longer online (torch==2.1.0.dev-20230614+rocm5.5 torchvision==0.16.0.dev-20230614+rocm5.5 torchaudio==2.1.0.dev-20230614+rocm5.5). so switch to nightly rocm5.6 without explicit versions this time
Previous torch versions are no longer online (torch==2.1.0.dev-20230614+rocm5.5 torchvision==0.16.0.dev-20230614+rocm5.5 torchaudio==2.1.0.dev-20230614+rocm5.5). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its only for linux add support for windows (torch_dml)
I've been trying my hand at torch_directml and I haven't been able to get this to work for Windows. Warning, I'm a newbie to Python. Spent 2 days but nothing, I cannot even get device = 'dml' to work even when I install torch_directml Anyone with more skills know how we can get this working for AMD GPUs? Please help! |
@risharde May be we both can try |
Exactly the same way as AUTOMATIC1111/stable-diffusion-webui does.
Example times on 5800X3D CPU + 7900 XT GPU:
w/o patch: Face Renderer 3.70 s/it -> 5min 37sec
down to
w patch: Face Renderer 2.39 s/it -> 3min 22sec