openvinotoolkit / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
247 stars 39 forks source link

[Bug]: safety checker bug with open vino acceleration gpu with magicmixrealsticiv7 #93

Open Truebob opened 6 months ago

Truebob commented 6 months ago

Is there an existing issue for this?

What happened?

Safety checker will not let open vino work despite not being nsfw prompt. Still want to bypass nsfw though.

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ... Use automatic1111 open vino, use magicmix v7, type in random things, usually I say woman, man, girl, boy, or nsfw. Then it safety checks bad. It works with cpu, so there must be a safety check for gpu.

What should have happened?

No safety checker

Sysinfo

intel xe graphics gpu.

What browsers do you use to access the UI ?

Microsoft Edge

Console logs

a

Additional information

I have searched similar issues and found them on stack overflow, however when I tried those solutions by changing the required safety checker bool = None or safetychecker=none in various pipe places it still seems to not work. I also tried commenting out def run safety checker but still does not work. Should I just delete the safety checker py file?

cavusmustafa commented 5 months ago

Hello, thank you for reporting the issue. What was the indicator that shows the safety check fail? Do you receive a black image when using GPU but it generates ok with CPU? If this is the case, could you also share your hardware information including the CPU model, memory size, and GPU model if you use a dedicated GPU.

Thank you.