Skip to content

[Modular Diffusers] Fix group offload device mismatch#14252

Open
asomoza wants to merge 1 commit into
mainfrom
fix-modular-group-offloading
Open

[Modular Diffusers] Fix group offload device mismatch#14252
asomoza wants to merge 1 commit into
mainfrom
fix-modular-group-offloading

Conversation

@asomoza

@asomoza asomoza commented Jul 21, 2026

Copy link
Copy Markdown
Member

What does this PR do?

This PR fixes an issue when using group offloading with modular diffusers, adds a first pass over the pipeline's module components that returns the onload device of the first group-offloaded module found, falling back to the existing accelerate-hook logic when no group offloading is active.

Who can review?

@yiyixuxu

@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.

@yiyixuxu yiyixuxu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants