sayakpaul
cd4d0d8ffb
Release: v0.32.0
2024-12-23 20:26:28 +05:30
hlky
0ac52d6f09
Use torch in get_2d_rotary_pos_embed ( #10155 )
...
* Use `torch` in `get_2d_rotary_pos_embed`
* Add deprecation
2024-12-17 18:26:52 -10:00
cjkangme
9c68c945e9
[Community Pipeline] Fix typo that cause error on regional prompting pipeline ( #10251 )
...
fix: fix typo that cause error
2024-12-17 21:09:50 +00:00
Linoy Tsaban
cef0e3677e
[RF inversion community pipeline] add eta_decay ( #10199 )
...
* add decay
* add decay
* style
2024-12-13 11:04:26 +02:00
hlky
f2d348d904
Remove negative_* from SDXL callback ( #10203 )
...
* Remove `negative_*` from SDXL callback
* Change example and add XL version
2024-12-12 20:58:50 +00:00
Linoy Tsaban
43534a8d1f
[community pipeline rf-inversion] - fix example in doc ( #10179 )
...
* fix example in doc
* remove redundancies
* change param
2024-12-11 00:30:05 +02:00
Linoy Tsaban
c9e4fab42c
[community pipeline] Add RF-inversion Flux pipeline ( #9816 )
...
* initial commit
* update denoising loop
* fix scheduling
* style
* fix import
* fixes
* fixes
* style
* fixes
* change invert
* change denoising & check inputs
* shape & timesteps fixes
* timesteps fixes
* style
* remove redundancies
* small changes
* update documentation a bit
* update documentation a bit
* update documentation a bit
* style
* change strength param, remove redundancies
* style
* forward ode loop change
* add inversion progress bar
* fix image_seq_len
* revert to strength but == 1 by default.
* style
* add "copied from..." comments
* credit authors
* make style
* return inversion outputs without self-assigning
* adjust denoising loop to generate regular images if inverted latents are not provided
* adjust denoising loop to generate regular images if inverted latents are not provided
* fix import
* comment
* remove redundant line
* modify comment on ti
* Update examples/community/pipeline_flux_rf_inversion.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update examples/community/pipeline_flux_rf_inversion.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update examples/community/pipeline_flux_rf_inversion.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update examples/community/pipeline_flux_rf_inversion.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update examples/community/pipeline_flux_rf_inversion.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update examples/community/pipeline_flux_rf_inversion.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update examples/community/pipeline_flux_rf_inversion.py
Co-authored-by: hlky <hlky@hlky.ac >
* fix syntax error
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: hlky <hlky@hlky.ac >
2024-12-10 12:41:12 +02:00
Parag Ekbote
cf258948b2
Notebooks for Community Scripts-4 ( #10094 )
...
* Add Diffuser Notebooks for Community Scripts.
* Add missing link.
* Styling Improvement.
2024-12-03 10:23:00 -08:00
Dimitri Barbot
069186fac5
Add sdxl controlnet reference community pipeline ( #9893 )
...
* Add reference_attn & reference_adain support for sdxl with other controlnet
* Update README.md
* Update README.md by replacing human example with a cat one
Replace human example with a cat one
* Replace default human example with a cat one
* Use example images from huggingface documentation-images repository
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-11-28 17:12:07 +05:30
cjkangme
69c83d6eed
[Community Pipeline] Add some feature for regional prompting pipeline ( #9874 )
...
* [Fix] fix bugs of regional_prompting pipeline
* [Feat] add base prompt feature
* [Fix] fix __init__ pipeline error
* [Fix] delete unused args
* [Fix] improve string handling
* [Docs] docs to use_base in regional_prompting
* make style
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-11-28 16:54:23 +05:30
Dimitri Barbot
e44fc75acb
Update sdxl reference pipeline to latest sdxl pipeline ( #9938 )
...
* Update sdxl reference community pipeline
* Update README.md
Add example images.
* Style & quality
* Use example images from huggingface documentation-images repository
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-11-28 16:34:56 +05:30
Parag Ekbote
8d477daed5
Notebooks for Community Scripts-3 ( #10032 )
...
* Add Notebooks for Community Scripts
in ReadME.
* Minor Script Improvement.
2024-11-26 23:05:45 -10:00
Parag Ekbote
03bf77c4af
Notebooks for Community Scripts-2 ( #9952 )
...
4 Notebooks for Community Scripts and minor
script improvements.
2024-11-18 12:58:57 -08:00
Parag Ekbote
1dbd26fa23
Notebooks for Community Scripts Examples ( #9905 )
...
* Add Notebooks on Community Scripts
2024-11-12 14:08:48 -10:00
Michael Tkachuk
5b972fbd6a
Enabling gradient checkpointing in eval() mode ( #9878 )
...
* refactored
2024-11-08 09:03:26 -10:00
Sookwan Han
e2b3c248d8
Add new community pipeline for 'Adaptive Mask Inpainting', introduced in [ECCV2024] ComA ( #9228 )
...
* Add new community pipeline for 'Adaptive Mask Inpainting', introduced in [ECCV2024] Beyond the Contact: Discovering Comprehensive Affordance for 3D Objects from Pre-trained 2D Diffusion Models
2024-11-05 15:05:58 -10:00
Raul Ciotescu
c5376c5695
adds the pipeline for pixart alpha controlnet ( #8857 )
...
* add the controlnet pipeline for pixart alpha
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: junsongc <cjs1020440147@icloud.com >
2024-10-28 08:48:04 -10:00
Sayak Paul
e45c25d03a
post-release 0.31.0 ( #9742 )
...
* post-release
* style
2024-10-22 20:42:30 +05:30
Tolga Cangöz
1b64772b79
Fix schedule_shifted_power usage in 🪆 Matryoshka Diffusion Models ( #9723 )
...
* [matryoshka.py] Add schedule_shifted_power attribute and update get_schedule_shifted method
2024-10-21 14:23:50 -10:00
hlky
89565e9171
Add prompt scheduling callback to community scripts ( #9718 )
2024-10-19 14:22:22 -03:00
wony617
fff4be8e23
[docs] refactoring docstrings in community/hd_painter.py ( #9593 )
...
* [docs] refactoring docstrings in community/hd_painter.py
* Update examples/community/hd_painter.py
Co-authored-by: Aryan <contact.aryanvs@gmail.com >
* make style
---------
Co-authored-by: Aryan <contact.aryanvs@gmail.com >
Co-authored-by: Aryan <aryan@huggingface.co >
2024-10-15 18:50:12 +05:30
Tolga Cangöz
56c21150d8
[Community Pipeline] Add 🪆 Matryoshka Diffusion Models ( #9157 )
2024-10-14 11:38:44 -10:00
Ryan Lin
68d16f7806
Flux - soft inpainting via differential diffusion ( #9268 )
...
* Flux - soft inpainting via differential diffusion
* .
* track changes to FluxInpaintPipeline
* make mask arrangement simplier
* make style
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Álvaro Somoza <asomoza@users.noreply.github.com >
Co-authored-by: asomoza <somoza.alvaro@gmail.com >
2024-10-14 10:07:48 -03:00
M Saqlain
3033f08201
Add Differential Diffusion to Kolors ( #9423 )
...
* Added diff diff support for kolors img2img
* Fized relative imports
* Fized relative imports
* Added diff diff support for Kolors
* Fized import issues
* Added map
* Fized import issues
* Fixed naming issues
* Added diffdiff support for Kolors img2img pipeline
* Removed example docstrings
* Added map input
* Updated latents
Co-authored-by: Álvaro Somoza <asomoza@users.noreply.github.com >
* Updated `original_with_noise`
Co-authored-by: Álvaro Somoza <asomoza@users.noreply.github.com >
* Improved code quality
---------
Co-authored-by: Álvaro Somoza <asomoza@users.noreply.github.com >
2024-10-11 10:47:31 -03:00
Sayak Paul
6ca5a58e43
[Community Pipeline] Batched implementation of Flux with CFG ( #9513 )
...
* batched implementation of flux cfg.
* style.
* readme
* remove comments.
2024-09-25 15:25:15 +05:30
Anatoly Belikov
5d476f57c5
adapt masked im2im pipeline for SDXL ( #7790 )
...
* adapt masked im2im pipeline for SDXL
* usage for masked im2im stable diffusion XL pipeline
* style
* style
* style
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-09-17 16:55:49 -10:00
Linoy Tsaban
8fcfb2a456
[Flux with CFG] add flux pipeline with cfg support ( #9445 )
...
* true_cfg
* add check negative prompt/embeds inputs
* move to community pipelines
* move to community pipelines
* revert true cfg changes to the orig pipline
* style
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-09-16 12:09:34 -10:00
suzukimain
b52119ae92
[docs] Replace runwayml/stable-diffusion-v1-5 with Lykon/dreamshaper-8 ( #9428 )
...
* [docs] Replace runwayml/stable-diffusion-v1-5 with Lykon/dreamshaper-8
Updated documentation as runwayml/stable-diffusion-v1-5 has been removed from Huggingface.
* Update docs/source/en/using-diffusers/inpaint.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Replace with stable-diffusion-v1-5/stable-diffusion-v1-5
* Update inpaint.md
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-09-16 10:18:45 -07:00
Álvaro Somoza
82058a5413
post release 0.30.0 ( #9173 )
...
* post release
* fix quality
2024-08-14 12:55:55 +05:30
Monjoy Narayan Choudhury
1fcb811a8e
Add Differential Diffusion to HunyuanDiT. ( #9040 )
...
* Add Differential Pipeline.
* Fix Styling Issue using ruff -fix
* Add details to Contributing.md
* Revert "Fix Styling Issue using ruff -fix"
This reverts commit d347de162d .
* Revert "Revert "Fix Styling Issue using ruff -fix""
This reverts commit ce7c3ff216 .
* Revert README changes
* Restore README.md
* Update README.md
* Resolved Comments:
* Fix Readme based on review
* Fix formatting after make style
---------
Co-authored-by: Aryan <aryan@huggingface.co >
2024-08-08 18:53:39 +05:30
Tolga Cangöz
3dc97bd148
Update CLIPFeatureExtractor to CLIPImageProcessor and DPTFeatureExtractor to DPTImageProcessor ( #9002 )
...
* fix: update `CLIPFeatureExtractor` to `CLIPImageProcessor` in codebase
* `make style && make quality`
* Update `DPTFeatureExtractor` to `DPTImageProcessor` in codebase
* `make style`
---------
Co-authored-by: Aryan <aryan@huggingface.co >
2024-08-05 09:20:29 -10:00
asfiyab-nvidia
3dc10a535f
Update TensorRT txt2img and inpaint community pipelines ( #9037 )
...
* Update TensorRT txt2img and inpaint community pipelines
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
* update tensorrt install instructions
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
---------
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-08-04 16:00:40 +05:30
Tolga Cangöz
7071b7461b
Errata: Fix typos & \s+$ ( #9008 )
...
* Fix typos
* chore: Fix typos
* chore: Update README.md for promptdiffusion example
* Trim trailing white spaces
* Fix a typo
* update number
* chore: update number
* Trim trailing white space
* Update README.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 >
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2024-08-02 21:24:25 -07:00
Anatoly Belikov
f240a936da
handle lora scale and clip skip in lpw sd and sdxl community pipelines ( #8988 )
...
* handle lora scale and clip skip in lpw sd and sdxl
* use StableDiffusionLoraLoaderMixin
* use StableDiffusionXLLoraLoaderMixin
* style
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-30 07:19:28 +05:30
Sayak Paul
d87fe95f90
[Chore] add LoraLoaderMixin to the inits ( #8981 )
...
* introduce to promote reusability.
* up
* add more tests
* up
* remove comments.
* fix fuse_nan test
* clarify the scope of fuse_lora and unfuse_lora
* remove space
* rewrite fuse_lora a bit.
* feedback
* copy over load_lora_into_text_encoder.
* address dhruv's feedback.
* fix-copies
* fix issubclass.
* num_fused_loras
* fix
* fix
* remove mapping
* up
* fix
* style
* fix-copies
* change to SD3TransformerLoRALoadersMixin
* Apply suggestions from code review
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* up
* handle wuerstchen
* up
* move lora to lora_pipeline.py
* up
* fix-copies
* fix documentation.
* comment set_adapters().
* fix-copies
* fix set_adapters() at the model level.
* fix?
* fix
* loraloadermixin.
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-26 08:59:33 +05:30
YiYi Xu
62863bb1ea
Revert "[LoRA] introduce LoraBaseMixin to promote reusability." ( #8976 )
...
Revert "[LoRA] introduce LoraBaseMixin to promote reusability. (#8774 )"
This reverts commit 527430d0a4 .
2024-07-25 09:10:35 -10:00
asfiyab-nvidia
0bda1d7b89
Update TensorRT img2img community pipeline ( #8899 )
...
* Update TensorRT img2img pipeline
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
* Update TensorRT version installed
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
* make style and quality
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
* Update examples/community/stable_diffusion_tensorrt_img2img.py
Co-authored-by: Tolga Cangöz <46008593+tolgacangoz@users.noreply.github.com >
* Update examples/community/README.md
Co-authored-by: Tolga Cangöz <46008593+tolgacangoz@users.noreply.github.com >
* Apply style and quality using ruff 0.1.5
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
---------
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com >
Co-authored-by: Tolga Cangöz <46008593+tolgacangoz@users.noreply.github.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-25 21:58:21 +05:30
Sayak Paul
527430d0a4
[LoRA] introduce LoraBaseMixin to promote reusability. ( #8774 )
...
* introduce to promote reusability.
* up
* add more tests
* up
* remove comments.
* fix fuse_nan test
* clarify the scope of fuse_lora and unfuse_lora
* remove space
* rewrite fuse_lora a bit.
* feedback
* copy over load_lora_into_text_encoder.
* address dhruv's feedback.
* fix-copies
* fix issubclass.
* num_fused_loras
* fix
* fix
* remove mapping
* up
* fix
* style
* fix-copies
* change to SD3TransformerLoRALoadersMixin
* Apply suggestions from code review
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* up
* handle wuerstchen
* up
* move lora to lora_pipeline.py
* up
* fix-copies
* fix documentation.
* comment set_adapters().
* fix-copies
* fix set_adapters() at the model level.
* fix?
* fix
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2024-07-25 21:40:58 +05:30
Sayak Paul
e02ec27e51
[Core] remove resume_download from Hub related stuff ( #8648 )
...
* remove resume_download
* fix: _fetch_index_file call.
* remove resume_download from docs.
2024-07-18 09:48:42 +05:30
ustcuna
9f963e7349
[Community Pipelines] Accelerate inference of AnimateDiff by IPEX on CPU ( #8643 )
...
* add animatediff_ipex community pipeline
* address the 1st round review comments
2024-07-12 14:31:15 +05:30
Tolga Cangöz
57084dacc5
Remove unnecessary lines ( #8569 )
...
* Remove unused line
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-07-08 10:42:02 -10:00
Álvaro Somoza
9b7acc7cf2
[Community pipeline] SD3 Differential Diffusion Img2Img Pipeline ( #8679 )
...
* new pipeline
2024-06-28 17:12:39 -10:00
Tolga Cangöz
589931ca79
Errata - Update class method convention to use cls ( #8574 )
...
* Class methods are supposed to use `cls` conventionally
* `make style && make quality`
* An Empty commit
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-06-24 10:35:45 -07:00
Tolga Cangöz
f040c27d4c
Errata - Fix typos and improve style ( #8571 )
...
* Fix typos
* Fix typos & up style
* chore: Update numbers
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-06-24 10:07:22 -07:00
Tolga Cangöz
138fac703a
Discourage using deprecated revision parameter ( #8573 )
...
* Discourage using `revision`
* `make style && make quality`
* Refactor code to use 'variant' instead of 'revision'
* `revision="bf16"` -> `variant="bf16"`
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-06-24 10:06:49 -07:00
Tolga Cangöz
468ae09ed8
Errata - Trim trailing white space in the whole repo ( #8575 )
...
* Trim all the trailing white space in the whole repo
* Remove unnecessary empty places
* make style && make quality
* Trim trailing white space
* trim
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-06-24 18:39:15 +05:30
Tolga Cangöz
c375903db5
Errata - Fix typos & improve contributing page ( #8572 )
...
* Fix typos & improve contributing page
* `make style && make quality`
* fix typos
* Fix typo
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-06-24 14:13:03 +05:30
Sayak Paul
8eb17315c8
[LoRA] get rid of the legacy lora remnants and make our codebase lighter ( #8623 )
...
* get rid of the legacy lora remnants and make our codebase lighter
* fix depcrecated lora argument
* fix
* empty commit to trigger ci
* remove print
* empty
2024-06-21 16:36:05 +05:30
Sayak Paul
2e4841ef1e
post release 0.29.0 ( #8492 )
...
post release
2024-06-13 06:14:20 -10:00
Tolga Cangöz
98730c5dd7
Errata ( #8322 )
...
* Fix typos
* Trim trailing whitespaces
* Remove a trailing whitespace
* chore: Update MarigoldDepthPipeline checkpoint to prs-eth/marigold-lcm-v1-0
* Revert "chore: Update MarigoldDepthPipeline checkpoint to prs-eth/marigold-lcm-v1-0"
This reverts commit fd742b30b4 .
* pokemon -> naruto
* `DPMSolverMultistep` -> `DPMSolverMultistepScheduler`
* Improve Markdown stylization
* Improve style
* Improve style
* Refactor pipeline variable names for consistency
* up style
2024-06-05 13:59:09 -07:00