Skip to content

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.

@stevhliu stevhliu requested a review from ArthurZucker March 27, 2024 21:38
@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!

@stevhliu stevhliu merged commit 096f304 into huggingface:main Apr 2, 2024
@stevhliu stevhliu deleted the big-model-loading branch April 2, 2024 01:47
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