Closed Kamael-cs closed 10 months ago
Found out the solution myself, just apply the " --no-half" command to the bat file and that's it. However, it by doing this, mine still had another problem of GPU not being used at all during generating pictures.
Did you clone upstream repository? Clone lshqqytiger/stable-diffusion-webui-directml
, not AUTOMATIC1111/stable-diffusion-webui
and try again.
I installed everything as in the instructions, this error pops up RuntimeError: "log_vml_cpu" not implemented for 'Half' after adding --no-half the problem goes away but the GPU does not work, the CPU works. How to solve this problem. I clone lshqqytiger/stable-diffusion-webui-directml My GPU GigaByte AMD Radeon rx 580 8gb My commands: COMMANDLINE_ARGS=--opt-sub-quad-attention --lowvram --disable-nan-check --autolaunch --medvram --precision full --no-half --precision full --opt-split-attention-v1 - -theme dark
I installed everything as in the instructions, this error pops up RuntimeError: "log_vml_cpu" not implemented for 'Half' after adding --no-half the problem goes away but the GPU does not work, the CPU works. How to solve this problem. I clone lshqqytiger/stable-diffusion-webui-directml My GPU GigaByte AMD Radeon rx 580 8gb My commands: COMMANDLINE_ARGS=--opt-sub-quad-attention --lowvram --disable-nan-check --autolaunch --medvram --precision full --no-half --precision full --opt-split-attention-v1 - -theme dark
Try this solution: https://github.com/lshqqytiger/stable-diffusion-webui-directml/issues/270#issuecomment-1712846648
Is there an existing issue for this?
What happened?
In text to img, or img to img mode, everytime I hit run, it will say RuntimeError: "LayerNormKernelImpl" not implemented for 'Half' + "log_vml_cpu" not implemented for 'Half' respectively for two modes.
Steps to reproduce the problem
I installed the bat file after the first step of the "git clone" command, and the bat file installation is pretty much successful except for these two errors shown in descriptions. Seems like there were some problems with the 'Half' file that doesn't have sub folders created. the
What should have happened?
It should work as normal, generating images instead of showing these two errors when I launch it.
Sysinfo
Win 11, DDR4, intel i5 13600k, AMD RX 6950xt 16GB, no bottleneck of power supply.
What browsers do you use to access the UI ?
Google Chrome
Console logs
Additional information
It's a long code, but essentially it's just the two errors that I mentioned in the title of the problem.