Fabio Rigano
b5c8b555d7
Move IP Adapter Face ID to core ( #7186 )
...
* Switch to peft and multi proj layers
* Move Face ID loading and inference to core
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-04-18 14:13:27 -10:00
Steven Liu
7635d3d37f
[docs] Pipeline loading ( #7684 )
...
* pipelines
* schedulers and models
* community pipelines
* feedback
2024-04-17 15:42:27 -07:00
Steven Liu
d95b993427
[docs] T2I ( #7623 )
...
* refactor t2i
* add code snippets
2024-04-10 17:10:41 -07:00
Steven Liu
1d480298c1
[docs] Prompt enhancer ( #7565 )
...
* prompt enhance
* edits
* align titles
* feedback
* feedback
* feedback
* link to style
2024-04-10 16:09:06 -07:00
Junjie
7e808e768a
[Docs] fix bugs in callback docs ( #7594 )
2024-04-08 08:46:30 -10:00
YiYi Xu
7956c36aaa
add a from_pipe method to DiffusionPipeline ( #7241 )
...
* add from_pipe
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-04-01 13:02:00 -10:00
UmerHA
0302446819
Implements Blockwise lora ( #7352 )
...
* Initial commit
* Implemented block lora
- implemented block lora
- updated docs
- added tests
* Finishing up
* Reverted unrelated changes made by make style
* Fixed typo
* Fixed bug + Made text_encoder_2 scalable
* Integrated some review feedback
* Incorporated review feedback
* Fix tests
* Made every module configurable
* Adapter to new lora test structure
* Final cleanup
* Some more final fixes
- Included examples in `using_peft_for_inference.md`
- Added hint that only attns are scaled
- Removed NoneTypes
- Added test to check mismatching lens of adapter names / weights raise error
* Update using_peft_for_inference.md
* Update using_peft_for_inference.md
* Make style, quality, fix-copies
* Updated tutorial;Warning if scale/adapter mismatch
* floats are forwarded as-is; changed tutorial scale
* make style, quality, fix-copies
* Fixed typo in tutorial
* Moved some warnings into `lora_loader_utils.py`
* Moved scale/lora mismatch warnings back
* Integrated final review suggestions
* Empty commit to trigger CI
* Reverted emoty commit to trigger CI
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-03-29 21:15:57 +05:30
Sayak Paul
9613576191
add: space for calculating memory usagee. ( #7414 )
...
* add: space for calculating memory usahe.
* Update docs/source/en/using-diffusers/loading.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-03-22 08:43:21 +05:30
sayakpaul
3e1097cb63
Revert "add: space within docs to calculate mememory usage."
...
This reverts commit 78990dd960 .
2024-03-21 08:33:02 +05:30
sayakpaul
78990dd960
add: space within docs to calculate mememory usage.
2024-03-21 08:32:37 +05:30
M. Tolga Cangöz
3028089e5e
Fix typos ( #7411 )
...
* Fix typos
* Fix typo in SVD.md
2024-03-20 18:46:47 -07:00
Sayak Paul
b536f39818
[Custom Pipelines with Custom Components] fix multiple things ( #7304 )
...
* checking to improve pipelines.
* more fixes.
* add: tip to encourage the usage of revision
* Apply suggestions from code review
* retrigger ci
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-03-20 18:49:00 +05:30
Michael
b300517305
Add Intro page of TCD ( #7259 )
...
* add tcd intro
* resolve repos
* Apply suggestions from code review
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* revise NFEs related
* change inpainting location
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-03-13 09:21:51 -07:00
UmerHA
3f9c746fb2
Adds denoising_end parameter to ControlNetPipeline for SDXL ( #6175 )
...
* Initial commit
* Removed copy hints, as in original SDXLControlNetPipeline
Removed copy hints, as in original SDXLControlNetPipeline, as the `make fix-copies` seems to have issues with the @property decorator.
* Reverted changes to ControlNetXS
* Addendum to: Removed changes to ControlNetXS
* Added test+docs for mixture of denoiser
* 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 >
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-03-08 16:42:02 -10:00
Steven Liu
1f22c98820
[docs] IP-Adapter image embedding ( #7226 )
...
* update
* fix parameter name
* feedback
* add no mask version
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-03-08 08:49:58 -08:00
Steven Liu
f6df16cbb8
[docs] Community tips ( #7137 )
...
* tips
* feedback
* callback only
2024-03-07 15:17:26 -08:00
Steven Liu
3ce905c9d0
[docs] Merge LoRAs ( #7213 )
...
* merge loras
* feedback
* torch.compile
* feedback
2024-03-07 11:28:50 -08:00
bimsarapathiraja
f539497ab4
Remove the line. Using it create wrong output ( #7075 )
...
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-03-07 10:04:31 -08:00
Vinh H. Pham
13f0c8b219
[Docs] Update callback.md code example ( #7150 )
...
Update callback.md
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-03-05 08:44:19 +05:30
M. Tolga Cangöz
f4977abcd8
Fix typos ( #7181 )
...
* Fix typos
* Fix typos
* Fix typos and update documentation in lora.md
2024-03-04 10:28:23 -08:00
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
M. Tolga Cangöz
f4fc75035f
[Docs] Fix typos ( #7131 )
...
* Add copyright notice to relevant files and fix typos
* Set `timestep_spacing` parameter of `StableDiffusionXLPipeline`'s scheduler to `'trailing'`.
* Update `StableDiffusionXLPipeline.from_single_file` by including EulerAncestralDiscreteScheduler with `timestep_spacing="trailing"` param.
* Update model loading method in SDXL Turbo documentation
2024-02-29 13:03:01 -08:00
M. Tolga Cangöz
e51862bbed
[Docs] Fix typos ( #7118 )
...
Fix typos, formatting and remove trailing whitespace
2024-02-27 12:38:00 -08:00
Steven Liu
3dd4168d4c
[docs] Minor updates ( #7063 )
...
* updates
* feedback
2024-02-25 09:38:02 -08:00
bimsarapathiraja
66a7160f9d
Change images to image. The variable images is not used anywhere ( #7074 )
2024-02-23 10:40:21 -10:00
YiYi Xu
6fedbd850a
fix doc example for fom_single_file ( #7015 )
...
* fix doc
* remove use_safetensors from signature
* more
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2024-02-21 19:11:21 +05:30
Fabio Rigano
eba7e7a6d7
IP-Adapter attention masking ( #6847 )
...
* Add attention masking to attn processors
* Update tensor conversion
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-18 18:06:14 -10:00
Steven Liu
3a7e481611
[docs] Video generation ( #6701 )
...
* first draft
* fix path
* fix path
* i2vgen-xl
* review
* modelscopet2v
* feedback
2024-02-16 16:35:37 -08:00
Steven Liu
d649d6c6f3
[docs] Fix callout ( #6998 )
...
Update ip_adapter.md
2024-02-16 10:37:12 -10:00
Sayak Paul
e6d1728e0a
[IP Adapters] feat: allow low_cpu_mem_usage in ip adapter loading ( #6946 )
...
* feat: allow low_cpu_mem_usage in ip adapter loading
* reduce the number of device placements.
* documentation.
* throw low_cpu_mem_usage warning only once from the main entry point.
2024-02-15 15:37:17 +05:30
Steven Liu
9efe1e52c3
[docs] IP-Adapter ( #6897 )
...
* use cases
* first draft
* fix image links
* lcm-lora
* feedback
* review
* feedback
* feedback
2024-02-14 13:23:37 -08:00
Steven Liu
0a1daadef8
[docs] Community pipelines ( #6929 )
...
fix
2024-02-12 10:38:13 -08:00
Sayak Paul
30e5e81d58
change to 2024 in the license ( #6902 )
...
change to 2024
2024-02-08 08:19:31 -10:00
Félix Sanz
17612de451
fix: typo in callback function name and property ( #6834 )
...
* fix: callback function name is incorrect
On this tutorial there is a function defined and then used inside `callback_on_step_end` argument, but the name was not correct (mismatch)
* fix: typo in num_timestep (correct is num_timesteps)
fixed property name
2024-02-06 12:05:40 -08:00
YiYi Xu
2e8d18e699
[IP-Adapter] Support multiple IP-Adapters ( #6573 )
...
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Alvaro Somoza <somoza.alvaro@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-01-31 07:11:15 -10:00
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