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

feat(fx-importer): support for importing fp8 model parameters #4020

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

UtkarshKunwar
Copy link

@UtkarshKunwar UtkarshKunwar commented Feb 12, 2025

Essentially follows the same way how the importing of bfloat16 is being handled. Related to #2896.

Essentially follows the same way how the importing of `bfloat16` is
being handled.
Copy link
Collaborator

@zjgarvey zjgarvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it took a while to get around to this. It looks good to me.

I'd like to have some tests to make sure these dtypes import properly and don't regress with version bumps, but we might need to add the ml_dtypes dependency to a workflow file somewhere. If you think it is a good idea to spend some time adding tests, I think it would be best to add them before merging.

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.

2 participants