Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix device mismatch issue for HiDreamTransformerTests#13766

Merged
yiyixuxu merged 3 commits into
huggingface:mainfrom
kaixuanliu:hidream_image_fix
May 19, 2026
Merged

fix device mismatch issue for HiDreamTransformerTests#13766
yiyixuxu merged 3 commits into
huggingface:mainfrom
kaixuanliu:hidream_image_fix

Conversation

@kaixuanliu

Copy link
Copy Markdown
Contributor

This PR tries to fix bug in test case:
tests/models/transformers/test_models_transformer_hidream.py::HiDreamTransformerTests::test_sharded_checkpoints_device_map
@sayakpaul @yiyixuxu @DN6 pls help review, thx!

@github-actions github-actions Bot added size/S PR with diff < 50 LOC models labels May 19, 2026
@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.

@kaixuanliu

Copy link
Copy Markdown
Contributor Author

The failed lora tests should have nothing to do with this PR.

@yiyixuxu yiyixuxu merged commit 65aff37 into huggingface:main May 19, 2026
14 of 15 checks passed
@yiyixuxu

Copy link
Copy Markdown
Collaborator

@kaixuanliu thanks a ton for the fix!

DN6 pushed a commit that referenced this pull request Jul 1, 2026
* fix device mismatch issue for HiDreamTransformerTests

Signed-off-by: Liu, Kaixuan <[email protected]>

* refine code

Signed-off-by: Liu, Kaixuan <[email protected]>

---------

Signed-off-by: Liu, Kaixuan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

models size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants