Repository navigation
Count files that leave the lookup table out in full - #321
Merged
Merged
Conversation
Qwen3.8-Flash-Next's n-gram table came out of every file, up to 90% of it. agentionai's Gyro -noPLE builds leave the table out, so Gyro-S's 29.7 GB file needed 3.0 GB, and the file of the table alone ranked as a model at 888 tok/s on a 16 GB GPU. A file named noPLE, or one the table would nearly fill, now stays resident whole, and the index skips a file of the table alone.
Andyyyy64
added a commit
that referenced
this pull request
Nov 19, 2026
Bring #321 into main before 0.6.10
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.
Qwen3.8-Flash-Next's n-gram table (51.2B parameters, 28.8 GB at IQ4_NL) stays on disk, so whichllm takes it out of a file's resident size. It took it out of every file, up to 90% of the file, but some repos ship the table apart from the model.
-noPLEbuilds that leave the table out, and a file that holds the table alone,Qwen3.8-Flash-Next-PLE-IQ4_NL-GyroS.gguf. The index picked the-noPLEbuilds, so Gyro-S's 29.7 GB file needed 3.0 GB of VRAM and Gyro-M's 37.6 GB file 8.8 GB. The table file ranked as an IQ4_NL build of Gyro with 2.9 GB resident, ninth on a 16 GB RTX 5080 with 32 GB of RAM at 888 tok/s.ngram/folder, and Tokspur and a DeepSeek V4.1 CoderPlus build had 90% of their files taken out the same way.What changes
lazy_lookup_bytestakes nothing out of a file namednoPLE, or out of a file the table at 4.5 bits would fill past 90%. Such a file stays resident whole. Before, the table came out up to that 90%.-PLE-or in anngram/folder, the way it skips DeepSeek V4.1's Engram file.Across today's index this changes 12 of the 90 variants of models with a lazy table, all from the repos above. The full Qwen3.8-Flash-Next and DeepSeek V4.1 repos keep their sizes. The index change reaches every version once main has it, since the index is built from main.
Left for later
Tests
Five new tests cover the
-noPLEfiles, a file too small to hold the table and the table files in a repo listing. They fail on the current code. All 2,046 tests pass, and ruff is clean.