Skip to content

Fix group offloading for Flux2 VAE #13666

Closed
DN6 wants to merge 1 commit intomainfrom
flux2-vae-fix
Closed

Fix group offloading for Flux2 VAE #13666
DN6 wants to merge 1 commit intomainfrom
flux2-vae-fix

Conversation

@DN6
Copy link
Copy Markdown
Collaborator

@DN6 DN6 commented May 1, 2026

What does this PR do?

Applying pipeline level group offloading to the Flux2 Autoencoder results in a device mismatch error because latents_bn_mean is moved to GPU in the pipeline but latents_bn_std is not.

Fixes # (issue)

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@github-actions github-actions Bot added pipelines size/S PR with diff < 50 LOC labels May 1, 2026
@DN6 DN6 requested a review from sayakpaul May 1, 2026 04:18
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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.

@DN6 DN6 requested a review from dg845 May 1, 2026 04:30
@asomoza
Copy link
Copy Markdown
Member

asomoza commented May 1, 2026

@DN6 isn't this the same as #13299?

@DN6
Copy link
Copy Markdown
Collaborator Author

DN6 commented May 1, 2026

@asomoza Ah didn't see that. Closing in favour of #13299

@DN6 DN6 closed this May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pipelines size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants