Aryan
cbc2ec8f44
AnimateDiff prompt travel ( #9231 )
...
* update
* implement prompt interpolation
* make style
* resnet memory optimizations
* more memory optimizations; todo: refactor
* update
* update animatediff controlnet with latest changes
* refactor chunked inference changes
* remove print statements
* undo memory optimization changes
* update docstrings
* fix tests
* fix pia tests
* apply suggestions from review
* add tests
* update comment
2024-08-28 14:48:12 +05:30
Frank (Haofan) Wang
b5f591fea8
Update __init__.py ( #9286 )
2024-08-27 07:57:25 -10:00
Dhruv Nair
05b38c3c0d
Fix Flux CLIP prompt embeds repeat for num_images_per_prompt > 1 ( #9280 )
...
update
2024-08-27 07:41:12 -10:00
Dhruv Nair
8f7fde5701
[CI] Update Release Tests ( #9274 )
...
* update
* update
2024-08-27 18:34:00 +05:30
Dhruv Nair
a59672655b
Fix Freenoise for AnimateDiff V3 checkpoint. ( #9288 )
...
update
2024-08-27 18:30:39 +05:30
Marçal Comajoan Cara
9aca79f2b8
Replace transformers.deepspeed with transformers.integrations.deepspeed ( #9281 )
...
to avoid "FutureWarning: transformers.deepspeed module is deprecated and will be removed in a future version. Please import deepspeed modules directly from transformers.integrations"
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-08-27 18:08:23 +05:30
Steven Liu
bbcf2a8589
[docs] Add pipelines to table ( #9282 )
...
update pipelines
2024-08-27 12:15:30 +05:30
Álvaro Somoza
4cfb2164fb
[IP Adapter] Fix cache_dir and local_files_only for image encoder ( #9272 )
...
initial fix
2024-08-26 09:03:08 -10:00
Linoy Tsaban
c977966502
[Dreambooth flux] bug fix for dreambooth script (align with dreambooth lora) ( #9257 )
...
* fix shape
* fix prompt encoding
* style
* fix device
* add comment
2024-08-26 17:29:58 +05:30
YiYi Xu
1ca0a75567
refactor 3d rope for cogvideox ( #9269 )
...
* refactor 3d rope
* repeat -> expand
2024-08-25 11:57:12 -10:00
王奇勋
c1e6a32ae4
[Flux] Support Union ControlNet ( #9175 )
...
* refactor
---------
Co-authored-by: haofanwang <haofanwang.ai@gmail.com >
2024-08-25 00:24:21 -10:00
yangpei-comp
77b2162817
Bugfix in pipeline_kandinsky2_2_combined.py: Image type check mismatch ( #9256 )
...
Update pipeline_kandinsky2_2_combined.py
Bugfix on image type check mismatch
2024-08-23 08:38:47 -10:00
Dhruv Nair
4e66513a74
[CI] Run Fast + Fast GPU Tests on release branches. ( #9255 )
...
* update
* update
2024-08-23 19:34:37 +05:30
Dhruv Nair
4e74206b0c
[Single File] Add Flux Pipeline Support ( #9244 )
...
update
2024-08-23 14:40:43 +05:30
Dhruv Nair
255ac592c2
[Single File] Support loading Comfy UI Flux checkpoints ( #9243 )
...
update
2024-08-23 14:40:29 +05:30
Sayak Paul
2d9ccf39b5
[Core] fuse_qkv_projection() to Flux ( #9185 )
...
* start fusing flux.
* test
* finish fusion
* fix-copues
2024-08-23 10:54:13 +05:30
zR
960c149c77
Cogvideox-5B Model adapter change ( #9203 )
...
* draft of embedding
---------
Co-authored-by: Aryan <aryan@huggingface.co >
2024-08-22 16:03:29 -10:00
YiYi Xu
dc07fc29da
fix _identify_model_variants ( #9247 )
...
merge now, will add/fix test next
2024-08-22 12:00:17 -10:00
Elias Rad
805bf33fa7
Docs fix spelling issues ( #9219 )
...
* fix PHILOSOPHY.md
* fix CONTRIBUTING.md
* fix tutorial_overview.md
* fix stable_diffusion.md
* Update tutorial_overview.md
2024-08-22 13:38:07 -07:00
Aryan
0ec64fe9fc
[tests] fix broken xformers tests ( #9206 )
...
* fix xformers tests
* remove unnecessary modifications to cogvideox tests
* update
2024-08-22 15:17:47 +05:30
Sayak Paul
5090b09d48
[Flux LoRA] support parsing alpha from a flux lora state dict. ( #9236 )
...
* support parsing alpha from a flux lora state dict.
* conditional import.
* fix breaking changes.
* safeguard alpha.
* fix
2024-08-22 07:01:52 +05:30
Sayak Paul
32d6492c7b
[Core] Tear apart from_pretrained() of DiffusionPipeline ( #8967 )
...
* break from_pretrained part i.
* part ii.
* init_kwargs
* remove _fetch_init_kwargs
* type annotation
* dtyle
* switch to _check_and_update_init_kwargs_for_missing_modules.
* remove _check_and_update_init_kwargs_for_missing_modules.
* use pipeline_loading_kwargs.
* remove _determine_current_device_map.
* remove _filter_null_components.
* device_map fix.
* fix _update_init_kwargs_with_connected_pipeline.
* better handle custom pipeline.
* explain _maybe_raise_warning_for_inpainting.
* add example for model variant.
* fix
2024-08-22 06:50:57 +05:30
Steven Liu
43f1090a0f
[docs] Network alpha docstring ( #9238 )
...
fix docstring
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-08-22 06:46:29 +05:30
YiYi Xu
c291617518
Flux followup ( #9074 )
...
* refactor rotary embeds
* adding jsmidt as co-author of this PR for https://github.com/huggingface/diffusers/pull/9133
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Joseph Smidt <josephsmidt@gmail.com >
2024-08-21 08:44:58 -10:00
satani99
9003d75f20
Add StableDiffusionXLControlNetPAGImg2ImgPipeline ( #8990 )
...
* Added pad controlnet sdxl img2img pipeline
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-08-21 07:24:22 -10:00
Dhruv Nair
750bd79206
[Single File] Fix configuring scheduler via legacy kwargs ( #9229 )
...
update
2024-08-21 21:15:20 +05:30
YiYi Xu
214372aa99
fix a regression in is_safetensors_compatible ( #9234 )
...
fix
2024-08-21 18:56:55 +05:30
Vinh H. Pham
867e0c919e
StableDiffusionLatentUpscalePipeline - positive/negative prompt embeds support ( #8947 )
...
* make latent upscaler accept prompt embeds
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-08-20 18:00:55 -10:00
Sangwon Lee
16a3dad474
Fix StableDiffusionXLPAGInpaintPipeline ( #9128 )
2024-08-20 11:54:27 -10:00
Disty0
21682bab7e
Custom sampler support for Stable Cascade Decoder ( #9132 )
...
Custom sampler support Stable Cascade Decoder
2024-08-20 09:56:53 -10:00
Vishnu V Jaddipal
214990e5f2
Fix ``from_single_file`` for xl_inpaint ( #9054 )
2024-08-20 12:09:01 +05:30
Dhruv Nair
cf2c49b179
Remove M1 runner from Nightly Test ( #9193 )
...
* update
* update
2024-08-20 11:44:58 +05:30
Leo Jiang
eda36c4c28
Fix dtype error for StableDiffusionXL ( #9217 )
...
Fix dtype error
Co-authored-by: 蒋硕 <jiangshuo9@h-partners.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-08-20 06:58:50 +05:30
Zoltan
803e817e3e
Add vae slicing and tiling to flux pipeline ( #9122 )
...
add vae slicing and tiling to flux pipeline
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-08-19 10:39:45 -10:00
YiYi Xu
67f5cce294
fix autopipeline for kolors img2img ( #9212 )
...
fix
2024-08-19 07:40:15 -10:00
Jiwook Han
d72bbc68a9
Reflect few contributions on contribution.md that were not reflected on #8294 ( #8938 )
...
* incorrect_number_fix
* add_TOC
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* fix: manual edits
* fix: manual edtis
* fix: manual edits
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* Update docs/source/ko/conceptual/contribution.md
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
* fix: manual edits
---------
Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com >
2024-08-19 09:54:38 -07:00
Dhruv Nair
9ab80a99a4
[CI] Add fail-fast=False to CUDA nightly and slow tests ( #9214 )
...
* update
* update
2024-08-19 16:08:35 +05:30
Dhruv Nair
940b8e0358
[CI] Multiple Slow Test fixes. ( #9198 )
...
* update
* update
* update
* update
2024-08-19 13:31:09 +05:30
Dhruv Nair
b2add10d13
Update is_safetensors_compatible check ( #8991 )
...
* update
* update
* update
* update
* update
2024-08-19 11:35:22 +05:30
Wenlong Wu
815d882217
Add loading text inversion ( #9130 )
2024-08-19 09:26:27 +05:30
M Saqlain
ba4348d9a7
[Tests] Improve transformers model test suite coverage - Lumina ( #8987 )
...
* Added test suite for lumina
* Fixed failing tests
* Improved code quality
* Added function docstrings
* Improved formatting
2024-08-19 08:29:03 +05:30
townwish4git
d25eb5d385
fix(sd3): fix deletion of text_encoders etc ( #8951 )
...
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-08-18 15:37:40 -10:00
Tolga Cangöz
7ef8a46523
[Docs] Fix CPU offloading usage ( #9207 )
...
* chore: Fix cpu offloading usage
* Trim trailing white space
* docs: update Kolors model link in kolors.md
2024-08-18 13:12:12 -10:00
Sayak Paul
f848febacd
feat: allow sharding for auraflow. ( #8853 )
2024-08-18 08:47:26 +05:30
Beinsezii
b38255006a
Add Lumina T2I Auto Pipe Mapping ( #8962 )
2024-08-16 23:14:17 -10:00
Jianqi Pan
cba548d8a3
fix(pipeline): k sampler sigmas device ( #9189 )
...
If Karras is not enabled, a device inconsistency error will occur. This is due to the fact that sigmas were not moved to the specified device.
2024-08-16 22:43:42 -10:00
Álvaro Somoza
db829a4be4
[IP Adapter] Fix object has no attribute with image encoder ( #9194 )
...
* fix
* apply suggestion
2024-08-17 02:00:04 -04:00
Sayak Paul
e780c05cc3
[Chore] add set_default_attn_processor to pixart. ( #9196 )
...
add set_default_attn_processor to pixart.
2024-08-16 13:07:06 +05:30
C
e649678bf5
[Flux] Optimize guidance creation in flux pipeline by moving it outside the loop ( #9153 )
...
* optimize guidance creation in flux pipeline by moving it outside the loop
* use torch.full instead of torch.tensor to create a tensor with a single value
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-08-16 10:14:05 +05:30
Sayak Paul
39b87b14b5
feat: allow flux transformer to be sharded during inference ( #9159 )
...
* feat: support sharding for flux.
* tests
2024-08-16 10:00:51 +05:30