Dedicated n-gram GGUF file

#6
by Deenn - opened

Hello, thanks for the great gguf!
Is it possible to make cuts with a dedicated n-gram head (35+G) (like in huggingface.co/AtomicChat/Qwen3.8-Flash-Next-GGUF)?
This allows you to leave only it on the ssd and make the remaining (cold) files as symlinks (to save space when there is more than one model).
Regards.

OrcaRouter org

You're right — the "n-gram head" here is a single huge tensor, per_layer_token_embd.weight
(~51.2B params, ~38 GB depending on quant), which is the PLE per-layer token embedding of the
Flash-Next architecture. Because it's one oversized tensor, gguf-split naturally isolates it
into its own shard when the split size is small enough, so a dedicated n-gram file is
definitely doable.

We'll ship a layout with the n-gram head as a standalone shard. Will update this thread once the re-split builds are uploaded. Thanks again for the idea!

Great news, thank You.

I have tried AtomicChat model with a dedicated n-gram on SSD (great idea) and it enabled me to use versions bigger in size (over my RAM+VRAM), it was fast, but some layers are too compressed resulting that from time to time it has to think way too much. In my book that makes it bellow OrcaRouter and Unsloth on consistency and output stability.

Sign up or log in to comment