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

don't load state_dict twice when using low_cpu_mem_usage in from_pretrained #16602

Merged
merged 1 commit into from
Apr 6, 2022

load state_dict once

bcb927e
Select commit
Loading
Failed to load commit list.
Merged

don't load state_dict twice when using low_cpu_mem_usage in from_pretrained #16602

load state_dict once
bcb927e
Select commit
Loading
Failed to load commit list.

Workflow runs completed with no jobs