Lucain
56e772ab7e
Use model_info.id instead of model_info.modelId ( #8912 )
...
Mention model_info.id instead of model_info.modelId
2024-07-20 20:01:21 +05:30
Pierre Chapuis
fe7948941d
allow tensors in several schedulers step() call ( #8905 )
2024-07-19 18:58:06 -10:00
王奇勋
461efc57c5
[fix code annotation] Adjust the dimensions of the rotary positional embedding. ( #8890 )
...
* 2d rotary pos emb dim
* make style
---------
Co-authored-by: haofanwang <haofanwang.ai@gmail.com >
2024-07-19 18:57:36 -10:00
shinetzh
3b04cdc816
fix loop bug in SlicedAttnProcessor ( #8836 )
...
* fix loop bug in SlicedAttnProcessor
---------
Co-authored-by: neoshang <neoshang@tencent.com >
2024-07-19 18:14:29 -10:00
Álvaro Somoza
c009c203be
[SDXL] Fix uncaught error with image to image ( #8856 )
...
* initial commit
* apply suggestion to sdxl pipelines
* apply fix to sd pipelines
2024-07-19 12:06:36 -10:00
Dhruv Nair
3f1411767b
SSH into cpu runner additional fix ( #8893 )
...
* update
* update
* update
2024-07-18 16:18:45 +05:30
Dhruv Nair
588fb5c105
SSH into cpu runner fix ( #8888 )
...
* update
* update
2024-07-18 11:00:05 +05:30
Dhruv Nair
eb24e4bdb2
Add option to SSH into CPU runner. ( #8884 )
...
update
2024-07-18 10:20:24 +05:30
Sayak Paul
e02ec27e51
[Core] remove resume_download from Hub related stuff ( #8648 )
...
* remove resume_download
* fix: _fetch_index_file call.
* remove resume_download from docs.
2024-07-18 09:48:42 +05:30
Sayak Paul
a41e4c506b
[Chore] add disable forward chunking to SD3 transformer. ( #8838 )
...
add disable forward chunking to SD3 transformer.
2024-07-18 09:30:18 +05:30
Aryan
12625c1c9c
[docs] pipeline docs for latte ( #8844 )
...
* add pipeline docs for latte
* add inference time to latte docs
* apply review suggestions
2024-07-18 09:27:48 +05:30
Tolga Cangöz
c1dc2ae619
Fix multi-gpu case for train_cm_ct_unconditional.py ( #8653 )
...
* Fix multi-gpu case
* Prefer previously created `unwrap_model()` function
For `torch.compile()` generalizability
* `chore: update unwrap_model() function to use accelerator.unwrap_model()`
2024-07-17 19:03:12 +05:30
Beinsezii
e15a8e7f17
Add AuraFlowPipeline and KolorsPipeline to auto map ( #8849 )
...
* Add AuraFlowPipeline and KolorsPipeline to auto map
Just T2I. Validated using `quickdif`
* Add Kolors I2I and SD3 Inpaint auto maps
* style
---------
Co-authored-by: yiyixuxu <yixu310@gmail.com >
2024-07-16 17:13:28 -10:00
Sayak Paul
c2fbf8da02
[Chore] allow auraflow latest to be torch compile compatible. ( #8859 )
...
* allow auraflow latest to be torch compile compatible.
* default to 1024 1024.
2024-07-17 08:26:36 +05:30
Sayak Paul
0f09b01ab3
[Core] fix: shard loading and saving when variant is provided. ( #8869 )
...
fix: shard loading and saving when variant is provided.
2024-07-17 08:26:28 +05:30
Sayak Paul
f6cfe0a1e5
modify pocs. ( #8867 )
2024-07-17 08:26:13 +05:30
Tolga Cangöz
e87bf62940
[Cont'd] Add the SDE variant of ~~DPM-Solver~~ and DPM-Solver++ to DPM Single Step ( #8269 )
...
* Add the SDE variant of DPM-Solver and DPM-Solver++ to DPM Single Step
---------
Co-authored-by: cmdr2 <secondary.cmdr2@gmail.com >
2024-07-16 15:40:02 -10:00
Sayak Paul
3b37fefee9
[Docker] include python3.10 dev and solve header missing problem ( #8865 )
...
include python3.10 dev and solve header missing problem
2024-07-16 16:02:39 +05:30
Aryan
bbd2f9d4e9
[tests] fix typo in pag tests ( #8845 )
...
* fix typo in pag tests
* fix typo
2024-07-12 17:41:34 +05:30
Nguyễn Công Tú Anh
d704b3bf8c
add PAG support sd15 controlnet ( #8820 )
...
* add pag support sd15 controlnet
* fix quality import
* remove unecessary import
* remove if state
* fix tests
* remove useless function
* add sd1.5 controlnet pag docs
---------
Co-authored-by: anhnct8 <anhnct8@fpt.com >
2024-07-12 15:42:56 +05:30
ustcuna
9f963e7349
[Community Pipelines] Accelerate inference of AnimateDiff by IPEX on CPU ( #8643 )
...
* add animatediff_ipex community pipeline
* address the 1st round review comments
2024-07-12 14:31:15 +05:30
Sayak Paul
973a62d408
[Docs] add AuraFlow docs ( #8851 )
...
* add pipeline documentation.
* add api spec for pipeline
* model documentation
* model spec
2024-07-12 09:52:18 +02:00
Dhruv Nair
11d18f3217
Add single file loading support for AnimateDiff ( #8819 )
...
* update
* update
* update
* update
2024-07-12 09:51:57 +05:30
Dhruv Nair
d2df40c6f3
Add VAE tiling option for SD3 ( #8791 )
...
update
2024-07-11 09:49:39 -10:00
Sayak Paul
2261510bbc
[Core] Add AuraFlow ( #8796 )
...
* add lavender flow transformer
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-07-11 08:50:19 -10:00
Álvaro Somoza
87b9db644b
[Core] Add Kolors ( #8812 )
...
* initial draft
2024-07-11 06:09:17 -10:00
Xin Ma
b8cf84a3f9
Latte: Latent Diffusion Transformer for Video Generation ( #8404 )
...
* add Latte to diffusers
* remove print
* remove print
* remove print
* remove unuse codes
* remove layer_norm_latte and add a flag
* remove layer_norm_latte and add a flag
* update latte_pipeline
* update latte_pipeline
* remove unuse squeeze
* add norm_hidden_states.ndim == 2: # for Latte
* fixed test latte pipeline bugs
* fixed test latte pipeline bugs
* delete sh
* add doc for latte
* add licensing
* Move Transformer3DModelOutput to modeling_outputs
* give a default value to sample_size
* remove the einops dependency
* change norm2 for latte
* modify pipeline of latte
* update test for Latte
* modify some codes for latte
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* modify for Latte pipeline
* video_length -> num_frames; update prepare_latents copied from
* make fix-copies
* make style
* typo: videe -> video
* update
* modify for Latte pipeline
* modify latte pipeline
* modify latte pipeline
* modify latte pipeline
* modify latte pipeline
* modify for Latte pipeline
* Delete .vscode directory
* make style
* make fix-copies
* add latte transformer 3d to docs _toctree.yml
* update example
* reduce frames for test
* fixed bug of _text_preprocessing
* set num frame to 1 for testing
* remove unuse print
* add text = self._clean_caption(text) again
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Aryan <contact.aryanvs@gmail.com >
Co-authored-by: Aryan <aryan@huggingface.co >
2024-07-11 15:06:22 +05:30
Alan Du
673eb60f1c
Reformat docstring for get_timestep_embedding ( #8811 )
...
* Reformat docstring for `get_timestep_embedding`
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-07-10 15:54:44 -10:00
Sayak Paul
a785992c1d
[Tests] fix more sharding tests ( #8797 )
...
* fix
* fix
* ugly
* okay
* fix more
* fix oops
2024-07-09 13:09:36 +05:30
Xu Cao
35cc66dc4c
Add pipeline_stable_diffusion_3_inpaint.py for SD3 Inference ( #8709 )
...
* Add pipeline_stable_diffusion_3_inpaint
---------
Co-authored-by: Xu Cao <xucao2@jrehg-work-01.cs.illinois.edu >
Co-authored-by: IrohXu <irohcao@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-07-08 15:53:02 -10:00
Tolga Cangöz
57084dacc5
Remove unnecessary lines ( #8569 )
...
* Remove unused line
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-08 10:42:02 -10:00
Zhuoqun(Jack) Chen
70611a1068
Fix static typing and doc typos ( #8807 )
...
* Fix static typing and doc typos
* Fix more same type hint typos with make fix-copies
2024-07-08 09:09:33 -10:00
PommesPeter
98388670d2
[Alpha-VLLM Team] Add Lumina-T2X to diffusers ( #8652 )
...
---------
Co-authored-by: zhuole1025 <zhuole1025@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-07-07 17:12:09 -10:00
YiYi Xu
9e9ed353a2
fix loading sharded checkpoints from subfolder ( #8798 )
...
* fix load sharded checkpoints from subfolder{
* style
* os.path.join
* add a small test
---------
Co-authored-by: sayakpaul <spsayakpaul@gmail.com >
2024-07-06 11:32:04 -10:00
apolinário
7833ed957b
Improve model card for push_to_hub trainers ( #8697 )
...
* Improve trainer model cards
* Update train_dreambooth_sd3.py
* Update train_dreambooth_lora_sd3.py
* add link to adapters loading doc
* Update train_dreambooth_lora_sd3.py
---------
Co-authored-by: Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com >
2024-07-05 12:18:41 +05:30
Dhruv Nair
85c4a326e0
Fix saving text encoder weights and kohya weights in advanced dreambooth lora script ( #8766 )
...
* update
* update
* update
2024-07-05 11:28:50 +05:30
Dhruv Nair
0bab9d6be7
[Single File] Allow loading T5 encoder in mixed precision ( #8778 )
...
* update
* update
* update
* update
2024-07-05 10:29:38 +05:30
Thomas Eding
2e2684f014
Add vae_roundtrip.py example ( #7104 )
...
* Add vae_roundtrip.py example
* Add cuda support to vae_roundtrip
* Move vae_roundtrip.py into research_projects/vae
* Fix channel scaling in vae roundrip and also support taesd.
* Apply ruff --fix for CI gatekeep check
---------
Co-authored-by: Álvaro Somoza <asomoza@users.noreply.github.com >
2024-07-04 01:53:09 -04:00
Sayak Paul
31adeb41cd
[Tests] fix sharding tests ( #8764 )
...
fix sharding tests
2024-07-04 08:50:59 +05:30
Aryan
a7b9634e95
Fix minor bug in SD3 img2img test ( #8779 )
...
fix minor bug in sd3 img2img
2024-07-03 07:45:37 -10:00
XCL
6b6b4bcffe
[Tencent Hunyuan Team] Add checkpoint conversion scripts and changed controlnet ( #8783 )
...
* add conversion files; changed controlnet for hunyuandit
* style
---------
Co-authored-by: xingchaoliu <xingchaoliu@tencent.com >
Co-authored-by: yiyixuxu <yixu310@gmail.com >
2024-07-03 07:45:18 -10:00
Linoy Tsaban
beb1c017ad
[advanced dreambooth lora] add clip_skip arg ( #8715 )
...
* add clip_skip
* style
* smol fix
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-03 12:15:16 -05:00
Sayak Paul
06ee4db3e7
[Chore] add dummy lora attention processors to prevent failures in other libs ( #8777 )
...
add dummy lora attention processors to prevent failures in other libs
2024-07-03 13:11:00 +05:30
Sayak Paul
84bbd2f4ce
Update README.md to include Colab link ( #8775 )
2024-07-03 07:46:38 +05:30
Sayak Paul
600ef8a4dc
Allow SD3 DreamBooth LoRA fine-tuning on a free-tier Colab ( #8762 )
...
* add experimental scripts to train SD3 transformer lora on colab
* add readme
* add colab
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* fix link in the notebook.
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-07-03 07:07:47 +05:30
Sayak Paul
984d340534
Revert "[LoRA] introduce LoraBaseMixin to promote reusability." ( #8773 )
...
Revert "[LoRA] introduce `LoraBaseMixin` to promote reusability. (#8670 )"
This reverts commit a2071a1837 .
2024-07-03 07:05:01 +05:30
Sayak Paul
a2071a1837
[LoRA] introduce LoraBaseMixin to promote reusability. ( #8670 )
...
* introduce to promote reusability.
* up
* add more tests
* up
* remove comments.
* fix fuse_nan test
* clarify the scope of fuse_lora and unfuse_lora
* remove space
2024-07-03 07:04:37 +05:30
YiYi Xu
d9f71ab3c3
correct attention_head_dim for JointTransformerBlock ( #8608 )
...
* add
* update sd3 controlnet
* Update src/diffusers/models/controlnet_sd3.py
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-02 07:42:25 -10:00
Jiwook Han
dd4b731e68
Reflect few contributions on philosophy.md that were not reflected on #8294 ( #8690 )
...
* Update philosophy.md
Some contributions were not reflected previously, so I am resubmitting them.
* Update docs/source/ko/conceptual/philosophy.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/ko/conceptual/philosophy.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-07-02 08:43:56 -07:00
Dhruv Nair
31b211bfe3
Fix mistake in Single File Docs page ( #8765 )
...
update
2024-07-02 12:45:49 +05:30