Skip to content

Conversation

@DN6
Copy link
Collaborator

@DN6 DN6 commented Dec 20, 2024

What does this PR do?

  • Add single file support support for hunyuan.

  • Change passing revision to load_config and instead use config_revision option. This is because revision is passed to both the checkpoint downloading and config downloading steps. But if you're downloading a checkpoint from one repo and loading the config from another there is a mismatch. Since we haven't shipped revision for configs yet, this is a safe change.

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 a-r-r-o-w December 20, 2024 16:06
Copy link
Contributor

@a-r-r-o-w a-r-r-o-w left a comment

Choose a reason for hiding this comment

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

Thanks!

Context for the suggested change: #10344

@DN6 DN6 merged commit da21d59 into main Dec 23, 2024
15 checks passed
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
* update

* Update src/diffusers/loaders/single_file_utils.py

Co-authored-by: Aryan <[email protected]>

---------

Co-authored-by: Aryan <[email protected]>
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