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

Add default bf16 precision setting when bf16 config option is set but precision is unset. #1311

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

AI-WAIFU
Copy link
Contributor

#1305 Shows that you can set the bf16 config without setting the precision to bfloat16 and this causes an obscure crash. This should automatically set the precision when it's missing or throw crash with an assert if precision conflicts.

Copy link
Member

@Quentin-Anthony Quentin-Anthony left a comment

Choose a reason for hiding this comment

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

Yep makes sense

@Quentin-Anthony Quentin-Anthony merged commit 797a4ab into main Nov 13, 2024
1 of 4 checks passed
@Quentin-Anthony Quentin-Anthony deleted the fix-bf16-issue branch November 13, 2024 23:04
jahatef pushed a commit that referenced this pull request Nov 29, 2024
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