draft-mtp on PQ2_0 fails: Hadamard-latent table 'token_embd.weight' is read without the inverse transform (draft context not covered by PR #169)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 40/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp
调研方向
Start from the draft-context creation path that emits the Hadamard-latent table error and compare it with the main-model path fixed by PR #169; token_embd.weight is the table read without the inverse transform. Read the PQ2_0 dequant/init code and the kvarn2 draft-cache handling, then reproduce with the provided llama-server command. Done means the draft context initializes for the PQ2_0 MTP file and --spec-type draft-mtp runs without that error.
由索引模型根据 Issue 内容生成。
描述
Version
v0.4.8 (ed8f24f17, build 12471)
Problem
--spec-type draft-mtp fails at draft-context init for the PQ2_0 combined MTP file (Ternary-Bonsai-2-27B PQ2_0 + embedded MTP head as blk.64, 7.66 GB):
Hadamard-latent table 'token_embd.weight' is read without the inverse transform → failed to create MTP context
The main model loads and serves the same PQ2_0 file correctly (PR #169 fixed that path — thank you), but the draft context init path reads token_embd.weight without applying the inverse hadamard transform. Same file, same server: plain serving works (48.6 tok/s @32K q4/q4 measured on our 5060 Ti 16 GB), spec arm aborts with the error above.
Additionally, the kvarn2 draft-cache type is not supported for this draft (the other half of why bonsai-mtp-style setups can't run on beellama today).
Config
llama-server -m Ternary-Bonsai-2-27B-PQ2_0-MTP-Q8_0.gguf -ngl 99 -np 1 \
-c 32768 -ctk q4_0 -ctv q4_0 -fa on -b 2048 -ub 512 \
--spec-type draft-mtp --spec-draft-n-max 3
(Run on CUDA SM120 / RTX 5060 Ti; the failure is at init, hardware-independent.)
Context
This blocks running MTP speculation on PQ2_0 packs entirely on beellama — our eval (A23, one-binary consolidation test vs the PrismML fork) had to leave the MTP slot on the prism/ProCreations runtime. The fix shape is presumably the same inverse-transform application PR #169 does for the main model, extended to the draft-context read path. Happy to test a fix — the file, hardware, and full gate harness are standing.
- 主要语言
- C++
- 星标
- 1.2k
- 派生
- 80
- 平均合并
- 4 天 20 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Anbeeld/beellama.cpp 的其他 Issue
-
[BUG] KVarN assertion failure in build_inp_mem_hybrid_iswa() due to uninitialized self_kvarn_rot未关闭
难度 2/5 1-3 小时 新手友好度 68/100
Anbeeld/beellama.cpp#205 ·
-
难度 3/5 半天 新手友好度 58/100
Anbeeld/beellama.cpp#206 ·
-
难度 3/5 1-2 天 新手友好度 57/100
Anbeeld/beellama.cpp#204 ·
-
难度 4/5 3-5 天 新手友好度 45/100
Anbeeld/beellama.cpp#203 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
Anbeeld/beellama.cpp#202 · 1 条评论 ·
查看 Anbeeld/beellama.cpp 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
CachyOS/packageinstaller#144 ·
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 82/100
TomerAberbach/profiler-md#951 ·
维护者通常 1 天内回复
-
[Bug] Default key routing (JavaStringHash) picks a different partition than the Java client for about half of keys可能已有人在做 @0z5a 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
apache/pulsar-client-go#1575 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
pocoproject/poco#5764 ·
维护者通常 2 天内回复
-
bug cpp-core-guidelines low-priority
难度 2/5 1-3 小时 新手友好度 62/100
NatronGitHub/openfx-supportext#164 ·
维护者通常 1 天内回复