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 custom dtype INT2 #2505

Merged
merged 2 commits into from
Feb 28, 2024
Merged

add custom dtype INT2 #2505

merged 2 commits into from
Feb 28, 2024

Conversation

SunMarc
Copy link
Member

@SunMarc SunMarc commented Feb 28, 2024

What does this PR do

This PR adds the custom dtype INT2 what will be useful to calculate the memory required for 2bits model for quanto.

@SunMarc SunMarc changed the title add-custom-dtype add custom dtype INT2 Feb 28, 2024
Copy link
Collaborator

@muellerzr muellerzr left a comment

Choose a reason for hiding this comment

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

Nice! Soon we may need one-bit 👀

@SunMarc SunMarc merged commit 811dc1e into huggingface:main Feb 28, 2024
12 of 23 checks passed
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