Open nachocheeseburger opened 9 months ago
I tested SDXL and not good
https://twitter.com/GozukaraFurkan/status/1706253092822376521
FreeU with SDXL finetune and LoRA models needs lower b vales in my experience - finetuning the model encourages it to rely more on backbone
with sdxl model
#model_id = "stabilityai/stable-diffusion-2-1"
model_id = f"RealVisXL_V4.0_Lightning.safetensors"
# model_id = "./stable-diffusion-2-1"
#pip_2_1 = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pip_2_1 = StableDiffusionXLPipeline.from_single_file(model_id, torch_dtype=torch.float16)
pip_2_1 = pip_2_1.to("cuda")
got this errors
File "/opt/conda/lib/python3.10/site-packages/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py", line 1216, in __call__
noise_pred = self.unet(
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/diffusers/models/unet_2d_condition.py", line 1188, in forward
sample = upsample_block(
File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
TypeError: register_free_upblock2d.<locals>.up_forward.<locals>.forward() got an unexpected keyword argument 'scale'
Forgot to include SDXL parameters.