sayakpaul
0eaa35fdca
Revert "up"
...
This reverts commit 5274ffdd7f .
2026-01-23 17:31:48 +05:30
sayakpaul
4dff31871c
Revert "up"
...
This reverts commit 515dd06db5 .
2026-01-23 17:31:21 +05:30
sayakpaul
515dd06db5
up
2026-01-23 17:23:19 +05:30
sayakpaul
5274ffdd7f
up
2026-01-23 17:15:25 +05:30
Sayak Paul
a21a6ac565
Merge branch 'main' into transformers-v5-pr
2026-01-23 16:55:19 +05:30
Sayak Paul
bff672f47f
fix Dockerfiles for cuda and xformers. ( #13022 )
2026-01-23 16:45:14 +05:30
Sayak Paul
c2d8273891
Merge branch 'main' into transformers-v5-pr
2026-01-23 12:51:36 +05:30
David El Malih
d4f97d1921
Improve docstrings and type hints in scheduling_ddim_inverse.py ( #13020 )
...
docs: improve docstring scheduling_ddim_inverse.py
2026-01-22 15:42:45 -08:00
David El Malih
1d32b19ad4
Improve docstrings and type hints in scheduling_ddim_flax.py ( #13010 )
...
* docs: improve docstring scheduling_ddim_flax.py
* docs: improve docstring scheduling_ddim_flax.py
* docs: improve docstring scheduling_ddim_flax.py
2026-01-22 09:11:14 -08:00
Garry Ling
699297f647
feat: accelerate longcat-image with regional compile ( #13019 )
2026-01-22 20:21:45 +05:30
Aryan V S
7a02fadad3
[scheduler] Support custom sigmas in UniPCMultistepScheduler ( #12109 )
...
* update
* fix tests
* Apply suggestions from code review
* Revert default flow sigmas change so that tests relying on UniPC multistep still pass
* Remove custom timesteps for UniPC multistep set_timesteps
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Daniel Gu <dgu8957@gmail.com >
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com >
2026-01-21 17:18:59 -08:00
David El Malih
ec37629371
Improve docstrings and type hints in scheduling_ddim_cogvideox.py ( #12992 )
...
docs: improve docstring scheduling_ddim_cogvideox.py
2026-01-20 12:33:50 -08:00
sayakpaul
e1249d2640
same stuff.
2026-01-20 18:05:20 +05:30
sayakpaul
2fe9f9868d
change qwen expected slice because of how init is handled in v5.
2026-01-20 16:56:54 +05:30
Sayak Paul
387befd6de
Merge branch 'main' into transformers-v5-pr
2026-01-20 15:46:00 +05:30
Guillaume Besson
4b843c8430
Fix variable name in docstring for PeftAdapterMixin.set_adapters ( #13003 )
...
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2026-01-20 15:43:59 +05:30
sayakpaul
351316328f
matrix configuration to see differences between 4.57.3 and main failures.
2026-01-20 10:11:08 +05:30
Sayak Paul
62bf2b0ab9
Merge branch 'main' into transformers-v5-pr
2026-01-20 09:49:11 +05:30
Gal Davidi
d7a1c31f4f
Fibo edit pipeline ( #12930 )
...
* Feature: Add BriaFiboEditPipeline to diffusers
* Introduced BriaFiboEditPipeline class with necessary backend requirements.
* Updated import structures in relevant modules to include BriaFiboEditPipeline.
* Ensured compatibility with existing pipelines and type checking.
* Feature: Introduce Bria Fibo Edit Pipeline
* Added BriaFiboEditPipeline class for structured JSON-native image editing.
* Created documentation for the new pipeline in bria_fibo_edit.md.
* Updated import structures to include the new pipeline and its components.
* Added unit tests for the BriaFiboEditPipeline to ensure functionality and correctness.
* Enhancement: Update Bria Fibo Edit Pipeline and Documentation
* Refined the Bria Fibo Edit model description for clarity and detail.
* Added usage instructions for model authentication and login.
* Implemented mask handling functions in the BriaFiboEditPipeline for improved image editing capabilities.
* Updated unit tests to cover new mask functionalities and ensure input validation.
* Adjusted example code in documentation to reflect changes in the pipeline's usage.
* Update Bria Fibo Edit documentation with corrected Hugging Face page link
* add dreambooth training script
* style and quality
* Delete temp.py
* Enhancement: Improve JSON caption validation in DreamBoothDataset
* Updated the clean_json_caption function to handle both string and dictionary inputs for captions.
* Added error handling to raise a ValueError for invalid caption types, ensuring better input validation.
* Add datasets dependency to requirements_fibo_edit.txt
* Add bria_fibo_edit to docs table of contents
* Fix dummy objects ordering
* Fix BriaFiboEditPipeline to use passed generator parameter
The pipeline was ignoring the generator parameter and only using
the seed parameter. This caused non-deterministic outputs in tests
that pass a seeded generator.
* Remove fibo_edit training script and related files
---------
Co-authored-by: kfirbria <kfir@bria.ai >
2026-01-19 22:09:53 +05:30
Sayak Paul
7f2cd5b6fc
Merge branch 'main' into transformers-v5-pr
2026-01-19 16:02:28 +05:30
Sayak Paul
29b15f41c7
[chore] make style to push new changes. ( #12998 )
...
make style to push new changes.
2026-01-19 16:02:13 +05:30
Sayak Paul
4ea43ee6ab
Merge branch 'main' into transformers-v5-pr
2026-01-19 15:52:35 +05:30
sayakpaul
75edff93a0
Revert "make style && make quality"
...
This reverts commit 76f51a5e92 .
2026-01-19 15:35:20 +05:30
sayakpaul
76f51a5e92
make style && make quality
2026-01-19 15:34:29 +05:30
sayakpaul
084c959bdf
fix t5 stuff for more.
2026-01-19 15:08:55 +05:30
sayakpaul
3dcb97c9ea
tie embedding issue.
2026-01-19 13:43:47 +05:30
Sayak Paul
7b55da8846
Merge branch 'main' into transformers-v5-pr
2026-01-19 11:05:40 +05:30
David El Malih
3996788b60
[Docs] Replace root CONTRIBUTING.md with symlink to source docs ( #12986 )
...
Chore: Replace CONTRIBUTING.md with a symlink to documentation
2026-01-16 12:36:50 -08:00
David El Malih
9fedfe58b7
Improve docstrings and type hints in scheduling_cosine_dpmsolver_multistep.py ( #12936 )
...
* docs: improve docstring scheduling_cosine_dpmsolver_multistep.py
* Update src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* Update src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
* fix
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2026-01-16 12:23:49 -08:00
Sayak Paul
ebf891a254
[core] gracefully error out when attn-backend x cp combo isn't supported. ( #12832 )
...
* gracefully error out when attn-backend x cp combo isn't supported.
* Revert "gracefully error out when attn-backend x cp combo isn't supported."
This reverts commit c8abb5d7c0 .
* gracefully error out when attn-backend x cp combo isn't supported.
* up
* address PR feedback.
* up
* Update src/diffusers/models/modeling_utils.py
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* dot.
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2026-01-16 21:29:42 +05:30
dg845
8af8e86bc7
LTX 2 Single File Support ( #12983 )
...
* LTX 2 transformer single file support
* LTX 2 video VAE single file support
* LTX 2 audio VAE single file support
* Make it easier to distinguish LTX 1 and 2 models
2026-01-15 22:46:42 -08:00
sayakpaul
cec020988b
up
2026-01-16 10:22:59 +05:30
Sayak Paul
74654df203
add klein docs. ( #12984 )
2026-01-16 10:12:42 +05:30
sayakpaul
926db24add
up
2026-01-16 10:01:44 +05:30
sayakpaul
37cfceef0d
attributes
2026-01-16 09:39:36 +05:30
YiYi Xu
f112eab97e
[modular] fix a bug in mellon param & improve docstrings ( #12980 )
...
* update mellonparams docstring to incude the acutal param definition render in mellon
* style
---------
Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-160-103.ec2.internal >
2026-01-15 10:42:42 -10:00
YiYi Xu
61f175660a
Flux2 klein ( #12982 )
...
* flux2-klein
* Apply suggestions from code review
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* Klein tests (#2 )
* tests
* up
* tests
* up
* support step-distilled
* Apply suggestions from code review
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com >
* doc string etc
* style
* more
* copies
* klein lora training scripts (#3 )
* initial commit
* initial commit
* remove remote text encoder
* initial commit
* initial commit
* initial commit
* revert
* img2img fix
* text encoder + tokenizer
* text encoder + tokenizer
* update readme
* guidance
* guidance
* guidance
* test
* test
* revert changes not needed for the non klein model
* Update examples/dreambooth/train_dreambooth_lora_flux2_klein.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* fix guidance
* fix validation
* fix validation
* fix validation
* fix path
* space
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* style
* Update src/diffusers/pipelines/flux2/pipeline_flux2_klein.py
* Apply style fixes
* auto pipeline
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com >
Co-authored-by: Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-15 09:10:54 -10:00
Sayak Paul
ea90a74ed4
Merge branch 'main' into transformers-v5-pr
2026-01-15 20:01:03 +05:30
sayakpaul
96f08043a3
fix group offloading.
2026-01-15 20:00:45 +05:30
sayakpaul
d0f279ce76
up
2026-01-15 16:59:41 +05:30
DefTruth
7f43cb1d79
fix Qwen-Image series context parallel ( #12970 )
...
* fix qwen-image cp
* relax attn_mask limit for cp
* CP plan compatible with zero_cond_t
* move modulate_index plan to top level
2026-01-15 15:40:24 +05:30
sayakpaul
c5e023fbe6
up
2026-01-15 13:03:11 +05:30
Hameer Abbasi
5efb81fa71
Add ChromaInpaintPipeline ( #12848 )
...
* Add `ChromaInpaintPipeline`
* Set `attention_mask` to `dtype=torch.bool` for `ChromaInpaintPipeline`.
* Revert `.gitignore`.
2026-01-15 12:58:50 +05:30
Sayak Paul
f8e50fab75
Merge branch 'main' into transformers-v5-pr
2026-01-15 12:47:21 +05:30
Yahweasel
b351be2379
LongCat Image pipeline: Allow offloading/quantization of text_encoder component ( #12963 )
...
* Don't attempt to move the text_encoder. Just move the generated_ids.
* The inputs to the text_encoder should be on its device
2026-01-14 21:10:57 -10:00
YiYi Xu
d8f4dd295f
[Modular] mellon utils ( #12978 )
...
* up
* style
---------
Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-160-103.ec2.internal >
2026-01-14 19:03:41 -10:00
hlky
1ecfbfe12b
disable_mmap in pipeline from_pretrained (#12854 )
...
* update
* `disable_mmap` in `from_pretrained`
---------
Co-authored-by: DN6 <dhruv.nair@gmail.com >
2026-01-14 21:29:36 +05:30
Marc Sun
d7fa445453
Remove 8bit device restriction ( #12972 )
...
* allow to
* update version
* fix version again
* again
* Update src/diffusers/pipelines/pipeline_utils.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* style
* xfail
* add pr
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2026-01-14 20:33:30 +05:30
sayakpaul
c152b1831c
more
2026-01-14 14:54:39 +05:30
sayakpaul
039324ae16
switch to transformers main again./
2026-01-14 14:52:15 +05:30