Open rnwang04 opened 1 year ago
Strictly speaking, FP16 is available.
But, when I tested, there were some errors. (type mismatch between float16 and float32. When I tried to match type to float16, it generated strange images)
So I added .float()
in order that you can generate images without --no-half
. (this is why I recommend to use --no-half
)
And I tested txt2img with same commandline arguments, the RuntimeError you described doesn't occur for me.
Is there an existing issue for this?
What happened?
When I tried to launch webui with
--lowvram --precision autocast
, I got error during vae decoder in txt2img:RuntimeError: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.
I wonder whether current fp16 is available ? https://github.com/lshqqytiger/stable-diffusion-webui-directml/blob/master/modules/devices.py#L200-L240 And is this part of the code useful, can it help improve the quality of the fp16 conference?
Steps to reproduce the problem
I just changed webui-user.bat as:
What should have happened?
inference successfully.
Commit where the problem happens
Latest version
What platforms do you use to access the UI ?
No response
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of extensions
No
Console logs
Additional information
No response