Skip to content
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

[docs] Big model loading #29920

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

stevhliu
Copy link
Member

This PR consolidates and updates all the relevant info for instantiating and loading big models. Previously, it was split between Large model loading section in the Model API and the Instantiating a big model doc, which caused some important stuff (low_cpu_mem_usage) to be missed/overlooked because users weren't expecting it to be in the API docs.

@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

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

Thanks!

docs/source/en/big_models.md Outdated Show resolved Hide resolved
docs/source/en/big_models.md Outdated Show resolved Hide resolved
docs/source/en/big_models.md Show resolved Hide resolved
@stevhliu stevhliu merged commit 096f304 into huggingface:main Apr 2, 2024
8 checks passed
@stevhliu stevhliu deleted the big-model-loading branch April 2, 2024 01:47
ArthurZucker pushed a commit that referenced this pull request Apr 22, 2024
itazap pushed a commit that referenced this pull request May 14, 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