Skip to content

Conversation

@sayakpaul
Copy link
Member

What does this PR do?

Minor doc changes.

yiyixuxu and others added 30 commits November 13, 2025 20:18
small edits to the pipeline and conversion
dg845 and others added 17 commits November 19, 2025 06:02
Refactor `Flux2Attention` into separate `Attention` classes for double- and single-stream blocks
Co-authored-by: YiYi Xu <yixu310@gmail.com>
final updates: schedule, default guidance_scale
* add training scripts

Co-authored-by: Linoy Tsaban <linoytsaban@gmail.com>

* model cpu offload in validation.

* add flux.2 readme

* add img2img and tests

* cpu offload in log validation

* Apply suggestions from code review

* fix

* up

* fixes

* remove i2i training tests for now.

---------

Co-authored-by: Linoy Tsaban <linoytsaban@gmail.com>
Co-authored-by: linoytsaban <linoy@huggingface.co>
@sayakpaul sayakpaul requested review from DN6, dg845 and yiyixuxu November 25, 2025 15:46
Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@sayakpaul
Copy link
Member Author

Example tests are failing because the repo was private. Merging.

@sayakpaul
Copy link
Member Author

I will fix the https://github.com/huggingface/diffusers/actions/runs/19675469483/job/56355392848?pr=12711#step:7:185 but it's not at all merge-blocking, IMO.

@sayakpaul sayakpaul merged commit 5ffb73d into main Nov 25, 2025
32 of 35 checks passed
@sayakpaul sayakpaul deleted the full-flux2 branch November 25, 2025 16:19
@rentainhe
Copy link

How can I install the latest diffusers for using Flux-2

@okaris
Copy link
Contributor

okaris commented Nov 25, 2025

@rentainhe pip install git+https://github.com/huggingface/diffusers@5ffb73d4aeac9eaef8366d7b21872d64009bd1c7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants