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 to/from E8M0 scale MX format conversion. #131

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

balancap
Copy link
Contributor

@balancap balancap commented Aug 12, 2024

Implementation using bitmasking & shifting, so hopefully decently fast!

Todo: support E8M0 from ml_dtypes once PR jax-ml/ml_dtypes#166 merged in. See MX issue as well: jax-ml/ml_dtypes#116

Implementation using bitmasking & shifting, so hopefully decently fast!
@balancap balancap added enhancement New feature or request ops Ops coverage labels Aug 12, 2024
@balancap balancap self-assigned this Aug 12, 2024
@balancap balancap merged commit 32f81b9 into main Aug 12, 2024
2 checks passed
@balancap balancap deleted the adding-basic-e8m0-convert-support branch August 12, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ops Ops coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant