Repository navigation
repack_gguf: find the canonical Q4NX converter in ~ too (fixes #224) - #225
Merged
Merged
Conversation
An installed engine or a checkout outside ~ has no sibling np-model-generic, so the lookup fell through to an older staging converter without the llama-arch q/k reorder, and MiniCPM5-1B on --device npu answered ' the' (#224). Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Docs7 for 1bit-monster/engine
Commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #224. The MiniCPM5-1B failure was not in the engine code.
repack_gguf.pylooks for the canonical converter at<checkout>/../np-model-generic. From an installed engine (~/.local/share/1bit-engine) or any checkout outside~, that path doesn't exist, so the lookup fell through to the hard-coded staging checkout. That checkout's converter (9bc5299da) predates 418559692, "llama-arch q/k must always be reordered to the paired layout", so MiniCPM5's q/k were packed unreordered and it answered ' the' / ' a'.This adds
~/np-model-genericas the second candidate.Checked on strixhalo, from a checkout under
~/.cacheand with noONEBIT_Q4NX_CONVERTER:model.q4nxis byte-identical (md5 685e6e4a…) to the pack that answers correctly;🤖 Generated with Claude Code