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

AWQ Support #458

Open
wants to merge 2 commits into
base: habana_main
Choose a base branch
from
Open

AWQ Support #458

wants to merge 2 commits into from

Conversation

maktukmak
Copy link

This PR enables loading AWQ quantized models and running weight-only quantized inference on HPU.

Currently, it works only for BF16 inference due to kernel torch.ops.hpu.convert_from_uint4 not supporting FP16.

Tested on TheBloke/Llama-2-70B-Chat-AWQ and worked.

@@ -0,0 +1,222 @@
from typing import Any, Dict, List, Optional
Copy link

@michalkuligowski michalkuligowski Nov 6, 2024

Choose a reason for hiding this comment

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

@kzawora-intel Shouldnt it be added to vllm-hpu-extension?

Copy link
Author

Choose a reason for hiding this comment

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

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