YiYi Xu
fe03d5bce4
update flax controlnet training script ( #2951 )
...
* load_from_disk + checkpointing_steps
* apply feedback
2023-05-05 07:22:11 -07:00
Steven Liu
72f37316ee
[docs] Simplify loading guide ( #2694 )
...
* simplify loading guide
* apply feedbacks
* clarify variants
* clarify torch_dtype and variant
* remove conceptual pipeline doc
2023-05-05 07:22:11 -07:00
YiYi Xu
39ddd78c58
fix post-processing ( #2968 )
...
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2023-05-05 07:22:11 -07:00
YiYi Xu
a6f2d7224e
allow use custom local dataset for controlnet training scripts ( #2928 )
...
use custom local datset
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-05-05 07:22:11 -07:00
Lucain
1d3758f0a4
Use upload_folder in training scripts ( #2934 )
...
use upload folder in training scripts
Co-authored-by: testbot <lucainp@hf.co >
2023-05-05 07:22:11 -07:00
Patrick von Platen
72278553a3
make style
2023-05-05 07:22:11 -07:00
Ernie Chu
aee06e7cbb
Ensure validation image RGB not RGBA ( #2945 )
...
* ensure validation image RGB not RGBA
* ensure validation image RGB not RGBA
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-05-05 07:22:11 -07:00
Guspan Tanadi
11bcc6e895
Removing explicit markdown extension ( #2944 )
...
Trigger from previous PR. Build the page once again.
2023-05-05 07:22:11 -07:00
M. Tolga Cangöz
9ddd0ebaed
Update ddpm.mdx ( #2929 )
2023-05-05 07:22:11 -07:00
M. Tolga Cangöz
353e6b5fb3
Update ddim.mdx ( #2926 )
2023-05-05 07:22:11 -07:00
M. Tolga Cangöz
32039273b7
Update score_sde_vp.mdx ( #2938 )
2023-05-05 07:22:11 -07:00
M. Tolga Cangöz
909a0d86a4
Update score_sde_ve.mdx ( #2937 )
2023-05-05 07:22:11 -07:00
M. Tolga Cangöz
8ab78d3a23
Update unipc.mdx ( #2936 )
2023-05-05 07:22:11 -07:00
M. Tolga Cangöz
98e9d4d337
Update euler_ancestral.mdx ( #2932 )
2023-05-05 07:22:11 -07:00
Daniel Gu
10a174a12c
Fix code style with make style.
2023-05-05 05:21:01 -07:00
Daniel Gu
f2f336c871
Fix more bugs and make PatchEmbed position embedding configurable.
2023-05-05 05:19:00 -07:00
Daniel Gu
240940a1ea
Fix small bugs in pipeline_unidiffuser.py and convert_from_ckpt.py.
2023-04-24 21:14:06 -07:00
Daniel Gu
48f2c25f36
Fix bugs in convert_from_ckpt.py and UniDiffuserTextDecoder encode_prefix()
2023-04-24 21:02:05 -07:00
Daniel Gu
2fdb7b871b
Add convert_from_ckpt.py script to convert UniDiffuser checkpoints to their diffusers equivalents.
2023-04-20 22:02:20 -07:00
Daniel Gu
3c9b20e066
Alter the U-ViT implementation (UniDiffuserModel and associated building blocks) to more closely match the original UniDiffusers implementation.
2023-04-19 22:37:00 -07:00
Daniel Gu
84781fbd67
Fix noise pred timestep, clip_tokenizer, CLIP image encoding, and other bugs.
2023-04-17 19:06:19 -07:00
Daniel Gu
0300563861
Simplify the UTransformer2DModel / UniDiffuserModel implementation and fix some more bugs.
2023-04-16 22:25:15 -07:00
Daniel Gu
a492e0c86f
Add UniDiffuser classes to __init__ files, modify transformer block to support pre- and post-LN, add fast default tests, fix some bugs.
2023-04-14 00:54:02 -07:00
Daniel Gu
0140e33564
Refactor pipeline based on review (change __init__ design for UniDiffuserTextDecoder, add text_tokenizer to __init__ for UniDiffuserPipeline) and add mode inference and mode setting functions to UniDiffuserPipeline.
2023-04-06 01:45:16 -07:00
Daniel Gu
afe5ba0f20
Initial commit for a image-text UniDiffuser pipeline.
2023-04-03 23:40:20 -07:00
Sayak Paul
7139f0e874
fix: norm group test for UNet3D. ( #2959 )
2023-04-04 09:01:15 +01:00
Patrick von Platen
8c530fc2f6
make style
2023-03-31 23:46:28 +02:00
Patrick von Platen
723933f5f1
add another import
2023-03-31 23:45:05 +02:00
Patrick von Platen
f23d6eb8f2
fix missing import
2023-03-31 23:37:58 +02:00
wfng92
cd634a8fbb
Check for all different packages of opencv ( #2901 )
...
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-03-31 15:00:59 +01:00
Patrick von Platen
7447f75b9f
Update pipeline_stable_diffusion_controlnet.py ( #2917 )
2023-03-31 14:59:50 +01:00
Patrick von Platen
a5bdb678c0
fix importing diffusers without transformers installed
2023-03-31 13:56:38 +00:00
M. Tolga Cangöz
c43356267b
Update controlnet.mdx ( #2912 )
...
.
2023-03-31 14:32:36 +01:00
M. Tolga Cangöz
89b23d9869
Update image_variation.mdx ( #2911 )
...
.
2023-03-31 14:31:43 +01:00
Guspan Tanadi
419660c99b
Have fix current pipeline link ( #2910 )
...
Also capitalization notebook provider name
2023-03-31 14:31:14 +01:00
Patrick von Platen
d36103a089
[Tests] Speed up test ( #2919 )
...
speed up test
2023-03-31 14:20:46 +01:00
Nipun Jindal
b3c437e009
[2884]: Fix cross_attention_kwargs in StableDiffusionImg2ImgPipeline ( #2902 )
...
* [2884]: Fix cross_attention_kwargs in StableDiffusionImg2ImgPipeline
* [Build Fix]
* [Build Fix]
---------
Co-authored-by: njindal <njindal@adobe.com >
2023-03-31 13:26:04 +01:00
mengfei25
7b6caca9eb
Modify example with intel optimization ( #2896 )
...
* modify intel opts inference script
* modify readme
* modify doc
* fix some issues
* reformat
* reformat script
* format issue
* format issue
2023-03-31 13:07:20 +01:00
Sandeep
f3fbf9bfc0
Fix check_inputs in upscaler pipeline to allow embeds ( #2892 )
...
* Remove suggestion to use cuDNN benchmark in docs
* removing the wrong line
* add support for embeds
* fix line length
2023-03-31 12:46:20 +01:00
Patrick von Platen
e1144ac20c
Fix slow tests text inv ( #2915 )
...
* fix slow tests
* uP
2023-03-31 10:03:32 +01:00
Guillermo Cique
1055175a18
Fix textual inversion loading ( #2914 )
2023-03-31 09:52:48 +01:00
Takuma Mori
0df4ad541f
Add support Karras sigmas for StableDiffusionKDiffusionPipeline ( #2874 )
...
* add use_karras_sigmas option
thanks @Stax124
* fix sigma_min/max from scheduler.sigmas
* add docstring
* revert to use k_diffusion_model.sigma, to(device)
* add integration test
* make style
2023-03-31 09:12:11 +05:30
YiYi Xu
51d970d60d
[docs] add the Stable diffusion with Jax/Flax Guide into the docs ( #2487 )
...
* add stable diffusion jax guide
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-03-30 16:22:40 -10:00
Pi Esposito
a937e1b594
add load textual inversion embeddings to stable diffusion ( #2009 )
...
* add load textual inversion embeddings draft
* fix quality
* fix typo
* make fix copies
* move to textual inversion mixin
* make it accept from sd-concept library
* accept list of paths to embeddings
* fix styling of stable diffusion pipeline
* add dummy TextualInversionMixin
* add docstring to textualinversionmixin
* add load textual inversion embeddings draft
* fix quality
* fix typo
* make fix copies
* move to textual inversion mixin
* make it accept from sd-concept library
* accept list of paths to embeddings
* fix styling of stable diffusion pipeline
* add dummy TextualInversionMixin
* add docstring to textualinversionmixin
* add case for parsing embedding from auto1111 UI format
Co-authored-by: Evan Jones <evan.a.jones3@gmail.com >
Co-authored-by: Ana Tamais <aninhamoraestamais@gmail.com >
* fix style after rebase
* move textual inversion mixin to loaders
* move mixin inheritance to DiffusionPipeline from StableDiffusionPipeline)
* update dummy class name
* addressed allo comments
* fix old dangling import
* fix style
* proposal
* remove bogus
* Apply suggestions from code review
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Will Berman <wlbberman@gmail.com >
* finish
* make style
* up
* fix code quality
* fix code quality - again
* fix code quality - 3
* fix alt diffusion code quality
* fix model editing pipeline
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* Finish
---------
Co-authored-by: Evan Jones <evan.a.jones3@gmail.com >
Co-authored-by: Ana Tamais <aninhamoraestamais@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Will Berman <wlbberman@gmail.com >
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2023-03-30 18:08:39 +01:00
Michael Gartsbein
1d033a95f6
img2img.multiple.controlnets.pipeline ( #2833 )
...
* img2img.multiple.controlnets.pipeline
* remove comments
---------
Co-authored-by: mishka <gartsocial@gmail.com >
2023-03-30 18:00:12 +01:00
Patrick von Platen
49609768b4
make style
2023-03-30 18:26:41 +02:00
Alon Burg
9062b2847d
Support fp16 in conversion from original ckpt ( #2733 )
...
add --half to convert_original_stable_diffusion_to_diffusers.py
2023-03-30 17:26:18 +01:00
YiYi Xu
b3d5cc4a36
add flax requirement ( #2894 )
...
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2023-03-30 17:10:26 +01:00
Sayak Paul
b2021273eb
[Docs] add an example use for StableUnCLIPPipeline in the pipeline docs ( #2897 )
...
* improve stable unclip doc.
* add: entry of StableUnCLIPPipeline to the docs
* Apply suggestions from code review
Co-authored-by: apolinario <joaopaulo.passos@gmail.com >
---------
Co-authored-by: apolinario <joaopaulo.passos@gmail.com >
2023-03-30 17:14:04 +05:30
Steven Liu
e47459c80f
[docs] Performance tutorial ( #2773 )
...
* update performance tutorial
* fix divs
* oops forgot to close tag
* apply feedback
* apply feedback
* apply feedback
* align doc title
2023-03-29 12:48:14 -07:00