fraQtl/Llama-3.2-1B-Instruct-Hi-Fi-GGUF
Llama-3.2-1B-Instruct Q4KM GGUF — fraQtl Hi-Fi (calibration-aware quantization)
Built with Llama.
Iso-size Q4KM-class GGUF of meta-llama/Llama-3.2-1B-Instruct built with fraQtl calibration-aware per-tensor quantization. Same file-size class as the leading community Q4KM (within 0.02%). Wins the general slice by a wide margin and top-1 agreement on both slices; on the code/math KLD slice it is 0.11% behind the baseline — stated plainly below, both directions.
This is the draft half of the fraQtl Llama Draft Pair (its target is `fraQtl/Llama-3.1-8B-Instruct-Hi-Fi-GGUF`); the speculative-decoding pair receipt ships in the collection when its benches complete.
Evaluation — fidelity to the original model
Metric: symmetric top-20 KLD on the support of a Q80 teacher **quantized from the original pinned bf16 checkpoint** (fidelity-to-original — the axis a user migrating from the bf16 model experiences). 3 independent runs, run-to-run drift 0.0 (deterministic rig). Baseline credited: [bartowski](https://huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGUF) Q4K_M — the canonical community quantization (pinned revision 067b946c…).
Read the table exactly as printed: this artifact loses the code/math KLD comparison by 0.11% relative and wins the general KLD comparison by 12.5% relative; it wins top-1 agreement on both slices. Slices: code/math 400-record held-out (sha cce68602…b1665), general chat/tool/wikitext 400-record (sha b10a79ca…276). Eval runtime: llama-cpp-python==0.3.33 (vendored llama.cpp 78d2f5246), A100-80GB, seed 0.
Long-context retrieval (needle-in-a-haystack)
Grid: contexts {8192, 32768} × depths {0.1, 0.5, 0.9} × 3 passkeys (18 cells), exact-match, greedy. Greedy decoding still shows ±1-cell flicker across container instances (CUDA reduction order), so scores are multi-run ranges, never single-run points:
This artifact never scored below the baseline in any paired run.
Provenance
Architecture / allocation
Standard dense Llama (16 layers, GQA, tied embeddings). Type placement chosen per tensor by calibration-aware allocation at the identical total byte budget as the baseline — smarter bits, not more bits. Attention V is the most protected family (Q80 on 12/16 layers); attention Q is never demoted below the baseline's native type; the tied token-embedding/output table stays at the baseline's Q6K.
Usage
# standalone
llama-cli -m Llama-3.2-1B-Instruct-fraQtl-HiFi-Q4_K_M.gguf -ngl 99 -c 8192 \
-p "your prompt" --temp 0.7
# as the speculative-decoding draft for the fraQtl 8B (pair receipt to follow)
llama-speculative -m Llama-3.1-8B-Instruct-fraQtl-HiFi-Q4_K_M.gguf \
-md Llama-3.2-1B-Instruct-fraQtl-HiFi-Q4_K_M.gguf \
--draft-max 16 -ngl 99 -ngld 99 -p "your prompt"The GGUF embeds the chat template; use llama_chat_apply_template / chat-completion APIs.
fraQtl ladder
- Hi-Fi GGUFs (this repo + the 8B target) — download-and-run quality tier
- Qwen3-4B KV sidecars — the serving lane (long-context KV compression receipts)
License
Llama 3.2 Community License (full text in LICENSE.txt, included verbatim; attribution in NOTICE). Derivative model name begins with "Llama" per the license. Use is subject to Meta's Acceptable Use Policy referenced therein. Note: the pinned license text distributed with the text-only 1B model contains no European-Union-specific restriction clause; Meta's EU-restriction language in the Llama 3.2 family applies to the multimodal models. The license file in this repo is the unmodified text distributed with the pinned base revision.
Limitations
- Fidelity numbers measure distributional closeness to the original model, not task accuracy; no task-benchmark claims are made on this card.
- The code/math KLD slice is 0.11% behind the credited baseline (see table).
- Q4KM-class quantization of a 1B model: expect the quality limits of the 1B tier; this artifact passed all greedy coherence smokes in our gates (receipts in-repo).
The fraQtl ladder
Same discipline at every tier: pinned provenance, measured numbers, losses disclosed.
More from fraQtl
The serving lane — KV-cache compression sidecars for vLLM — holds nine concurrent ≈128K-context users on a single A100 (134.1 tok/s aggregate, 9/9 per-user retrieval checks, receipt 2026-08-14): fraQtl/qwen3-4b-instruct-2507-kv-sidecars. Org page: huggingface.co/fraQtl.
