-
Notifications
You must be signed in to change notification settings - Fork 478
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
[Feature] Blazing fast W4A16 inference #202
Conversation
May fix linting |
May add news in README |
@irexyc Please help check if it works on windows-3080 |
FileNotFoundError: [Errno 2] No such file or directory: '/nvme/shared_data/llama2/huggingface/llama-2-7b-chat/../llm-awq/llama-2-7b-chat-w4-g128-awq.pt' The command is: python lmdeploy/serve/turbomind/deploy.py llama2 /nvme/shared_data/llama2/huggingface/llama-2-7b-chat/ --model_format awq --group_size 128 --quant_path ../llm-awq/llama-2-7b-chat-w4-g128-awq.pt --dst-path workspace/llama-2-7b-chat-w4 |
When compling turbomind, it raised error: |
After adding |
Use turbomind/chat.py to talk with AI, it is aborted |
Use turbomind/client.py to communicate via TIS, it raised an error: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Preliminary benchmark on Llama-2-7B and A100 GPU (context length=1, generate=512)
512 (instead of 2048) tokens are generated to focus on GEMM workload (instead of Attention which consists of GEMVs mostly).