Yasuna
0eb68d9ddb
[Docs] update: tutorials ja | AUTOPIPELINE.md ( #6629 )
...
* add en file
* translate 1-118 lines
* add text
* add toctree
* fix
* fix typo
* fix link
2024-01-23 09:19:55 -08:00
Haofan Wang
9941b3f124
Add InstantID Pipeline ( #6673 )
...
* add instantid pipeline
* format
* Update README.md
* Update README.md
* format
---------
Co-authored-by: ResearcherXman <xhs.research@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-01-23 17:25:23 +05:30
Ayush Mangal
16b9f98b48
[WIP][Community Pipeline] InstaFlow! One-Step Stable Diffusion with Rectified Flow ( #6057 )
...
* Add instaflow community pipeline
* Make styling fixes
* Add lora
* Fix formatting
* Add docs
* Update README.md
* Update README.md
* Remove do LORA
* Update readme
* Update README.md
* Update README.md
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-01-23 13:52:50 +02:00
Dhruv Nair
fee93c81eb
[Refactor] Update from single file ( #6428 )
...
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update'
* update
* update
* update
* update
* update
* update
* up
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* up
* update
* update
* update
* update
* update'
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* clean
* update
* update
* clean up
* clean up
* update
* clean
* clean
* update
* updaet
* clean up
* fix docs
* update
* update
* Revert "update"
This reverts commit dbfb8f1ea9 .
* update
* update
* update
* update
* fix controlnet
* fix scheduler
* fix controlnet tests
2024-01-23 14:42:03 +05:30
Sayak Paul
5308cce994
[Tests] Test for passing local config file to from_single_file() ( #6638 )
...
make config file local too.
2024-01-23 14:21:23 +05:30
YiYi Xu
318556b20e
fix dpm related slow test failure ( #6680 )
...
fix
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2024-01-22 18:52:05 -10:00
Dhruv Nair
6620eda357
Standardise outputs for video pipelines ( #6626 )
...
* update
* update
* update
* update
* update
* update
* update
* clean up
* clean up
2024-01-23 10:07:07 +05:30
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
M. Tolga Cangöz
5e96333cb2
Update README ( #6669 )
...
Update number of checkpoints and repositories in README
2024-01-22 08:08:07 -08:00
Sayak Paul
da95a28ff6
[Diffusion DPO] apply fixes from #6547 ( #6668 )
...
apply fixes from #6547
2024-01-22 20:14:54 +05:30
Dhruv Nair
d66d554dc2
Add tearDown method to LoRA tests. ( #6660 )
...
* update
* update
2024-01-22 14:00:37 +05:30
Junsong Chen
c7df846dec
add Sa-Solver ( #5975 )
...
* add Sa-Solver
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: scxue <xueshuchen17@mails.ucas.edu.cn >
Co-authored-by: jschen <chenjunsong4@h-partners.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2024-01-21 21:37:44 -10:00
Vinh H. Pham
8e7bbfbe5a
add padding_mask_crop to all inpaint pipelines ( #6360 )
...
* add padding_mask_crop
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-01-21 19:42:22 -10:00
YiYi Xu
e2773c6255
fix SDXL-kdiffusion tests ( #6647 )
...
🤞 🤞 🤞
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2024-01-19 17:37:29 -10:00
YiYi Xu
ac61eefc9f
fix DPM Scheduler with use_karras_sigmas option ( #6477 )
...
* fix
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-01-19 07:08:22 -10:00
HelloWorldBeginner
f95615b823
Fixed the bug related to saving DeepSpeed models. ( #6628 )
...
* Fixed the bug related to saving DeepSpeed models.
* Add information about training SD models using DeepSpeed to the README.
* Apply suggestions from code review
---------
Co-authored-by: mhh001 <mahonghao1@huawei.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-01-19 19:21:57 +05:30
SangKim
a9288b49c9
Modularize InstructPix2Pix SDXL inferencing during and after training in examples ( #6569 )
2024-01-19 15:47:34 +05:30
elucida
c54419658b
refactor: extract init/forward function in UNet2DConditionModel ( #6478 )
...
* - extract function for stage in UNet2DConditionModel init & forward
- Add new function get_mid_block() to unet_2d_blocks.py
* add type hint to get_mid_block aligned with get_up_block and get_down_block; rename _set_xxx function
* add type hint and use keyword arguments
* remove `copy from` in versatile diffusion
2024-01-19 12:13:34 +02:00
Aryan V S
6382663dc8
[Community] Experimental AnimateDiff Image to Video (open to improvements) ( #6509 )
...
* add animatediff img2vid
* fix
* Update examples/community/README.md
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* fix code snippet between ip adapter face id and animatediff img2vid
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-01-19 12:05:41 +02:00
spezialspezial
58b8dce129
Update convert_from_ckpt.py / read checkpoint config yaml contents ( #6633 )
...
Update convert_from_ckpt.py / read config yaml contents
Added missing reading of config yaml file contents
2024-01-19 08:25:03 +05:30
Dhruv Nair
a65ca8a059
Fix failing tests due to Posix Path ( #6627 )
...
update
2024-01-18 19:19:57 +05:30
Steven Liu
5ca062e011
[docs] Fix missing API function ( #6604 )
...
fix?
2024-01-17 13:59:09 -08:00
Linoy Tsaban
619e3ab6f6
[bug fix] advanced dreambooth lora sdxl - fixes bugs described in #6486 ( #6599 )
...
* fixes bugs:
1. redundant retraction
2. param clone
3. stopping optimization of text encoder params
* param upscaling
* style
2024-01-17 20:11:45 +05:30
Patrick von Platen
9e2804f720
Update pr_test_peft_backend.yml to use 1 process for testing ( #6613 )
2024-01-17 19:25:30 +05:30
Aryan V S
9112028ed8
FreeInit ( #6315 )
...
* freeinit
* update freeinit implementation based on review
Co-Authored-By: Dhruv Nair <dhruv.nair@gmail.com >
* fix
* another fix
* refactor
* fix timesteps missing bug
* apply suggestions from review
Co-Authored-By: Dhruv Nair <dhruv.nair@gmail.com >
* add test for freeinit
* apply suggestions from review
Co-Authored-By: Dhruv Nair <dhruv.nair@gmail.com >
* refactor
* fix test
* fix tensor not on same device
* update
* remove return_intermediate_results
* fix broken freeinit test
* update animatediff docs
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-01-17 17:17:07 +05:30
Steve Rhoades
dce06680d2
Fixes torch.compile() compatible training ( #6589 )
...
resolve conflicts
2024-01-17 07:47:03 +05:30
Bhavay Malhotra
dd63168319
Update installation.md ( #6438 )
...
* Update installation.md
* Update installation.md
* Update installation.md
2024-01-16 13:41:38 -08:00
Celestial Phineas
1040dfd9cc
[Fix] Multiple image conditionings in a single batch for StableDiffusionControlNetPipeline ( #6334 )
...
* [Fix] Multiple image conditionings in a single batch for `StableDiffusionControlNetPipeline`.
* Refactor `check_inputs` in `StableDiffusionControlNetPipeline` to avoid redundant codes.
* Make the behavior of MultiControlNetModel to be the same to the original ControlNetModel
* Keep the code change minimum for nested list support
* Add fast test `test_inference_nested_image_input`
* Remove redundant check for nested image condition in `check_inputs`
Remove `len(image) == len(prompt)` check out of `check_image()`
Co-authored-by: YiYi Xu <yixu310@gmail.com >
* Better `ValueError` message for incompatible nested image list size
Co-authored-by: YiYi Xu <yixu310@gmail.com >
* Fix syntax error in `check_inputs`
* Remove warning message for multi-ControlNets with multiple prompts
* Fix a typo in test_controlnet.py
Co-authored-by: YiYi Xu <yixu310@gmail.com >
* Add test case for multiple prompts, single image conditioning in `StableDiffusionMultiControlNetPipelineFastTests`
* Improved `ValueError` message for nested `controlnet_conditioning_scale`
* Documenting the behavior of image list as `StableDiffusionControlNetPipeline` input
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-01-16 10:40:55 -10:00
Sayak Paul
49a4b377c1
remove omegaconf from the residues 👋 ( #6600 )
...
remove omegaconf 👋
2024-01-16 21:55:41 +05:30
JuanCarlosPi
dff35a86e4
Change in ip-adapter docs. CLIPVisionModelWithProjection should be im… ( #6597 )
...
Change in ip-adapter docs. CLIPVisionModelWithProjection should be imported from transformers, not diffusers
2024-01-16 08:18:13 -08:00
Yondon Fu
8842bcadb9
[SVD] Return np.ndarray when output_type="np" ( #6507 )
...
[SVD] Fix output_type="np"
2024-01-16 14:51:36 +05:30
Steve Rhoades
181280baba
Fixes training resuming: Advanced Dreambooth LoRa Training ( #6566 )
...
* Fixes #6418 Advanced Dreambooth LoRa Training
* change order of import to fix nit
* fix nit, use cast_training_params
* remove torch.compile fix, will move to a new PR
* remove unnecessary import
2024-01-16 14:30:49 +05:30
Charchit Sharma
53f498d2a4
Use of Posix to better support Windows compatibility in testing_utils ( #6587 )
...
* changes in utils
* removed loc
2024-01-16 10:27:29 +02:00
Charchit Sharma
990860911f
change to posix for better Windows support for lora loaders ( #6590 )
...
* posix lora
* changes and style fix
2024-01-16 13:46:29 +05:30
Fabio Rigano
23eed39702
Fix path generation in IP Adapter ( #6564 )
...
* Fix path generation on Windows
* Update set_default_attn_processors
* Use pathlib
* Fix quality
* Fix copy
* Revert changes in set_default_attn_processors
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-01-16 11:25:22 +05:30
YiYi Xu
fefed44543
update slow test for SDXL k-diffusion pipeline ( #6588 )
...
update expected slice
2024-01-15 18:54:33 -10:00
Dong
814f56d2fe
🐛 fix ip-adapter controlnet img2img missing code ( #6528 )
...
* 🐛 fix ip-adapter controlnet img2img missing code
* 📝 edit test
* 📝 edit test
* 📝 run make style and quality
* 🎨 remove slow tests
2024-01-15 16:41:09 -10:00
SangKim
96d6e16550
Enable image resizing to adjust its height and width in StableDiffusionXLInstructPix2PixPipeline ( #6581 )
...
* Enable image resizing to adjust its height and width in StableDiffusionXLInstructPix2PixPipeline
* Ensure that validation is performed at every 'validation_step', not at every step
2024-01-16 07:50:34 +05:30
Aryan V S
c11de13588
[training] fix training resuming problem for fp16 (SD LoRA DreamBooth) ( #6554 )
...
* fix training resume
* update
* update
2024-01-16 07:27:06 +05:30
Patrick von Platen
357855f8fc
[Docs] Fix controlnet indent ( #6578 )
2024-01-15 18:12:55 +02:00
Fabio Rigano
f825221b5d
[Community Pipeline] IPAdapter FaceID ( #6276 )
...
* Add support for IPAdapter FaceID
* Add docs
* Move subfolder to kwargs
* Fix quality
* Fix image encoder loading
* Fix loading + add test
* Move to community folder
* Fix style
* Revert constant update
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-01-15 16:43:54 +02:00
Aryan V S
119d734f6e
[AnimateDiff+Controlnet] Fix multicontrolnet support ( #6551 )
...
* fix multicontrolnet support
* update README with multicontrolnet example
2024-01-15 16:36:54 +02:00
Sayak Paul
cb4b3f0b78
[OmegaConf] replace it with yaml ( #6488 )
...
* remove omegaconf from convert_from_ckpt.
* remove from single_file.
* change to string based ubscription.
* style
* okay
* fix: vae_param
* no . indexing.
* style
* style
* turn getattrs into explicit if/else
* style
* propagate changes to ldm_uncond.
* propagate to gligen
* propagate to if.
* fix: quotes.
* propagate to audioldm.
* propagate to audioldm2
* propagate to musicldm.
* propagate to vq_diffusion
* propagate to zero123.
* remove omegaconf from diffusers codebase.
2024-01-15 20:02:10 +05:30
Haofan Wang
3d574b3bbe
Fix a bug of flip in SDXL training script ( #6547 )
...
* Update train_text_to_image_sdxl.py
* Update train_text_to_image_lora_sdxl.py
2024-01-15 16:28:04 +02:00
Charchit Sharma
09903774d9
Make T2I Adapter SDXL Training Script torch.compile compatible ( #6577 )
...
update for t2i_adapter
2024-01-15 19:42:56 +05:30
dependabot[bot]
d6a70d8ba8
Bump jinja2 from 3.1.2 to 3.1.3 in /examples/research_projects/realfill ( #6539 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:10:10 +02:00
Charchit Sharma
e3103e171f
Make InstructPix2Pix SDXL Training Script torch.compile compatible ( #6576 )
...
* changes for pix2pix_sdxl
* style fix
2024-01-15 17:54:03 +05:30
Charchit Sharma
b053053ac9
Make InstructPix2Pix Training Script torch.compile compatible ( #6558 )
...
* added torch.compile for pix2pix
* required changes
2024-01-15 17:03:22 +05:30
Vinh H. Pham
08702fc1cb
Make text-to-image SDXL LoRA Training Script torch.compile compatible ( #6556 )
...
make compile compatible
2024-01-15 16:58:16 +05:30
Vinh H. Pham
7ce89e979c
Make text-to-image SD LoRA Training Script torch.compile compatible ( #6555 )
...
make compile compatible
2024-01-15 16:55:08 +05:30