Error when generating image with "Hires. fix" using "prompts from file or textbox" #8854
Closed
kazna-zero
started this conversation in
General
Replies: 1 comment
-
postscript: Also, setting --no-half as an argument will generate a noise image. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I want to generate multiple images with "Hires. fix" using "prompts from file or textbox".
But I get this error and I can't generate the image.
NansException: A tensor with all NaNs was produced in Unet.This could be either because there's not enough precision to represent the picture, or because your video card does not support half type.Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this.
Time taken: 8.97s Torch active/reserved: 45437/66986 MiB, Sys VRAM: 68962/81070 MiB (85.06%)
It succeeds when generating only one image without using "prompts from file or textbox".
The execution environment is Paperspace's Free-A100-80G, so the specs are the best.
If anyone knows how to solve it, could you please let me know?
Beta Was this translation helpful? Give feedback.
All reactions