Skip to content

Add AMD Navi 31 Support (7900 XT/XTX)#567

Open
fraz0815 wants to merge 2 commits intoOpenTalker:mainfrom
fraz0815:main
Open

Add AMD Navi 31 Support (7900 XT/XTX)#567
fraz0815 wants to merge 2 commits intoOpenTalker:mainfrom
fraz0815:main

Conversation

@fraz0815
Copy link
Copy Markdown

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

@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
Copy Markdown

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

@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.

3 participants