sayakpaul
b5752ec4bf
resolve conflicts
2023-11-06 11:04:34 +05:30
YiYi Xu
2b23ec82e8
add callbacks to denoising step ( #5427 )
...
* draft1
* update
* style
* move to the end of loop
* update
* update callbak_on_step_end_inputs
* Revert "update"
This reverts commit 5f9b153183 .
* Revert "update callbak_on_step_end_inputs"
This reverts commit 44889f4dab .
* update
* update test required_optional_params
* remove self.lora_scale
* img2img
* inpaint
* Apply suggestions from code review
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* fix
* apply feedbacks on img2img + inpaint: keep only important pipeline attributes
* depth
* pix2pix
* make _callback_tensor_inputs an class variable so that we can use it for testing
* add a basic tst for callback
* add a read-only tensor input timesteps + fix tests
* add second test for callback cfg
* sdxl
* sdxl img2img
* sdxl inpaint
* kandinsky prior
* kandinsky decoder
* kandinsky img2img + combined
* kandinsky inpaint
* fix copies
* fix
* consistent default inputs
* fix copies
* wuerstchen_prior prior
* test_wuerstchen_decoder + fix test for prior
* wuerstchen_combined pipeline + skip tests
* skip test for kandinsky combined
* lcm
* remove timesteps etc
* add doc string
* copies
* Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* Update src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* make style and improve tests
* up
* up
* fix more
* fix cfg test
* tests for callbacks
* fix for real
* update
* lcm img2img
* add doc
* add doc page to index
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2023-11-05 20:00:41 +01:00
M. Tolga Cangöz
a35e72b032
[Docs] Fix typos, improve, update at Using Diffusers' Tecniques page ( #5627 )
...
Fix typos, improve, update; better visualization
2023-11-03 13:51:41 +01:00
Sayak Paul
60c5eb5877
[Easy] clean up the LCM docstrings. ( #5637 )
...
* clean up the LCM docstrings.
* clean up
* fix: examples
* Apply suggestions from code review
2023-11-03 12:14:48 +01:00
Sayak Paul
c84982a804
[Easy] Minor AnimateDiff Doc nits ( #5640 )
...
minor
2023-11-03 16:27:54 +05:30
Dhruv Nair
84e7bb875d
Update animatediff docs to include section on Motion LoRAs ( #5639 )
...
update animatediff docs
2023-11-03 15:53:59 +05:30
Patrick von Platen
072e00897a
[LCM] Make sure img2img works ( #5632 )
...
* [LCM] Clean up implementations
* Add all
* correct more
* correct more
* finish
* up
2023-11-02 19:50:47 +01:00
M. Tolga Cangöz
b91d5ddd1a
[Docs] Fix typos, improve, update at Using Diffusers' Loading & Hub page ( #5584 )
...
* Fix typos, improve, update
* Change to trending and apply some Grammarly fixes
* Grammarly fixes
* Update loading_adapters.md
* Update loading_adapters.md
* Update other-formats.md
* Update push_to_hub.md
* Update loading_adapters.md
* Update loading.md
* Update docs/source/en/using-diffusers/push_to_hub.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update schedulers.md
* Update docs/source/en/using-diffusers/loading.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/using-diffusers/loading_adapters.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update A1111 LoRA files part
* Update other-formats.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-02 11:05:43 -07:00
sayakpaul
157405436b
update doc.
2023-11-02 22:26:04 +05:30
sayakpaul
d69f3079a8
Merge branch 'main' into feat/workflows
2023-11-02 22:20:45 +05:30
Dhruv Nair
2a8cf8e39f
Animatediff Proposal ( #5413 )
...
* draft design
* clean up
* clean up
* clean up
* clean up
* clean up
* clean up
* clean up
* clean up
* clean up
* update pipeline
* clean up
* clean up
* clean up
* add tests
* change motion block
* clean up
* clean up
* clean up
* update
* update
* update
* update
* update
* update
* update
* update
* clean up
* update
* update
* update model test
* update
* update
* update
* update
* make style
* update
* fix embeddings
* update
* merge upstream
* max fix copies
* fix bug
* fix mistake
* add docs
* update
* clean up
* update
* clean up
* clean up
* fix docstrings
* fix docstrings
* update
* update
* clean up
* update
2023-11-02 15:04:03 +01:00
M. Tolga Cangöz
9ced7844da
[Docs] Fix typos, improve, update at Conceptual Guides page ( #5585 )
...
* Fix typos, improve, update
* Update docs/source/en/conceptual/contribution.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/conceptual/contribution.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/conceptual/philosophy.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update philosophy.md
* Update philosophy.md
* Update docs/source/en/conceptual/philosophy.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/using-diffusers/controlling_generation.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/using-diffusers/controlling_generation.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Remove e.g.; some Grammarly fixes
* Update docs/source/en/conceptual/philosophy.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update contribution.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-02 12:55:23 +01:00
Sayak Paul
b81f709fb6
[remote code] document trust remote code. ( #5620 )
...
document trust remote code.
2023-11-02 12:02:31 +01:00
sayakpaul
6697144a7d
fix: toc
2023-11-02 10:58:29 +05:30
sayakpaul
6af69f5639
Merge branch 'main' into feat/workflows
2023-11-02 10:40:28 +05:30
sayakpaul
c28ea5e6c6
separate api page
2023-11-02 10:39:12 +05:30
sayakpaul
cb8902394d
clean docs.
2023-11-02 10:35:41 +05:30
Sayak Paul
5c8d5df564
Apply suggestions from code review
...
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-02 10:31:30 +05:30
Steven Liu
75ea54a151
[docs] Kandinsky guide ( #4555 )
...
* kandinsky 2.1 first draft
* add kandinsky 2.2
* fix identical section headers
* try hfoptions syntax
* add img2img
* add inpaint
* add interpolate
* fix tag
* more cleanups
* typo
* update hfoptions id
* align hfoptions tags
2023-11-01 15:36:22 -07:00
M. Tolga Cangöz
b81c69e489
[Docs] Fix typos, improve, update at Get Started page ( #5587 )
...
* Fix typos, improve, update
* Update _toctree.yml
* Update docs/README.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/README.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Apply Grammarly fixes
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-01 22:11:57 +01:00
Steven Liu
d1eb14bc35
[docs] Lu lambdas ( #5602 )
...
lu lambdas
2023-11-01 11:47:11 -07:00
M. Tolga Cangöz
5c75a5fbc4
[Docs] Fix typos, improve, update at Tutorials page ( #5586 )
...
* Fix typos, improve, update
* Update autopipeline.md
* Update docs/source/en/tutorials/using_peft_for_inference.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/tutorials/using_peft_for_inference.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/tutorials/using_peft_for_inference.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-01 10:40:47 -07:00
M. Tolga Cangöz
442017ccc8
[Docs] Fix typos ( #5583 )
...
* Add Copyright info
* Fix typos, improve, update
* Update deepfloyd_if.md
* Update ldm3d_diffusion.md
* Update opt_overview.md
2023-10-31 10:04:08 -07:00
sayakpaul
abdb4ffbc6
more fixes.
2023-10-29 17:11:39 +05:30
sayakpaul
87174fc208
load from a workflow directly
2023-10-29 17:09:36 +05:30
sayakpaul
425e75bc79
remove prompt_embeds.
2023-10-29 17:06:28 +05:30
sayakpaul
cbc835b870
correct output.
2023-10-29 10:59:31 +05:30
sayakpaul
0e40d6ffd6
fix
2023-10-29 10:37:52 +05:30
sayakpaul
b3a675288d
corrections to doc.
2023-10-29 10:31:13 +05:30
sayakpaul
84de851116
change the path
2023-10-28 10:11:55 +05:30
sayakpaul
eae28adf40
some more notes
2023-10-28 10:08:54 +05:30
Sayak Paul
450198061e
Apply suggestions from code review
...
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-10-28 10:04:17 +05:30
Gabriel de Souza
9135e54e76
docs: initial pt translation ( #5549 )
...
* docs: initial pt translation
* docs: add pt build to github workflow and fix some missing translations
2023-10-27 10:51:35 -07:00
Steven Liu
595ba6f786
[docs] Internal classes API ( #5513 )
...
* internal classes api
* add internal class overview
* fix toctree
2023-10-27 09:48:41 -07:00
sayakpaul
7fa7259ded
fix: doc
2023-10-27 15:17:38 +05:30
sayakpaul
b576a1dc47
fix: doc
2023-10-27 15:06:27 +05:30
sayakpaul
93ce75f4e5
add: entry to toctree
2023-10-27 14:25:29 +05:30
sayakpaul
b42bcb86ea
add: doc
2023-10-27 14:22:48 +05:30
YiYi Xu
f912f39b50
correct checkpoint in kandinsky2.2 doc page ( #5550 )
...
update checkpoint
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2023-10-27 08:49:15 +05:30
Steven Liu
bc8a08f67c
[docs] Loader docs ( #5473 )
...
* first draft
* make fix-copies
* add peft section
* manual fix
* make fix-copies again
* manually revert changes to other files
2023-10-25 09:45:05 -07:00
Chengxi Guo
dcbfe662ef
fix typo ( #5505 )
...
Signed-off-by: mymusise <mymusise1@gmail.com >
2023-10-24 17:14:05 -07:00
dg845
958e17dada
Add Latent Consistency Models Pipeline ( #5448 )
...
* initial commit for LatentConsistencyModelPipeline and LCMScheduler based on the community pipeline
* Add callback and freeu support.
* apply suggestions from review
* Clean up LCMScheduler
* Remove timeindex argument to LCMScheduler.step.
* Add support for clipping or thresholding the predicted original sample.
* Remove unused methods and arguments in LCMScheduler.
* Improve comment about (lack of) negative prompt support.
* Change input guidance_scale to match the StableDiffusionPipeline (Imagen) CFG formulation.
* Move lcm_origin_steps from pipeline __call__ to LCMScheduler.__init__/config (as origin_steps).
* Fix typo when clipping/thresholding in LCMScheduler.
* Add some initial LCMScheduler tests.
* add type annotations from review
* Fix type annotation bug.
* Override test_add_noise_device in LCMSchedulerTest since hardcoded timesteps doesn't work under default settings.
* Add generator argument pipeline prepare_latents call.
* Cast LCMScheduler.timesteps to long in set_timesteps.
* Add onestep and multistep full loop scheduler tests.
* Set default height/width to None and don't hardcode guidance scale embedding dim.
* Add initial LatentConsistencyPipeline fast and slow tests.
* Add initial documentation for LatentConsistencyModelPipeline and LCMScheduler.
* Make remaining failing fast tests pass.
* make style
* Make original_inference_steps configurable from pipeline __call__ again.
* make style
* Remove guidance_rescale arg from pipeline __call__ since LCM currently doesn't support CFG.
* Make LCMScheduler defaults match config of LCM_Dreamshaper_v7 checkpoint.
* Fix LatentConsistencyPipeline slow tests and add dummy expected slices.
* Add checks for original_steps in LCMScheduler.set_timesteps.
* make fix-copies
* Improve LatentConsistencyModelPipeline docs.
* Apply suggestions from code review
Co-authored-by: Aryan V S <avs050602@gmail.com >
* Apply suggestions from code review
Co-authored-by: Aryan V S <avs050602@gmail.com >
* Apply suggestions from code review
Co-authored-by: Aryan V S <avs050602@gmail.com >
* Update src/diffusers/schedulers/scheduling_lcm.py
* Apply suggestions from code review
Co-authored-by: Aryan V S <avs050602@gmail.com >
* finish
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Aryan V S <avs050602@gmail.com >
2023-10-24 21:06:02 +02:00
Steven Liu
7c3a75a1ce
[docs] General updates ( #5378 )
...
* first draft
* feedback
* feedback
2023-10-24 11:51:55 -07:00
Isamu Isozaki
b8896a154a
Japanese docs ( #5478 )
...
* Finished _toctree.yml and index.md
* Finished installation.md
* Properly finished installation.md and almost finished quicktour
* Finished quicktour
* Finished stable diffusion doc
* Fixed _toctree.yml
* Fixed requests
* Fix country code
* Properly push
2023-10-24 11:30:04 -07:00
Sayak Paul
77241c48af
[Core] Refactor activation and normalization layers ( #5493 )
...
* move out the activations.
* move normalization layers.
* add doc.
* add doc.
* fix: paths
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* style
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-10-24 08:49:43 +05:30
Abhishar Sinha
096f84b05f
Fixed autoencoder typo ( #5500 )
2023-10-23 13:59:00 -07:00
YiYi Xu
9e1edfc1ad
fix a few issues in controlnet inpaint pipelines ( #5470 )
...
* add
* Update docs/source/en/api/pipelines/controlnet_sdxl.md
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-10-23 09:24:51 -10:00
Steven Liu
6b06c30a65
[docs] Fix links ( #5499 )
...
fix links
2023-10-23 20:39:29 +02:00
Kyunghwan Kim
6e608d8a35
Fix typo in controlnet docs ( #5486 )
2023-10-23 20:36:35 +02:00
Susheel Thapa
324d18fba2
Chore: Typo fixed in multiple files ( #5422 )
2023-10-17 08:17:03 -07:00