llama-quantize --tensor-type-file role-aware policies (attention/FFN/boundary)

Parent: Mac local LLMs: Quantization formats and methods · Published reference · snapshot 2026-10-05

↓ Facts as markdownall context files

Built-in role table: tensor_get_category sorts every tensor into one of TOKEN_EMBD, ATTENTION_Q, ATTENTION_V, ATTENTION_K, ATTENTION_QKV, ATTENTION_KV_B, ATTENTION_OUTPUT, FFN_UP, FFN_GATE, FFN_DOWN, OUTPUT or OTHER. Anything else is OTHER and receives the file type's base type with no depth rule.

These notes link each claim to its source. A source may be a research report hosted on this site rather than the primary document. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Facts

Children

← the whole tree · 3D view· how to read this page