Skip to content

v1.23.0: ORTDiffusionPipeline, transformers v4.45

Compare
Choose a tag to compare
@echarlaix echarlaix released this 10 Oct 11:52
· 47 commits to main since this release

ONNX Runtime Diffusion pipeline

Adding ORTDiffusionPipeline to simplify diffusers model loading by @IlyasMoutawwakil in #1960 and #2021

  model_id = "runwayml/stable-diffusion-v1-5"
- pipeline = ORTStableDiffusionPipeline.from_pretrained(model_id, revision="onnx")
+ pipeline = ORTDiffusionPipeline.from_pretrained(model_id, revision="onnx")
  image = pipeline("sailing ship in storm by Leonardo da Vinci").images[0]

Transformers v4.45

Transformers v4.45 support by @echarlaix in #2023 and #2045

Subfolder

Remove the restriction for the model's config to be in the model's subfolder by @echarlaix in #2044

New Contributors

Full Changelog: v1.22.0...v1.23.0