Skip to content

Conversation

@DN6
Copy link
Collaborator

@DN6 DN6 commented Mar 26, 2025

What does this PR do?

Single File loading for GGUF was running into errors after the refactor to load_model_dict_into_meta with dtypes not being set correctly leading to errors seen below
https://github.com/huggingface/diffusers/actions/runs/14072732421/job/39410111086#step:7:351

This PR fixes those issues by adding the update_torch_dtype method to the single file model
Additionally fix a couple of BnB tests that were affected by changes related to adding XPU support in the CI.

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.

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

@DN6 DN6 requested a review from sayakpaul March 26, 2025 16:38
Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

Thanks! Lot simpler than expected change in single file 🥲

@DN6 DN6 merged commit 7dc52ea into main Mar 26, 2025
14 of 15 checks passed
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.

4 participants