Patch release to fix:
-
torch.compile
for SD-XL for certain GPUs
-
from_single_file
for all SD models
-
- Fix broken ONNX export
-
- Fix incorrect VAE FP16 casting
-
- Deprecate loading variants that don't exist
Note:
Loading any stable diffusion safetensors or ckpt with StableDiffusionPipeline.from_single_file
or StableDiffusionmg2ImgIPipeline.from_single_file
or StableDiffusionInpaintPipeline.from_single_file
or StableDiffusionXLPipeline.from_single_file
, ...
is now almost as fast as from_pretrained(...)
and it's much more tested now.
All commits:
- Make sure torch compile doesn't access unet config by @patrickvonplaten in #4008
- [DiffusionPipeline] Deprecate not throwing error when loading non-existant variant by @patrickvonplaten in #4011
- Correctly keep vae in
float16
when using PyTorch 2 or xFormers by @pcuenca in #4019 - minor improvements to the SDXL doc. by @sayakpaul in #3985
- Remove remaining
not
in upscale pipeline by @pcuenca in #4020 - FIX
force_download
in download utility by @Wauplin in #4036 - Improve single loading file by @patrickvonplaten in #4041
- keep _use_default_values as a list type by @oOraph in #4040