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

170 lower precision training #171

Merged
merged 6 commits into from
May 26, 2024
Merged

170 lower precision training #171

merged 6 commits into from
May 26, 2024

Conversation

kazewong
Copy link
Owner

@kazewong kazewong commented May 9, 2024

This PR added a small functionality for converting a model into different precision. Interestingly, the compiler would complain if bfloat16 or float16 is used, when the input data is also float16 or bfloat16. But if the data is float32, the code will execute fine. I think this is because some type promoting happened inside the code

This PR bump the jax version up as well.

@kazewong kazewong linked an issue May 9, 2024 that may be closed by this pull request
@kazewong kazewong merged commit 21b1bcc into main May 26, 2024
2 checks passed
@kazewong kazewong deleted the 170-lower-precision-training branch May 26, 2024 14:27
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.

Lower precision training
1 participant