Skip to content

Improved support for Bfloat16 #1309

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

Merged
merged 2 commits into from
Jun 17, 2025
Merged

Improved support for Bfloat16 #1309

merged 2 commits into from
Jun 17, 2025

Conversation

CoreyGiles
Copy link
Contributor

Added some final touches to improve support for Bfloat16 (explicit torch_bfloat16() function).

These changes are necessary to allow safetensors to properly save/load Bfloat16 tensors/parameters, which will still require a couple small changes.

@dfalbel dfalbel added the lantern Use this label if your PR affects lantern so it's built in the CI label May 27, 2025
@dfalbel dfalbel merged commit 034e77b into mlverse:main Jun 17, 2025
16 of 17 checks passed
@dfalbel
Copy link
Member

dfalbel commented Jun 17, 2025

Thanks @CoreyGiles ! So sorry for taking too long to review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lantern Use this label if your PR affects lantern so it's built in the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants