Steven Liu
ff573ae245
[docs] Fix title ( #5831 )
...
fix section title
2023-11-17 08:53:11 +05:30
M. Tolga Cangöz
c697f52476
[Docs] Update and make improvements ( #5819 )
...
Update and make improvements
2023-11-16 13:47:25 -08:00
Suraj Patil
a042909c83
LCM-LoRA docs ( #5782 )
...
* begin doc
* fix examples
* add in toctree
* fix toctree
* improve copy
* improve introductions
* add lcm doc
* fix filename
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* address Sayak's comments
* remove controlnet aux
* open in colab
* move to Specific pipeline examples
* update controlent and adapter examples
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-16 16:19:27 +01:00
Suraj Patil
64cbd8e27a
Support LCM in ControlNet and Adapter pipelines. ( #5822 )
...
* support lcm
* fix tests
* fix tests
2023-11-16 14:59:50 +01:00
Aryan V S
038b42db94
Improve docs and type hints ( #5759 )
...
* improvement: docs and type hints
* improvement: docs and type hints
minor refactor
* improvement: docs and type hints
* update with suggestions from review
Co-Authored-By: Dhruv Nair <dhruv.nair@gmail.com >
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2023-11-16 14:00:32 +05:30
M. Tolga Cangöz
ecbe27a07f
[Docs] Fix typos and update files at API's Pipelines page 2 ( #5748 )
...
* Fix typos, update, add Copyright info, and trim trailing whitespace
* Update docs/source/en/api/pipelines/text_to_video_zero.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* 1 second is not a long video, but 6 seconds is
* Update text_to_video_zero.md
* Update text_to_video_zero.md
* Update text_to_video_zero.md
* Update wuerstchen.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-15 10:54:55 -08:00
M. Tolga Cangöz
3ad4207d1f
[Docs] Fix typos, update, and add visualizations at Using Diffusers' Pipelines for Inference Page ( #5649 )
...
* Fix typos, update, add visualizations
* Update sdxl.md
* Update controlnet.md
* Update docs/source/en/using-diffusers/shap-e.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/using-diffusers/shap-e.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update diffedit.md
* Update kandinsky.md
* Update sdxl.md
* Update controlnet.md
* Update docs/source/en/using-diffusers/controlnet.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/using-diffusers/controlnet.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update controlnet.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-15 10:30:01 -08:00
MilkClouds
3517fb9430
fix: enabled num_images_per_prompt>1 for lpw_stable_diffusion_xl (community pipeline) ( #5807 )
...
* fix: enabled num_images_per_prompt>1 for lpw_stable_diffusion_xl
* style: fixed isort
2023-11-15 07:40:29 -10:00
Dhruv Nair
cdadb023a2
Make Video Tests faster ( #5787 )
...
* update test
* update
2023-11-15 10:56:01 +05:30
M. Tolga Cangöz
51fd3dd206
[Docs] Remove .to('cuda') before .enable_model_cpu_offload() ( #5795 )
...
Remove .to('cuda') before cpu_offload, trim trailing whitespaces
2023-11-14 17:20:54 -08:00
Pedro Gabriel Gengo Lourenço
98457580c0
Fixed documentation of consistency decoder ( #5768 )
...
* Fixed doc for consistency decoder
* Style fix
2023-11-14 15:27:26 -08:00
M. Tolga Cangöz
3b37488fa3
Fix typos, improve, update at main-page files and .github files ( #5588 )
...
* Update keywords; remove version cuz it changes constantly?
* Update if necessary
* Fix typos and links
* version_range_max from PyTorch's setup.py; fix typos; 1 checklist is enough?
* Fix a typo
* Fix typos
* There is already a Blank issue link at the bottom of the page; direct to Diffusers' forum
* Add 🌐 Translating a New Language? page
* Update .github/ISSUE_TEMPLATE/translate.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
* Update PHILOSOPHY.md
* Update CONTRIBUTING.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update CONTRIBUTING.md
* Update CONTRIBUTING.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update PHILOSOPHY.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update README.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Add X account link
* Update setup.py
* Update CITATION.cff
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-14 11:46:52 -08:00
Kadir Nar
c7260ce253
🔧 Fix import codes in diffusers library ( #5792 )
...
* 🔧 Fix import codes in diffusers library
* ✨ Refactor imports in community examples
2023-11-14 11:37:59 -08:00
M. Tolga Cangöz
8092017d3f
[Docs] Fix typos and update files at API's Pipelines page 1 ( #5744 )
...
* Fix typos, update, add Copyright info, and trim trailing whitespace
* Update alt_diffusion.md
* Remove nonoperational demo
* Update docs/source/en/api/pipelines/consistency_models.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/api/pipelines/latent_consistency_models.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-14 10:36:20 -08:00
Steven Liu
bae14c8bcb
[docs] Update training docs ( #5512 )
...
* first draft
* try hfoption syntax
* fix hfoption id
* add text2image
* fix tag
* feedback
* feedbacks
* add textual inversion
* DreamBooth
* lora
* controlnet
* instructpix2pix
* custom diffusion
* t2i
* separate training methods and models
* sdxl
* kandinsky
* wuerstchen
* light edits
2023-11-14 10:29:56 -08:00
Sayak Paul
ded93f798c
[Refactor] refactor loaders.py to make it cleaner and leaner. ( #5771 )
...
* refactor loaders.py to make it cleaner and leaner.
* refactor loaders init
* inits.
* textual inversion to the init.
* inits.
* remove certain modules from the main init.
* AttnProcsLayers
* fix imports
* avoid circular import.
* fix circular import pt 2.
* address PR comments
* imports
* fix: imports.
* remove from main init for avoiding circular deps.
* remove spurious deps.
* fix-copies.
* fix imports.
* more debug
* more debug
* Apply suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-11-14 12:54:28 +01:00
Sayak Paul
a5720e9e31
[PixArt-Alpha] Fix PixArt-Alpha pipeline when number of images to generate is more than 1 ( #5752 )
...
* does this fix things?
* attention mask use
* attention mask order
* better masking.
* add: tesrt
* remove mask_featur
* test
* debug
* fix: tests
* deprecate mask_feature
* add deprecation test
* add slow test
* add print statements to retrieve the assertion values.
* fix for the 1024 fast tes
* fix tesy
* fix the remaining
* Apply suggestions from code review
* more debug
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-11-14 12:45:35 +01:00
Richard Löwenström
16d500455b
Use greater than or equal to in version comparisons for peft ( #5785 )
2023-11-14 12:17:51 +01:00
Yusuke Suzuki
210a07b13c
fix exception around NSFW filter on flax stable diffusion ( #5675 )
2023-11-14 12:16:52 +01:00
Patrick von Platen
0a0ebc7cb4
[LCM] Better error message ( #5788 )
2023-11-14 12:08:15 +01:00
Patrick von Platen
81df9c85de
Unwrap models everywhere ( #5789 )
...
more debug
2023-11-14 12:08:03 +01:00
takuoko
bfe94a3993
[Enhacne] Support maybe_raise_or_warn for peft ( #5653 )
...
* Support maybe_raise_or_warn for peft
* fix by comment
* unwrap function
2023-11-14 11:40:35 +01:00
Lukas Kuhn
c9c5436c94
download_from_original_stable_diffusion_ckpt initializes correct default pipeline for SDXL ( #5784 )
...
* feat: sdxl will be automatically detected as pipeline_class
* fix: formatting
* fix: formatting with black
* fix: import pipeline wrongly sorted
2023-11-14 11:35:26 +01:00
Sourab Mangrulkar
9c8eca702c
add lora delete feature ( #5738 )
...
* add lora delete feature
* added tests and changed condition
* deal with corner cases
* more corner cases
* rename to `delete_adapter_layers` for consistency
---------
Co-authored-by: younesbelkada <younesbelkada@gmail.com >
2023-11-14 10:51:13 +01:00
co63oc
069123f66e
Update checkpoint_merger.py ( #5780 )
2023-11-14 10:46:11 +01:00
Sayak Paul
ed759f0aee
[PixArt-Alpha] Introduce resolution binning ( #5739 )
...
* feat: add resolution binning
Co-authored-by: lawrence-cj <jschen@mail.dlut.edu.cn >
* rename
* debug
* add :test
* remove unused variable
* set resolution_binning to False.
---------
Co-authored-by: lawrence-cj <jschen@mail.dlut.edu.cn >
2023-11-14 08:34:59 +05:30
Long(Tony) Lian
5b231aa38b
Fix the pipeline name in the examples for LMD+ pipeline. Add a colab link to pipeline README. ( #5775 )
...
* Fix the pipeline name in the examples for LMD+ pipeline
* Add LMD+ colab link
* Apply code formatting
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-11-14 07:43:37 +05:30
M. Tolga Cangöz
a359ff7644
[Docs] Fix typos and update files at API's Main Classes, Models, and Schedulers pages ( #5720 )
...
* Fix typos, update, add Copyright info, and trim trailing whitespaces
* Update docs/source/en/api/loaders.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/api/models/autoencoder_tiny.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/api/models/autoencoder_tiny.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-13 14:32:59 -08:00
Steven Liu
4b45a1e147
[docs] Use other checkpoints with inpaint ( #5590 )
...
* tip about inpaint checkpoints
* expand section
* feedback
2023-11-13 12:39:30 -08:00
Steven Liu
f782ca112a
[docs] Callbacks ( #5735 )
...
* updates
* feedback
2023-11-13 12:11:07 -08:00
Steven Liu
80e78d2cac
[docs] Custom community components ( #5732 )
...
* fixes
* feedback
2023-11-13 11:01:52 -08:00
JacobYuan7
4d3b4e00ed
Update the reference for text_to_video.md ( #5706 )
...
* Update the reference for text_to_video.md
The original reference (VideoFusion) might be misleading. VideoFusion is not open-sourced. I am the co-first author of ModelScopeT2V. I change the referred paper to the right one.
* Update docs/source/en/api/pipelines/text_to_video.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-13 19:06:18 +01:00
Thuan H. Nguyen
8fcd52febb
Correct code for distributed training of RealFill ( #5740 )
...
Correct code for distributed training
2023-11-13 19:01:15 +01:00
Nicolas Hug
0488810f61
Fix realfill example compatibility with latest torchvision version ( #5736 )
2023-11-13 18:55:17 +01:00
Patrick von Platen
ef7787ea59
make style
2023-11-13 18:54:53 +01:00
Jianqi Pan
1ce4b5f3e3
fix: fix forward function signature of controlnet reference_only pipeline example ( #5717 )
...
fix: ignore other args
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-11-13 18:54:21 +01:00
Kashif Rasul
c9f847a70f
[Wuerstchen] fix for when USE_PEFT_BACKEND is True ( #5704 )
...
* fix for when USE_PEFT_BACKEND is True
* Update modeling_wuerstchen_prior.py
* revert change
* add lora tests
2023-11-13 18:37:55 +01:00
Younes Belkada
8789d0b6c7
fix styling issues on main ( #5754 )
...
fix styling issues
2023-11-13 20:05:15 +05:30
Long(Tony) Lian
b1fbef544c
Add LLM-grounded Diffusion (LMD+) pipeline ( #5634 )
...
* Add LLM-grounded Diffusion (LMD+) pipeline
* Update the formatting
* Applied formatting
2023-11-11 12:51:05 +05:30
YiYi Xu
a3476d5bd6
Controlnet Img2img: pass height and width to image_processor.preprocess ( #5665 )
...
pass height and width to image_processor.preprocess
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2023-11-10 06:53:20 -10:00
Sayak Paul
1477865e48
post release v0.23.0 ( #5730 )
...
* post release
* fix: variant test
* up
* fix: test
2023-11-10 16:35:44 +05:30
aihao
1f87f83e68
add load_datasete data_dir parameter ( #5747 )
2023-11-09 23:03:14 -10:00
Sayak Paul
77ba494b29
[ConsistencyDecoder] fix: doc type ( #5745 )
...
fix: doc type
2023-11-10 14:05:22 +05:30
Garry Dolley
1328aeb274
[Docs] Clarify that these are two separate examples ( #5734 )
...
* [Docs] Running the pipeline twice does not appear to be the intention of these examples
One is with `cross_attention_kwargs` and the other (next line) removes it
* [Docs] Clarify that these are two separate examples
One using `scale` and the other without it
2023-11-09 14:26:14 -08:00
M. Tolga Cangöz
53a8439fd1
[Docs] Fix typos and update files at Optimization Page ( #5674 )
...
* Fix typos, update, trim trailing whitespace
* Trim trailing whitespaces
* Update docs/source/en/optimization/memory.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/optimization/memory.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update _toctree.yml
* Update adapt_a_model.md
* Reverse
* Reverse
* Reverse
* Update dreambooth.md
* Update instructpix2pix.md
* Update lora.md
* Update overview.md
* Update t2i_adapters.md
* Update text2image.md
* Update text_inversion.md
* Update create_dataset.md
* Update create_dataset.md
* Update create_dataset.md
* Update create_dataset.md
* Update coreml.md
* Delete docs/source/en/training/create_dataset.md
* Original create_dataset.md
* Update create_dataset.md
* Delete docs/source/en/training/create_dataset.md
* Add original file
* Delete docs/source/en/training/create_dataset.md
* Add original one
* Delete docs/source/en/training/text2image.md
* Delete docs/source/en/training/instructpix2pix.md
* Delete docs/source/en/training/dreambooth.md
* Add original files
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-09 13:48:57 -08:00
Suraj Patil
db2d8e76f8
Add LCM Scripts ( #5727 )
...
* add lcm scripts
* Co-authored-by: dgu8957@gmail.com
2023-11-09 17:29:12 +01:00
Sayak Paul
bc2ba004c6
[LCM] add: locm docs. ( #5723 )
...
* add: locm docs.
* correct path
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
* Apply suggestions from code review
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* up
* add
---------
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-11-09 17:21:26 +01:00
Patrick von Platen
3d7eaf83d7
LCM Add Tests ( #5707 )
...
* lcm add tests
* uP
* Fix all
* uP
* Add
* all
* uP
* uP
* uP
* uP
* uP
* uP
* uP
2023-11-09 15:45:11 +01:00
Patrick von Platen
bf406ea886
Correct consist dec ( #5722 )
...
* uP
* Update src/diffusers/models/consistency_decoder_vae.py
* uP
* uP
2023-11-09 13:10:24 +01:00
Will Berman
2fd46405cd
consistency decoder ( #5694 )
...
* consistency decoder
* rename
* Apply suggestions from code review
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* Update src/diffusers/pipelines/consistency_models/pipeline_consistency_models.py
* uP
* Apply suggestions from code review
* uP
* uP
* uP
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-11-09 12:21:41 +01:00