-
Notifications
You must be signed in to change notification settings - Fork 26
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
Using negative prompt brakes SDXL txt2img #433
Comments
I tested this with Euler A and a few other schedulers, but I'm not able to reproduce it: {
"input_size": {
"width": 1024,
"height": 1024
},
"outputs": "txt2img_2045114381_b759c25db9a9fba9815472c4be2bc8e8eb29c2a9f0241fd66f4e30c9e049798b_1702606569_0.png",
"params": {
"model": "diffusion-sdxl-cotton-candy-3d",
"pipeline": "txt2img-sdxl",
"scheduler": "euler-a",
"prompt": "a cute puppy dog",
"negative_prompt": "cat, cows, sheep, fish, zebras",
"cfg": 4.0,
"seed": 2045114381,
"steps": 50,
"eta": 0.0,
"batch": 1,
"control": "",
"input_prompt": "a cute puppy dog",
"input_negative_prompt": "cat, cows, sheep, fish, zebras",
"loopback": 0,
"tiled_vae": false,
"unet_overlap": 0.75,
"unet_tile": 1024,
"vae_overlap": 0.25,
"vae_tile": 512,
"denoise": 3
},
"highres": {
"enabled": false, "iterations": 1, "method": "bilinear", "scale": 1, "steps": 1, "strength": 0.1
},
"upscale": {
"upscale_model": "upscaling-swinir-real-x2", "correction_model": "correction-codeformer", "denoise": 0.5, "faces": false, "face_outscale": 1, "face_strength": 0.5, "format": "onnx", "outscale": 1, "pre_pad": 0, "scale": 1, "tile_pad": 10, "upscale_order": "correction-first"
},
"size": {
"width": 1024, "height": 1024
}
} I do recall pushing a fix for a similar issue to optimum a while back (huggingface/optimum#1339), so it's possible something is out of date, possibly. I've updated the base requirements with the latest versions of diffusers and optimum, which are working well for me. Can you try updating to those versions and see if this is still happening? |
Went smooth with huggingface-hub==0.19.4, problem fixed |
I thought I had included |
Steps to reproduce:
You will get same error even after removing negative prompt, restarting API helps to resolve error
The text was updated successfully, but these errors were encountered: