Open mslagle opened 1 year ago
I was able to get past this by forcing the cuda install, but now getting an error about a missing nvidia driver.
pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
venv "M:\Code\stable-diffusion-webui-arc-directml\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Commit hash: ee3d3904c327031ed193a1e6d8472c3eed9409c7
Installing requirements for Web UI
Launching Web UI with arguments: --opt-sub-quad-attention --disable-nan-check
Thank you for helping to bring diversity to the graphics card market.
Disabled experimental graphic memory optimizations.
Warning: caught exception 'Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx', memory monitor disabled
Traceback (most recent call last):
File "M:\Code\stable-diffusion-webui-arc-directml\launch.py", line 353, in
You can't download the CUDA-version torch. Torch not compiled with CUDA enabled is just a piece of log, not an error. Are you sure you download the DirectML version k-diffusion and stable-diffusion-stability-ai? And your models are better not to be FP16.
I got the same error @mslagle proposed at the very fisrt report.This issue is about the api usage in torch. I fixed this issue by adding a little code change and it works. The solution is to comment the line torch.nn.functional.pad = pad
in stable-diffusion-webui-arc-directml\modules\devices.py
. Besides, @mslagle please make sure that you download the DirectML version k-diffusion and stable-diffusion-stability-ai as Aloereed mentioned. The link can also found in stable-diffusion-webui-arc-directml\repositories\ToBeDownloaded.txt
Is there an existing issue for this?
What happened?
Downloaded the repo and installed the other repositories. When I run webui-user.bat, I get the error.
Steps to reproduce the problem
What should have happened?
It should have run the script without error.
Commit where the problem happens
ee3d390
What platforms do you use to access the UI ?
No response
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of extensions
No
Console logs
Additional information
No response