AMD or Error? #19
DJHanceNL
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
how to use my AMD gpu with directML
close app
go inside future-roop folder with terminal
and get inside the venv:
env\Scripts\activatepip uninstall torch torchvision onnxruntime-gpu onnxruntimepip install onnxruntime-directmlpip install torch-directmlpython run.py
it will run cpu only, you can see in terminal:
Using provider ['CPUExecutionProvider'] - Device:cpu
go to settings and change cpu to DML, save settings. go to terminal and ctrl+c to close future roop.
and then restart
python run.py
now it should say:
Using provider ['DmlExecutionProvider'] - Device:cpu
Gradio error solve:
TypeError: argument of type 'bool' is not iterable
Exception When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost. when launching Gradio Server!
Closing server running on port: 7860
go inside future-roop folder with terminal
and get inside the venv:
env\Scripts\activateand update gradio
pip install gradio -UBeta Was this translation helpful? Give feedback.
All reactions