-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: RuntimeError: ADL2: Failed to get DedicatedVRAMUsage #234
Comments
You are not on the latest version of the repository. |
thanks for the reply! i just did that and now im getting this error "PDHError: Something went wrong." ill be searching online if someone has the same error |
When do you get that error? After launching WebUI or before? |
I just updated to the latest version and now I am getting the same "RuntimeError: ADL2: Failed to get DedicatedVRAMUsage" when I attempt to generate an image. I am also running an AMD RX580 8gb. |
Go to |
I also get the PDHError. It started after a recent git pull. The above setting did not help. The error appears after hitting 'Generate'. |
Do you get same error with |
i tried both settings and still nothing unfortunately |
`--- ` this is the cmd line if it helps |
Have the same error when trying to run on a second GPU attached via a PCI 1x slot. First GPU (they're both 6600 XT) that's running the display is working fine. |
I have the same problem. In the above stack trace, the call to "expand_wildcard_path" is trying to find the performance counter for the VRAM usage of the python process by expanding this string: When I open the Windows performance monitor and look at the GPU Process Memory category, I can see a number of performance counters of the form "pid__*_phys_0", where PID is an existing process ID. The PID of the python process is not among them. For whatever reason, python does not have access to the GPU. What am I missing? |
In stable-diffusion-webui-directml\modules\dml open memory.py and change device_id in lines 20 and 21 to 0. I tested on my rx 580 and 3060 and it allows the 580 to generate images. Edit: being more specific |
I also get the PDHError. It started after a recent git pull. |
Is there an existing issue for this?
What happened?
i followed a video guide to run SD on AMD GPUs and i got SD to load on the webui, but whenever i enter a prompt and click generate it gives this error "RuntimeError: ADL2: Failed to get DedicatedVRAMUsage" i searched multiple times on google and reddit but no one seems to have this issue, can anyone please help me with this?
i have these arguments turned on" Launching Web UI with arguments: --opt-sub-quad-attention --lowvram --disable-nan-check " because im using an RX580 8gb
i have updated the GPU drivers
Steps to reproduce the problem
What should have happened?
should generate an image
Version or Commit where the problem happens
v1.4.1
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
AMD GPUs
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
none
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: