Skip to content

Conversation

@DN6
Copy link
Collaborator

@DN6 DN6 commented Nov 1, 2025

What does this PR do?

Oversight on my part when merging #12353

The resume_download kwarg is passed to get_class_from_dynamic_module in AutoModel. The argument isn't used anywhere downstream in the function, but there was no issue since the function accepted **kwargs

#12353 removed the **kwargs argument from get_class_from_dynamic_module, so now the function throws an unexpected keyword error. Removing resume_download to fix since it isn't used anywhere.

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.

@DN6 DN6 requested a review from yiyixuxu November 1, 2025 16:24
@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.

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

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

thanks!

@yiyixuxu yiyixuxu merged commit 5e8415a into main Nov 2, 2025
17 of 18 checks passed
@yiyixuxu yiyixuxu deleted the automodel-fix branch November 2, 2025 03:04
@DN6 DN6 added the roadmap Add to current release roadmap label Nov 10, 2025
@DN6 DN6 moved this from In Progress to Done in Diffusers Roadmap 0.36 Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

roadmap Add to current release roadmap

Projects

Development

Successfully merging this pull request may close these issues.

4 participants