forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add conversions for FP8 types (F8E5M2 and F8E4M3) (iree-org#16374)
This PR almost doesn't make code any bigger because the existing conversion code was already essentially generic. So at least the F8E5M2 type falls for free. F8E4M3 is a bit trickier due to it not having infinities and reclaiming that encoding space to get extra large finite values.
- Loading branch information
Showing
2 changed files
with
313 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.