-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
Hi, the simpler and fastest answer is that the If you still want to use diffusers, there's a lot of problems in what you're doing, so I'll try to address them all: First a 9GB SD 1.5 model is just wrong, use this one:
Then, use the scheduler like this: pipeline.scheduler = DPMSolverMultistepScheduler.from_config(pipeline.scheduler.config)
pipeline.scheduler.config.use_karras_sigmas = True With that you can start getting some decent results, after that remove all the loading code from automatic1111, they just add noise to the prompt in diffusers, with this I mean:
The ones in the negative prompt are all textual inversions so you will need to find the files and load them with the same method you're using for the You're also using a long negative prompt and prompt weighting, for that to work you'll need to load the lpw custom pipeline: pipeline = StableDiffusionPipeline.from_single_file(
"https://huggingface.co/gsdf/Counterfeit-V3.0/blob/main/Counterfeit-V3.0_fix_fp16.safetensors",
torch_dtype = torch.float16,
custom_pipeline="lpw_stable_diffusion",
) Finally the image is a 1024x1024 one, so they probably upscaled it with the With this and a 768x768 output image, you should get something like this: For the last part, your using For the schedulers, you can use this table to use the equivalent ones: https://huggingface.co/docs/diffusers/api/schedulers/overview#schedulers You won't get the same results as automatic1111 as they are completely different implementations. |
Beta Was this translation helpful? Give feedback.
-
@kissshhot how were the results after the changes @asomoza suggested? :) |
Beta Was this translation helpful? Give feedback.
-
cc @stevhliu here thanks @asomoza you're a rock star!! |
Beta Was this translation helpful? Give feedback.
-
@asomoza load multiple textual inversion cause image very dark, looks like afternoon or night |
Beta Was this translation helpful? Give feedback.
Hi, the simpler and fastest answer is that the
sd-webui
, runs in linux, windows and mac since it's just python.If you still want to use diffusers, there's a lot of problems in what you're doing, so I'll try to address them all:
First a 9GB SD 1.5 model is just wrong, use this one:
Then, use the scheduler like this:
With that you can start getting some decent results, after that remove all the loading code from automatic1111, they just add noise to the prompt …