Skip to content

Use ApiBuilder::from_env() in from_pretrained function#1737

Merged
ArthurZucker merged 2 commits intohuggingface:mainfrom
BenLocal:api-from-env
May 27, 2025
Merged

Use ApiBuilder::from_env() in from_pretrained function#1737
ArthurZucker merged 2 commits intohuggingface:mainfrom
BenLocal:api-from-env

Conversation

@BenLocal
Copy link
Copy Markdown
Contributor

Use ApiBuilder::from_env() for builder initialization, can download a file by modifying the environment variable HF_ENDPOINT

Use ApiBuilder::from_env() for builder initialization
Copy link
Copy Markdown
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Should superseed #1778 yours was open earlier! THanks both

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

@ArthurZucker ArthurZucker merged commit b4d8dfc into huggingface:main May 27, 2025
29 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.

3 participants