Open amegaara opened 1 year ago
You are not on the latest version of the repository.
git pull
and try again.
You are not on the latest version of the repository.
git pull
and try again.
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 Settings
> Optimizations
and change DirectML memory stats provider
to Performance Counter
or None
.
Go to
Settings
>Optimizations
and changeDirectML memory stats provider
toPerformance Counter
orNone
.
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 None
?
i tried both settings and still nothing unfortunately
`---
0%| | 0/20 [00:00<?, ?it/s]
Error completing request
Arguments: ('task(2yrcia0ivma100i)', 'a car', '', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], <gradio.routes.Request object at 0x000002646C73EA70>, 0, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0) {}
Traceback (most recent call last):
File "C:\sd\webui\stable-diffusion-webui-directml\modules\call_queue.py", line 58, in f
res = list(func(*args, kwargs))
File "C:\sd\webui\stable-diffusion-webui-directml\modules\call_queue.py", line 37, in f
res = func(*args, *kwargs)
File "C:\sd\webui\stable-diffusion-webui-directml\modules\txt2img.py", line 69, in txt2img
processed = processing.process_images(p)
File "C:\sd\webui\stable-diffusion-webui-directml\modules\processing.py", line 680, in process_images
res = process_images_inner(p)
File "C:\sd\webui\stable-diffusion-webui-directml\modules\processing.py", line 797, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "C:\sd\webui\stable-diffusion-webui-directml\modules\processing.py", line 1057, in sample
samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))
File "C:\sd\webui\stable-diffusion-webui-directml\modules\sd_samplers_kdiffusion.py", line 464, in sample
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args={
File "C:\sd\webui\stable-diffusion-webui-directml\modules\sd_samplers_kdiffusion.py", line 303, in launch_sampling
return func()
File "C:\sd\webui\stable-diffusion-webui-directml\modules\sd_samplers_kdiffusion.py", line 464, in
`
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:
\GPU Process Memory(pid_11696_*_phys_0)\Dedicated Usage
where the python process has PID 11696 (I confirmed this in task manager).
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
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 paths_dedicated = expand_wildcardpath(f"\GPU Process Memory(pid{pid}_phys{device_id})\Dedicated Usage") paths_committed = expand_wildcardpath(f"\GPU Process Memory(pid{pid}_phys{device_id})\Total Committed")
@Ronin1mil I replaced the values to 0 in both lines and still got the same error. I have AMD Lucienne (gfx90c) iGPU.
Do you have any other suggestion regarding the issue?
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