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 CUDA unpack kernel #119

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Add CUDA unpack kernel #119

merged 1 commit into from
Mar 19, 2024

Conversation

dacorvo
Copy link
Collaborator

@dacorvo dacorvo commented Mar 13, 2024

This creates a new quanto CUDA extension, adding a very simple unpack kernel.

Performances are greatly improved for the single unpack operation (x6 for int4, x4 for int2), but does not make a huge difference when running a full graph.

@dacorvo dacorvo merged commit 65afe92 into main Mar 19, 2024
3 checks passed
@dacorvo dacorvo deleted the cuda_extension branch March 19, 2024 16:54
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.

1 participant