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
Patrick von Platen
357855f8fc
[Docs] Fix controlnet indent ( #6578 )
2024-01-15 18:12:55 +02:00
Steven Liu
a551ddf928
[docs] mask_blur and padding_mask_crop ( #6498 )
...
new inpaint features
2024-01-10 08:14:34 -08:00
Steven Liu
1d57892980
[docs] Callbacks ( #6471 )
...
edits
2024-01-10 08:14:07 -08:00
Steven Liu
3be7c96e28
[docs] Stable video diffusion ( #6472 )
...
svd
2024-01-09 09:21:58 -08:00
Sayak Paul
774f5c4581
minor changes to the SVD doc ( #6466 )
...
minor changes
2024-01-06 08:40:46 +05:30
YiYi Xu
3e2961f0b4
[doc] update inpaint doc to use apply_overlay ( #6364 )
...
add doc
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2024-01-02 11:16:36 -10:00
Sayak Paul
9d79991da0
[Docs] fix: video rendering on svd. ( #6330 )
...
fix: video rendering on svd.
2023-12-26 21:05:22 +01:00
Dhruv Nair
2026ec0a02
Interruptable Pipelines ( #5867 )
...
* add interruptable pipelines
* add tests
* updatemsmq
* add interrupt property
* make fix copies
* Revert "make fix copies"
This reverts commit 914b35332b .
* add docs
* add tutorial
* Update docs/source/en/tutorials/interrupting_diffusion_process.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update docs/source/en/tutorials/interrupting_diffusion_process.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* update
* fix quality issues
* fix
* update
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-12-26 22:39:26 +05:30
Steven Liu
5433962992
[docs] Batched seeds ( #6237 )
...
batched seed
2023-12-19 16:50:18 -08:00
raven
df476d9f63
[Docs] Fix a code example in the ControlNet Inpainting documentation ( #6236 )
...
fix document on masked image in inpainting controlnet
2023-12-19 13:14:37 -08:00
Fabio Rigano
b65928b556
Add support for IPAdapterFull ( #5911 )
...
* Add support for IPAdapterFull
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-12-07 06:40:39 -10:00
Lucain
75ada25048
Harmonize HF environment variables + deprecate use_auth_token ( #6066 )
...
* Harmonize HF environment variables + deprecate use_auth_token
* fix import
* fix
2023-12-06 22:22:31 +01:00
Steven Liu
b64f835ea7
[docs] Add Kandinsky 3 ( #5988 )
...
* add
* fix api docs
* edits
2023-12-04 10:11:15 -08:00
Steven Liu
6ba4c5395f
[docs] Fix SVD video ( #6004 )
...
Update svd.md
2023-12-01 16:07:47 +01:00
Steven Liu
f72b28c75b
[docs] Fix video link ( #5986 )
...
Update svd.md
2023-11-29 20:52:25 +01:00
Suraj Patil
ada8109d5b
Fix SVD doc ( #5983 )
...
fix url
2023-11-29 19:55:05 +01:00
Patrick von Platen
b34acbdcbc
[SDXL Turbo] Add some docs ( #5982 )
...
* add diffusers example
* add diffusers example
* Comment about making it faster
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
---------
Co-authored-by: Pedro Cuenca <pedro@huggingface.co >
2023-11-29 19:52:07 +01:00
Suraj Patil
63f767ef15
Add SVD ( #5895 )
...
* begin model
* finish blocks
* add_embedding
* addition_time_embed_dim
* use TimestepEmbedding
* fix temporal res block
* fix time_pos_embed
* fix add_embedding
* add conversion script
* fix model
* up
* add new resnet blocks
* make forward work
* return sample in original shape
* fix temb shape in TemporalResnetBlock
* add spatio temporal transformers
* add vae blocks
* fix blocks
* update
* update
* fix shapes in Alphablender and add time activation in res blcok
* use new blocks
* style
* fix temb shape
* fix SpatioTemporalResBlock
* reuse TemporalBasicTransformerBlock
* fix TemporalBasicTransformerBlock
* use TransformerSpatioTemporalModel
* fix TransformerSpatioTemporalModel
* fix time_context dim
* clean up
* make temb optional
* add blocks
* rename model
* update conversion script
* remove UNetMidBlockSpatioTemporal
* add in init
* remove unused arg
* remove unused arg
* remove more unsed args
* up
* up
* check for None
* update vae
* update up/mid blocks for decoder
* begin pipeline
* adapt scheduler
* add guidance scalings
* fix norm eps in temporal transformers
* add temporal autoencoder
* make pipeline run
* fix frame decodig
* decode in float32
* decode n frames at a time
* pass decoding_t to decode_latents
* fix decode_latents
* vae encode/decode in fp32
* fix dtype in TransformerSpatioTemporalModel
* type image_latents same as image_embeddings
* allow using differnt eps in temporal block for video decoder
* fix default values in vae
* pass num frames in decode
* switch spatial to temporal for mixing in VAE
* fix num frames during split decoding
* cast alpha to sample dtype
* fix attention in MidBlockTemporalDecoder
* fix typo
* fix guidance_scales dtype
* fix missing activation in TemporalDecoder
* skip_post_quant_conv
* add vae conversion
* style
* take guidance scale as input
* up
* allow passing PIL to export_video
* accept fps as arg
* add pipeline and vae in init
* remove hack
* use AutoencoderKLTemporalDecoder
* don't scale image latents
* add unet tests
* clean up unet
* clean TransformerSpatioTemporalModel
* add slow svd test
* clean up
* make temb optional in Decoder mid block
* fix norm eps in TransformerSpatioTemporalModel
* clean up temp decoder
* clean up
* clean up
* use c_noise values for timesteps
* use math for log
* update
* fix copies
* doc
* upcast vae
* update forward pass for gradient checkpointing
* make added_time_ids is tensor
* up
* fix upcasting
* remove post quant conv
* add _resize_with_antialiasing
* fix _compute_padding
* cleanup model
* more cleanup
* more cleanup
* more cleanup
* remove freeu
* remove attn slice
* small clean
* up
* up
* remove extra step kwargs
* remove eta
* remove dropout
* remove callback
* remove merge factor args
* clean
* clean up
* move to dedicated folder
* remove attention_head_dim
* docstr and small fix
* update unet doc strings
* rename decoding_t
* correct linting
* store c_skip and c_out
* cleanup
* clean TemporalResnetBlock
* more cleanup
* clean up vae
* clean up
* begin doc
* more cleanup
* up
* up
* doc
* Improve
* better naming
* better naming
* better naming
* better naming
* better naming
* better naming
* better naming
* better naming
* Apply suggestions from code review
* Default chunk size to None
* add example
* Better
* Apply suggestions from code review
* update doc
* Update src/diffusers/pipelines/stable_diffusion_video/pipeline_stable_diffusion_video.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
* style
* Get torch compile working
* up
* rename
* fix doc
* add chunking
* torch compile
* torch compile
* add modelling outputs
* torch compile
* Improve chunking
* Apply suggestions from code review
* Update docs/source/en/using-diffusers/svd.md
* Close diff tag
* remove slicing
* resnet docstr
* add docstr in resnet
* rename
* Apply suggestions from code review
* update tests
* Fix output type latents
* fix more
* fix more
* Update docs/source/en/using-diffusers/svd.md
* fix more
* add pipeline tests
* remove unused arg
* clean up
* make sure get_scaling receives tensors
* fix euler scheduler
* fix get_scalings
* simply euler for now
* remove old test file
* use randn_tensor to create noise
* fix device for rand tensor
* increase expected_max_difference
* fix test_inference_batch_single_identical
* actually fix test_inference_batch_single_identical
* disable test_save_load_float16
* skip test_float16_inference
* skip test_inference_batch_single_identical
* fix test_xformers_attention_forwardGenerator_pass
* Apply suggestions from code review
* update StableVideoDiffusionPipelineSlowTests
* update image
* add diffusers example
* fix more
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: apolinário <joaopaulo.passos@gmail.com >
2023-11-29 19:13:36 +01:00
Steven Liu
50a749e909
[docs] Fix space ( #5898 )
...
* fix
* minor edits
2023-11-27 11:50:59 -08:00
YiYi Xu
ba352aea29
[feat] IP Adapters (author @okotaku ) ( #5713 )
...
* add ip-adapter
---------
Co-authored-by: okotaku <to78314910@gmail.com >
Co-authored-by: sayakpaul <spsayakpaul@gmail.com >
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-21 07:34:30 -10:00
Sayak Paul
69412d0a15
[Docs] add: japanese sdxl as a reference ( #5844 )
...
add: japanese sdxl as a reference
2023-11-17 18:14:02 +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
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
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
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
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
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
M. Tolga Cangöz
7942bb8dc2
[Docs] Fix typos, improve, update at Using Diffusers' Task page ( #5611 )
...
* Fix typos, improve, update; kandinsky doesn't want fp16 due to deprecation; ogkalu and kohbanye don't have safetensor; add make_image_grid for better visualization
* Update inpaint.md
* Remove erronous Space
* Update docs/source/en/using-diffusers/conditional_image_generation.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update img2img.md
* load_image() already converts to RGB
* Update depth2img.md
* Update img2img.md
* Update inpaint.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-07 15:42:20 -08:00
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
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
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
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
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
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
Steven Liu
7c3a75a1ce
[docs] General updates ( #5378 )
...
* first draft
* feedback
* feedback
2023-10-24 11:51:55 -07: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
Heinz-Alexander Fuetterer
0ea78f9707
chore: fix typos ( #5386 )
...
* chore: fix typos
* Update src/diffusers/pipelines/shap_e/renderer.py
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com >
---------
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com >
2023-10-16 15:23:37 +02:00
Steven Liu
cf03f5b718
[docs] Minor fixes ( #5369 )
...
minor fixes
2023-10-11 17:18:29 -07:00
Soumik Rakshit
e00df25aee
Fix StableDiffusionXLImg2ImgPipeline creation in sdxl tutorial ( #5367 )
...
fix: StableDiffusionXLImg2ImgPipeline creation in sdxl tutorial
2023-10-11 13:07:53 +02:00
Steven Liu
a139213578
[docs] Create a mask for inpainting ( #5322 )
...
add mask making section
2023-10-10 08:29:27 -07:00
TimothyAlexisVass
016866792d
Minor fixes ( #5309 )
...
tiny fixes
2023-10-06 11:20:06 -07:00