Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output is a green image #9

Closed
kittyinc opened this issue Aug 31, 2022 · 6 comments · Fixed by #14
Closed

Output is a green image #9

kittyinc opened this issue Aug 31, 2022 · 6 comments · Fixed by #14
Labels
bug Something isn't working

Comments

@kittyinc
Copy link

kittyinc commented Aug 31, 2022

Specs:

CPU: Ryzen 3600
RAM : 16 GB
GPU: 1660 Super 6GB

  • Running through WSL2 docker backend.
  • CUDA works inside docker (checked with nvidia-smi docker image)
  • Tried lowering resolution to 64x64 , closed all GPU accelerated programs.
  • Tried running with default args
  • Tried with --precision full and --precision full + default args:

Output for --precision full in both cases:

!!Runtime error (txt2img)!!
   expected scalar type Half but found Float
exiting...calling os._exit(0)
@AbdBarho
Copy link
Owner

@kittyinc is this related to your issue ? Sygil-Dev/sygil-webui#34

@AbdBarho AbdBarho added the awaiting-response Waiting for the issuer to respond label Aug 31, 2022
@kittyinc
Copy link
Author

@AbdBarho yes, sorry if I created this issue in the wrong repo, I swear I searched everywhere haha.

I'll continue the discussion there, thanks!

@AbdBarho
Copy link
Owner

No problem!

I will leave this issue open in the mean time, perhaps someone else has the same problem.

@AbdBarho AbdBarho added bug Something isn't working and removed awaiting-response Waiting for the issuer to respond labels Aug 31, 2022
@bx00000013
Copy link

To get it to work on my 1660 Super I had to edit the docker-compose.yml file and change the CLI_ARGS to --extra-models-cpu --optimized --precision full --no-half

@AbdBarho
Copy link
Owner

That's great news @bx00000013!, @kittyinc can you please try the suggestion to see if it solves your problem?

@AbdBarho AbdBarho added the awaiting-response Waiting for the issuer to respond label Aug 31, 2022
@kittyinc
Copy link
Author

kittyinc commented Aug 31, 2022

Thanks @AbdBarho! I can confirm that this solves the problem.

I think it has to do with the 16XX series lacking tensor cores, I'm guessing that the --precission full --no-half flags force this to run in FP16

@AbdBarho AbdBarho mentioned this issue Aug 31, 2022
@AbdBarho AbdBarho removed the awaiting-response Waiting for the issuer to respond label Aug 31, 2022
cloudaxes pushed a commit to cloudaxes/stable-diffusion-webui-docker that referenced this issue Sep 6, 2023
Closes AbdBarho#9

Add fix to green output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants