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

Improve scratch buffer estimates #2057

Closed
wants to merge 1 commit into from
Closed

Improve scratch buffer estimates #2057

wants to merge 1 commit into from

Conversation

jmorganca
Copy link
Member

This tweaks the scratch buffer estimates to account for batch size and allocates a larger amount of overhead. This is a temporary fix – long term we want to inspect the model weights for proper tensor-by-tensor estimates.

Copy link
Collaborator

@dhiltgen dhiltgen left a comment

Choose a reason for hiding this comment

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

Do we have any insight on the 1536MiB worth mentioning in a comment?

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.

2 participants