Closed CS1o closed 2 months ago
By having that temp fix, in your opinion this issue come as a result of missing some installations either in the Zluda setup or the WebUi setup?
Edit : Didn't work for me as a fix still broken, "still looking for CUDA".
Its an issue in the webui. My guess is that's an issue in the launch_utils.py file at the line 486. There is the command pip install
missing infront of torch==2.2.1
Also the fix should work. I tested it on a clean install. You need to make sure you have the zluda files and also installed the AMD HIP 5.7.1 drivers. Aswell as being on AMD Adrenalin 24.1.1 or later.
Then you also need to make sure you have the zluda folder added to your system variables in PATH aswell as the entry %HIP_PATH%bin
And if you have an unsupported GPU (below 6800) then you need additional steps and the custom rocm library.
Checklist
What happened?
Since the latest update from yesterday when launching the webui-user.bat with --use-zluda you get following error listed down below in the console log.
A temporary fix is also down below for anyone struggling with the installation right now.
Steps to reproduce the problem
Important step: Open up a cmd and run
pip cache purge
to clear all the downloaded whl files. Git clone the directml webui into a new folder. Edit the webui-user.bat with --use-zluda at the line COMMANDLINE_ARGS=What should have happened?
The webui should normaly start to download and install the right pytorch whl file.
Sysinfo
AMD RX 7900XTX on Zluda 3.7 Windows 10 64bit AMD Adrenalin 24.3.1
Console logs
Additional information
Temporary Fix
Navigate inside the stable-diffusion-webui-directml/venv/scripts folder. Open up a cmd by clicking into the Explorer bar (not searchbar) and type
cmd
and hit enter. Type:activate.bat
and hit enter. Now copy and paste this line and hit enter:pip install torch==2.2.1 torchvision --index-url https://download.pytorch.org/whl/cu118