mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #16] q5_k_m is not supported? #12
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @keyonzeng on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/16
I have checked custom_gguf.py and find that q5_k_m is not supported because function dequantize_q5_k_gpu does nothing.
so what is the problem with supporting q5_k_m model?
@Azure-Tang commented on GitHub (Jul 31, 2024):
Yes, we have supported all cpu dequant, but q5km's gpu dequant is on the way, only Q4km and Q8_0 gpu dequant are supported now. If you really need q5k I can open cpu dequant for you, but it will be 10x slower when you loading your model.
@BITcyman commented on GitHub (Aug 16, 2024):
So sorry to let you wait so long. We have supported q5_k dequant on gpu now. Other dequant types (q2_k and q3_k) on gpu have been supported as well. You can find more details in ktransformers/utils/custom_gguf.py and ktransformers/ktransformers_ext/cuda/custom_gguf/dequant.cu.
@344303947 commented on GitHub (Mar 17, 2025):
Help: how much extra memory is needed for q5_k_m to run in addition to the model 443GB, and can 512GB run?
求助:q5_k_m 运行除了模型443GB 还需要多少额外的内存,512GB能run起来?
probability tensor contains eitherinf,nanor element < 0failed. #327