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 new backends & support multi-modal LM #142

Merged
merged 3 commits into from
Feb 23, 2024
Merged

Conversation

ys-2020
Copy link
Contributor

@ys-2020 ys-2020 commented Feb 23, 2024

We add new backend kernels (W4A16 GEMM / GEMV) for better inference speed. We also support multi-modal models (VILA and LLaVA) in this PR.

Note: We changed the weight packing format in this PR. Please re-quantize the model or use tinychat/offline-weight-repacker.py to repack the old awq checkpoints.

Copy link
Contributor

@kentang-mit kentang-mit left a comment

Choose a reason for hiding this comment

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

I've reviewed this PR in our internal codebase. I will approve it.

@w32zhong
Copy link

@ys-2020 how much inference speed improvements for batch=1 and GEMV by introducing this new kernel?

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.

3 participants