C0untFloyd / roop-unleashed

Evolved Fork of roop with Web Server and lots of additions
GNU Affero General Public License v3.0
2.28k stars 525 forks source link

DirectML #339

Closed kevin2509-dev closed 1 year ago

kevin2509-dev commented 1 year ago

I'm getting an error after running ''python run.py --execution-provider dml''

Details What OS are you using?

Are you using a GPU?

Screenshot 2023-11-13 213348

lysxelapsed commented 1 year ago

282490591-10440c4d-6d89-4642-ab6a-42f0e0046ebc Screenshot 2023-11-13 181032 cli arguments aren't supported anymore for a while now. just run it without arguments and change provider to directml in the settings tab. if directml doesn't show up, try pip uninstall onnxruntime onnxruntime-directml, followed by pip install onnxruntime-directml==1.15.1 restart roop-unleashed after install and / or any changes to the provider (needs to reload the models) lately I'm just reblabbering stuff, which is already stated in the Wiki under the Installation... doesn't anyone read that before posting? maybe you need to add that back to the main page @C0untFloyd Not sure about the gradio error message (not using the windows_run.bat installation approach for a while now), but if you want to be on the safe side, add the directory to PATH in your environment variables

kevin2509-dev commented 1 year ago

thanks, manage to get it working now !

brucecolino commented 11 months ago

hi guys really need to add DirectML as provider in Roop Unleashed 3.2.0. Need to speed up export process usig my AMD RX 6750. can i do this right? anyway i'm very nubby in those things, i will appreciate if someone explains me better some things. First of all, how can i install DirectML in Roop and have it on GUI as provider? i even don't know how to entry "pip uninstall onnxruntime onnxruntime-directml" cause in cmd and python it doesnt recognize che command... if someone wants to help my i can give 10 bucks for a 5 min videocall