Repository navigation
Pin llama.cpp-vulkan 8a5e8d8: refuse a reduced draft vocabulary with bad d2t ids (llama.cpp #57) - #272
Conversation
…bad d2t ids (llama.cpp #57) #269 pinned llama.cpp #56 (Flash-Next MTP drafting from part of the vocabulary) before its d2t ids were validated: set_rows scatters the draft logits to those ids, so an id outside the vocabulary or a repeated one could write outside the logits row. #57 reads the ids at load and refuses the file. Registry: pin line only (--check-pins ok). Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Docs7 for 1bit-monster/engine
Commit |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Moves
third_party/llama.cpp-vulkanfrom fd16437 (#269) to 8a5e8d8, the merge of llama.cpp #57.#269 brought in llama.cpp #56 (Flash-Next MTP drafting from 65,536 of the 248,320 token ids) before the draft's
d2tids were validated.set_rowsscatters the draft logits to those ids, so an id outside the vocabulary or a repeated one could write outside the logits row. #57 reads the K ids at load and refuses such a file.Tested on the real
mtp-Qwen3.8-Flash-Next-shared-Q4_K_M-dv65k.gguf(passes) and on two corrupted copies, which are refused:d2t[5] = 10000000 is outside the 248320-token vocabulary;d2t repeats token id 4.The registry diff is the pin line only, and
--check-pinsis ok.🤖 Generated with Claude Code