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

🚨🚨🚨🚨🚨🚨🚨🚨🚨 default to "auto" dtype #34919

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ArthurZucker
Copy link
Collaborator

What does this PR do?

Fixes #34743 by defaulting to auto dtype (meaning the type saved in the config) instead of always using torch.float32.

This is hugely breaking

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

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.

High cpu memory usage as bf16 model is auto loaded as fp32
2 participants