Oleh
9a2600ede9
Map speedup ( #6745 )
...
* Speed up dataset mapping
* Fix missing columns
* Remove cache files cleanup
* Update examples/text_to_image/train_text_to_image_sdxl.py
* make style
* Fix code style
* style
* Empty-Commit
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com >
Co-authored-by: Quentin Lhoest <lhoest.q@gmail.com >
2024-03-01 21:38:21 +05:30
Sayak Paul
5f150c4cef
fix: loading problem for sdxl lora dreambooth ( #7166 )
2024-03-01 19:30:48 +05:30
Quentin Lhoest
66f8bd6869
Fix vae_encodings_fn hash in train_text_to_image_sdxl.py ( #7171 )
...
Update train_text_to_image_sdxl.py
2024-03-01 16:56:54 +05:30
YiYi Xu
06b01ea87e
[ip-adapter] refactor prepare_ip_adapter_image_embeds and skip load image_encoder ( #7016 )
...
* add
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-29 15:38:49 -10:00
elucida
fa633ed6de
refactor: move model helper function in pipeline to a mixin class ( #6571 )
...
* move model helper function in pipeline to EfficiencyMixin
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-28 09:26:39 -10:00
Sayak Paul
7db935a141
fix kwarg in the SDXL LoRA DreamBooth ( #7124 )
...
* fix kwarg
* Empty-Commit
2024-02-28 10:21:28 +05:30
Sayak Paul
7081a25618
[Examples] Multiple enhancements to the ControlNet training scripts ( #7096 )
...
* log_validation unification for controlnet.
* additional fixes.
* remove print.
* better reuse and loading
* make final inference run conditional.
* Update examples/controlnet/README_sdxl.md
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* resize the control image in the snippet.
---------
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2024-02-27 09:18:46 +05:30
M. Tolga Cangöz
ad310af0d6
Fix EMA in train_text_to_image_sdxl.py ( #7048 )
...
* Fix typos
2024-02-26 10:39:57 -10:00
jiqing-feng
fd0f469568
Resize image before crop ( #7095 )
...
resize first
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-26 11:14:08 +05:30
Aryan
3a66113306
[Community] Bug fix + Latest IP-Adapter impl. for AnimateDiff img2vid/controlnet ( #7086 )
...
* fix img2vid; update to latest ip-adapter impl
* update README
* update animatediff controlnet to latest impl
2024-02-26 10:27:42 +05:30
Vinh H. Pham
7f16187182
Modularize Dreambooth LoRA SDXL inferencing during and after training ( #6655 )
...
* modularize log validation
* run make style
* revert import wandb
* fix code quality & import wandb
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-26 09:53:12 +05:30
Vinh H. Pham
f11b922b4f
Modularize Dreambooth LoRA SD inferencing during and after training ( #6654 )
...
* modulize log validation
* run make style and refactor wanddb support
* remove redundant initialization
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-26 09:01:39 +05:30
Aryan
bbf70c8739
Fix truthy-ness condition in pipelines that use denoising_start ( #6912 )
...
* fix denoising start
* fix tests
* remove debug
2024-02-24 23:39:22 -10:00
M. Tolga Cangöz
738c986957
[Refactor] StableDiffusionReferencePipeline inheriting from DiffusionPipeline ( #7071 )
...
Refactor StableDiffusionReferencePipeline to inherit from DiffusionPipeline rather than StableDiffusionPipeline
2024-02-23 22:04:31 -10:00
caiyueliang
c09bb588d3
fix: TensorRTStableDiffusionPipeline cannot set guidance_scale ( #7065 )
2024-02-23 14:59:02 -10:00
Chong-U Lim
f05ee56b2f
Fix docstring of community pipeline imagic ( #7062 )
2024-02-23 09:37:52 -08:00
M. Tolga Cangöz
34cc7f9b98
Fix typos ( #7068 )
2024-02-23 09:24:51 -08:00
M. Tolga Cangöz
53605ed00a
[Refactor] save_model_card function in text_to_image examples ( #7051 )
...
* Refactor save_model_card function to handle images and repo_folder parameters
* Discard changes to examples/text_to_image/train_text_to_image.py
* Discard changes to examples/text_to_image/train_text_to_image_lora_sdxl.py
* Update train_text_to_image_lora.py
* Update train_text_to_image_sdxl.py
2024-02-23 20:57:37 +05:30
Lincoln Stein
d5f444de4b
Update checkpoint_merger pipeline to pass the "variant" argument ( #6670 )
...
* make checkpoint_merger pipeline pass the "variant" argument to from_pretrained()
* make style
---------
Co-authored-by: Lincoln Stein <lstein@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-02-21 15:45:50 -10:00
M. Tolga Cangöz
5a54dc9e95
Fix typos in text_to_image examples ( #7050 )
...
Update copyright information and fix typos in text_to_image examples
2024-02-21 16:40:45 -08:00
pravdomil
1b3cfb1b10
update header ( #6596 )
...
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-02-20 10:09:15 -08:00
ustcuna
12004bf3a7
[Community Pipelines]Accelerate inference of stable diffusion xl (SDXL) by IPEX on CPU ( #6683 )
...
* add stable_diffusion_xl_ipex community pipeline
* make style for code quality check
* update docs as suggested
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-02-19 13:39:08 +01:00
Bhavay Malhotra
777063e1bf
Update textual_inversion.py ( #6952 )
...
* Update textual_inversion.py
* Apply suggestions from code review
* Update textual_inversion.py
* Update textual_inversion.py
* Update textual_inversion.py
* Update textual_inversion.py
* Update examples/textual_inversion/textual_inversion.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* Update textual_inversion.py
* styling
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-16 15:39:51 +05:30
Stephen
104afbce84
Standardize model card for textual inversion sdxl ( #6963 )
...
* standardize model card
* fix tags
* correct import styling and update tags
* run make style and make quality
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-16 14:27:11 +05:30
co63oc
c0f5346a20
Fix procecss process ( #6591 )
...
* Fix words
* Fix
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-02-15 19:06:33 -10:00
Paakhhi
7e164d98a8
Fix diffusers import prompt2prompt ( #6927 )
...
* Bugfix: correct import for diffusers
* Fix: Prompt2Prompt example
* Format style
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-02-15 15:30:16 -10:00
Linoy Tsaban
8f2c7b4df0
[advanced sdxl lora script] - fix #6967 bug when using prior preservation loss ( #6968 )
...
* fix bug in micro-conditioning of class images
* fix bug in micro-conditioning of class images
* style
2024-02-15 12:20:05 +05:30
Alex Umnov
e7696e20f9
Updated lora inference instructions ( #6913 )
...
* Updated lora inference instructions
* Update examples/dreambooth/README.md
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* Update README.md
* Update README.md
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-13 09:35:20 +05:30
Piyush Thakur
4b89aeffe1
[Type annotations] fixed in save_model_card ( #6948 )
...
fixed type annotations
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-13 08:56:45 +05:30
Piyush Thakur
75aee39eac
[Model Card] standardize T2I Adapter Sdxl model card ( #6947 )
...
standardize model card template t21-adapter-sdxl
2024-02-12 16:43:20 +05:30
Piyush Thakur
e1bdcc7af3
[Model Card] standardize T2I Sdxl Lora model card ( #6944 )
...
* standardize model card template t2i-lora-sdxl
* type annotations
2024-02-12 11:45:40 +05:30
Piyush Thakur
6f336650c3
[Model Card] standardize T2I Sdxl model card ( #6942 )
...
standardize model card template t2i-sdxl
2024-02-12 10:01:20 +05:30
Piyush Thakur
06a042cd0e
[Model Card] standardize T2I Lora model card ( #6940 )
...
standardize model card t2i-lora
2024-02-12 10:01:13 +05:30
Piyush Thakur
8772496586
[Model Card] standardize T2I model card ( #6939 )
...
* standardize model card
* fix base_model
2024-02-12 10:00:41 +05:30
Sayak Paul
7c8cab313e
post release 0.26.2 ( #6885 )
...
* post release
* style
* Empty-Commit
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-02-09 07:36:38 -10:00
Bingxin Ke
98b6bee1a1
[Community Pipeline][Bug Fix] marigold_depth_estimation: input image value range ( #6787 )
...
[FIX] IMPORTANT: rgb normalization
2024-02-09 16:55:37 +01:00
camaro
59c307f1d5
Standardize model card for Controlnet ( #6910 )
...
* controlnet
* style
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-09 12:29:08 +05:30
Sayak Paul
159885adc6
correct hub_token exposition behaviour (thanks to @bghira). ( #6918 )
2024-02-08 18:38:27 -10:00
camaro
f07899a57c
Standardize model card for Controlnet SDXL ( #6908 )
...
controlnet-sdxl
2024-02-09 07:53:39 +05:30
camaro
a83cc0c0bc
Standardize model card for Controlnet flax ( #6909 )
...
* controlnet-flax
* style
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-09 07:52:56 +05:30
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
shaoxiaowang
e6c9c2513f
fix examples/community/pipeline_stable_diffusion_xl_instantid.py ( #6759 )
...
Co-authored-by: wangshaoxiao <wangshaoxiao@xiaomi.com >
2024-02-08 10:09:40 -10:00
Michael
f5c9be3a0a
Remove <cat-toy> validation prompt from examples/textual_inversion/textual_inversion_sdxl.py ( #6877 )
...
Remove <cat-toy> validation prompt from textual_inversion_sdxl.py
The `<cat-toy>` validation prompt is a default choice for the example task in the README. But no other part of `textual_inversion_sdxl.py` references the cat toy and `textual_inversion.py` has a default validation prompt of `None` as well.
So bring `textual_inversion_sdxl.py` in line with `textual_inversion.py` and change default validation prompt to `None`
2024-02-08 09:46:06 -10:00
Sayak Paul
30e5e81d58
change to 2024 in the license ( #6902 )
...
change to 2024
2024-02-08 08:19:31 -10:00
Srimanth Agastyaraju
a11b0f83b7
Fix: training resume from fp16 for SDXL Consistency Distillation ( #6840 )
...
* Fix: training resume from fp16 for lcm distill lora sdxl
* Fix coding quality - run linter
* Fix 1 - shift mixed precision cast before optimizer
* Fix 2 - State dict errors by removing load_lora_into_unet
* Update train_lcm_distill_lora_sdxl.py - Revert default cache dir to None
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-08 11:09:29 +05:30
camaro
4a3d52850b
fix: keyword argument mismatch ( #6895 )
2024-02-08 09:37:56 +05:30
Sayak Paul
76696dca55
[Model Card] standardize dreambooth model card ( #6729 )
...
* feat: standarize model card creation for dreambooth training.
* correct 'inference
* remove comments.
* take component out of kwargs
* style
* add: card template to have a leaner description.
* widget support.
* propagate changes to train_dreambooth_lora
* propagate changes to custom diffusion
* make widget properly type-annotated
2024-02-07 15:07:11 +05:30
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
Linoy Tsaban
fbdf26bac5
[dreambooth lora sdxl] add sdxl micro conditioning ( #6795 )
...
* add micro conditioning
* remove redundant lines
* style
* fix missing 's'
* fix missing shape bug due to missing RGB if statement
* remove redundant if, change arg order
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-04 16:00:09 +02:00
Fabio Rigano
13001ee315
Bugfix in IPAdapterFaceID ( #6835 )
2024-02-03 08:56:55 -10:00