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

how complicated would it be add FP8 E3M4 and E2M5 support to this IP? #105

Open
muzafferkal opened this issue Nov 2, 2023 · 2 comments
Open

Comments

@muzafferkal
Copy link

Hi,
Currently the only FP8 support is E5M2. How complicated would it be to add E3M4 and E2M5 support? Can I make a contribution to some organization to get these added? What would it take :-) ?

@zarubaf
Copy link
Contributor

zarubaf commented Nov 6, 2023

Afaik, making this FPU extendable was one of its primary purposes. You should just need to add your formats to the package here. You can designate the amount of exponent and mantissa bits per format. Note that I am not the author though :-) Let me know whether this answers your question and we can close the issue.

@fayalalebrun
Copy link

What about e5m2_fnuz? Is there a way to disable infinities and use a special NaN encoding?

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

No branches or pull requests

3 participants