Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fraz0815
Copy link

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

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
Copy link

@MetaFomos MetaFomos left a 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
@fraz0815
Copy link
Author

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).
so switch to nightly rocm5.6 without explicit versions this time

Copy link

@aryan0078 aryan0078 left a 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)

@risharde
Copy link

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!

@aryan0078
Copy link

@risharde May be we both can try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants