-
I'm using the Real Vis inpainting model (https://civitai.com/models/139562?modelVersionId=297320) which has a baked VAE. But my images are coming out like this (subject is same, BG is inpainted): See below for my code. Is this a VAE issue? I tried specifying controlnet = ControlNetModel.from_pretrained("diffusers/controlnet-canny-sdxl-1.0")
pipe = StableDiffusionXLControlNetInpaintPipeline.from_single_file(
"./realvisxlV40_v30InpaintBakedvae.safetensors",
torch_dtype=torch.float16,
controlnet=controlnet,
use_safetensors=True,
add_watermarker=False,
low_cpu_mem_usage=True,
)
pipe = pipe.to("cuda")
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config, algorithm_type="sde-dpmsolver++", use_karras_sigmas=True) |
Beta Was this translation helpful? Give feedback.
Answered by
asomoza
Mar 29, 2024
Replies: 1 comment 8 replies
-
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yeah, that's it, SDXL works with 1024, don't use 512 with SDXL unless you use the turbo model.