stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: A checkpoint converted to bf16 is generated as a black image.

Open Neytiri7 opened this issue 1 year ago • 0 comments

Checklist

  • [X] The issue exists after disabling all extensions
  • [ ] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [X] The issue exists in the current version of the webui
  • [X] The issue has not been reported before recently
  • [ ] The issue has been reported before but has not been fixed yet

What happened?

Press the Create button with the bf16 checkpoint to create a black image.

Steps to reproduce the problem

  1. bf16 Check Point
  2. Create Image

What should have happened?

fp16 and fp32 are normally generated images, but bf16 is being generated as black images

What browsers do you use to access the UI ?

Microsoft Edge, Other

Sysinfo

@echo off

git pull

set PYTHON= set GIT= set VENV_DIR= set CUDA_VISIBLE_DEVICES=0 set COMMANDLINE_ARGS= --opt-split-attention --autolaunch --update-all-extensions --no-half-vae --enable-insecure-extension-access --xformers --xformers-flash-attention --opt-channelslast --use-cpu adetailer --lowvram --disable-nan-check

call webui.bat

Console logs

The console log does not confirm any particular circumstances.
It is usually the same as the image is created.

Additional information

In version 1.7.0rc, a path domain error was displayed when the bf16 model was operated. https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14167

The 1.7.0 official version does not display that error, but it can be generated, but it is being generated as a black image.

For me, it's 100% reproduced.

Neytiri7 avatar Dec 20 '23 06:12 Neytiri7