Skip to content

Don't upscast when computing variance #4283

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

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

Conversation

ftynse
Copy link
Member

@ftynse ftynse commented Jul 25, 2025

Going all the way to f64 is undesirable, especially for low-precision tensors in bf16 or f8 variants. Try to remove the upcast entirely.

Going all the way to f64 is undesirable, especially for low-precision
tensors in bf16 or f8 variants. Try to remove the upcast entirely.

Signed-off-by: Alex Zinenko <git@ozinenko.com>
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.

1 participant