mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1333] [Bug] Exception: can't find model.layers.0.self_attn.kv_b_proj.weight in GGUF file! #897
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#897
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 @XiongjieDai on GitHub (May 22, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1333
Checklist
Describe the bug
run
deepseek-r1-q4_k_m.ggufmodel and got errorReproduction
the
deepseek-r1-q4_k_m.ggufmodel is converted by myself and it work fine withllama.cppfiles under the model path:
the command:
and got error:
Environment
ktransformers version: v0.3.1+cu124torch27fancy
Ubuntu 22.04.5 LTS
Python 3.11
torch = 2.7.0+cu126
CUDA = 12.6
GPU information:
8 NVIDIA H20 GPUs
Video memory per GPU: 97,871 MiB (about 95.6 GB)
All GPUs are currently idle
GPU temperature is between 31-35°C
Power consumption per GPU is between 108-117W (maximum power consumption 500W)
CPU information:
Model: Intel(R) Xeon(R) Platinum 8480
Number of CPU cores: 224 (2 physical CPUs, 56 cores each, 2 threads per core)
Base frequency: 800 MHz
Maximum frequency: 3.8 GHz
Cache:
L1d cache: 5.3 MiB
L1i cache: 3.5 MiB
L2 cache: 224 MiB
L3 cache: 210 MiB
NUMA supported, with 2 NUMA nodes
Memory information:
Total memory: 2.0 TB
Used: 15 GB
Available: 1.9 TB
Cache: 106 GB
Swap: 8 GB (unused)
@XiongjieDai commented on GitHub (May 22, 2025):
similar issues are #473 and error 1 in #289
@luzamm commented on GitHub (May 23, 2025):
which gguf do you use? some new quants modifed the model architecture like unsloth/DeepSeek-V3-0324-GGUF-UD. The new model splitted attn_kv_b.weight to attn_k_b.weight and attn_v_b.weight. Check them on huggingface with
@luzamm commented on GitHub (May 23, 2025):
unsloth/DeepSeek-V3-0324-GGUF gguf that work well
unsloth/DeepSeek-V3-0324-GGUF-UD throw Exception: can't find model.layers.0.self_attn.kv_b_proj.weight in GGUF file!