C Q
db5194a45d
Fix Compatibility Issues in stable_diffusion_xl_reference.py ( #6251 )
...
* Fix Compatibility Issues in stable_diffusion_xl_reference.py
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-02-08 10:52:59 -10:00
YiYi Xu
a5fc62f819
add self.use_ada_layer_norm_* params back to BasicTransformerBlock ( #6841 )
...
fix sd reference community ppeline
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2024-02-04 11:16:44 -10:00
Sayak Paul
1f0705adcf
[Big refactor] move unets to unets module 🦋 ( #6630 )
...
* move unets to module 🦋
* parameterize unet-level import.
* fix flax unet2dcondition model import
* models __init__
* mildly depcrecating models.unet_2d_blocks in favor of models.unets.unet_2d_blocks.
* noqa
* correct depcrecation behaviour
* inherit from the actual classes.
* Empty-Commit
* backwards compatibility for unet_2d.py
* backward compatibility for unet_2d_condition
* bc for unet_1d
* bc for unet_1d_blocks
2024-01-23 08:57:58 +05:30
Patrick von Platen
bdd16116f3
[Schedulers] Fix callback steps ( #5261 )
...
* fix all
* make fix copies
* make fix copies
2023-10-02 19:52:53 +02:00
Kashif Rasul
73bf620dec
fix E721 Do not compare types, use isinstance() ( #4992 )
2023-09-12 16:52:25 +02:00
Dhruv Nair
b6e0b016ce
Lazy Import for Diffusers ( #4829 )
...
* initial commit
* move modules to import struct
* add dummy objects and _LazyModule
* add lazy import to schedulers
* clean up unused imports
* lazy import on models module
* lazy import for schedulers module
* add lazy import to pipelines module
* lazy import altdiffusion
* lazy import audio diffusion
* lazy import audioldm
* lazy import consistency model
* lazy import controlnet
* lazy import dance diffusion ddim ddpm
* lazy import deepfloyd
* lazy import kandinksy
* lazy imports
* lazy import semantic diffusion
* lazy imports
* lazy import stable diffusion
* move sd output to its own module
* clean up
* lazy import t2iadapter
* lazy import unclip
* lazy import versatile and vq diffsuion
* lazy import vq diffusion
* helper to fetch objects from modules
* lazy import sdxl
* lazy import txt2vid
* lazy import stochastic karras
* fix model imports
* fix bug
* lazy import
* clean up
* clean up
* fixes for tests
* fixes for tests
* clean up
* remove import of torch_utils from utils module
* clean up
* clean up
* fix mistake import statement
* dedicated modules for exporting and loading
* remove testing utils from utils module
* fixes from merge conflicts
* Update src/diffusers/pipelines/kandinsky2_2/__init__.py
* fix docs
* fix alt diffusion copied from
* fix check dummies
* fix more docs
* remove accelerate import from utils module
* add type checking
* make style
* fix check dummies
* remove torch import from xformers check
* clean up error message
* fixes after upstream merges
* dummy objects fix
* fix tests
* remove unused module import
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-09-11 09:56:22 +02:00
Yukun Huang
85b3f08c26
Fix potential type mismatch errors in SDXL pipelines ( #4796 )
...
* Fix potential type conversion errors in SDXL pipelines
* make sure vae stays in fp16
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-08-31 09:22:18 +02:00
zideliu
f22aad6e3a
Add reference_attn & reference_adain support for sdxl ( #4502 )
...
* ADD SDXL reference & reference adain
* Update README.md
* Update README.md
* format stable_diffusion_xl_reference.py
* format file
* Format file
* format file
* fix format
* fix format with ruff
* fix format
* Update examples/community/README.md
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* Update examples/community/README.md
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* Update README.md
* Update README.md & fix typo
* Update README.md
* fix format
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2023-08-22 20:22:01 +05:30