Skip to content

[Single File] Pass token when fetching interpreted config #10082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

DN6
Copy link
Collaborator

@DN6 DN6 commented Dec 2, 2024

What does this PR do?

In the case where a user is not logged in and is passing token via from_single_file, auto fetching the config won't work for private or gated repos because we don't pass the token to cls.load_config.

Fixes # (issue)
#10057

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.

@yiyixuxu yiyixuxu merged commit 6db3333 into main Dec 2, 2024
18 checks passed
@yiyixuxu yiyixuxu deleted the sf-token-fix branch December 2, 2024 21:55
lawrence-cj pushed a commit to lawrence-cj/diffusers that referenced this pull request Dec 4, 2024
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.

3 participants