releases.shpreview

v0.18.2

Patch Release: v0.18.2

$npx -y @buildinternet/releases show rel_rqqOkE0YjT2Dbv2OyA2UW

Patch release to fix:

    1. torch.compile for SD-XL for certain GPUs
    1. from_single_file for all SD models
    1. Fix broken ONNX export
    1. Fix incorrect VAE FP16 casting
    1. 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

Fetched April 7, 2026