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 the i16 dtype #24

Closed
wants to merge 8 commits into from
Closed

Add the i16 dtype #24

wants to merge 8 commits into from

Conversation

ro99
Copy link

@ro99 ro99 commented Sep 12, 2024

This PR adds support to the DType::I16.

I am trying to add support to the EXL2 format for Mistral.rs. I believe we may need the i16 type to have an equivalent to PyTorch short(). I am using the Aphrodite implementation as reference. Please let me know if this makes sense.

Copy link
Owner

@EricLBuehler EricLBuehler left a comment

Choose a reason for hiding this comment

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

Hi @ro99! This looks great and I'm happy to merge. It looks like a few CI tasks are failing though (including some build and formatting errors), could you please check that?

No worries about the build errors, I don't have a Mac so Metal/Accelerate development is always hard!

@ro99 ro99 closed this Sep 13, 2024
@EricLBuehler
Copy link
Owner

@ro99 let me know if you need any help!

@ro99 ro99 reopened this Sep 13, 2024
@ro99
Copy link
Author

ro99 commented Sep 13, 2024

I will close this one and open a new, sorry, I was not expecting that the changes on the yml files would be added here.

@ro99 ro99 closed this Sep 13, 2024
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