Three GGUFs of LiquidAI/LFM3-1.7B:
lfm3-1.7b-instruct-kmix-1100M: standard imatrix K-quant mix, plain stock llama.cpp.lfm3-1.7b-instruct-kmix-1300M: standard imatrix K-quant mix, plain stock llama.cpp.lfm3-1.7b-instruct-rcmix-1000M: experimental RCO mixed quant; requires a patched llama.cpp (see below).| model | GiB | bpw | PPL | KLD | top1 | runtime |
|---|---|---|---|---|---|---|
| stock Q4_K_M baseline | 1.024 | 5.09 | 23.823 | 0.118 | 83.6% | stock |
| lfm3-1.7b-instruct-kmix-1100M (balanced) | 1.082 | 5.38 | 23.346 | 0.058 | 87.9% | stock |
| lfm3-1.7b-instruct-kmix-1300M (quality) | 1.277 | 6.35 | 23.302 | 0.019 | 92.9% | stock |
| lfm3-1.7b-instruct-rcmix-1000M (sub-1-GiB RCO) | 0.983 | 4.89 | 27.659 | 0.196 | 79.5% | patch required |
Notes:
llama-perplexity --kl-divergence-base against the f16 logits of the same checkpoint.rcmix-1000M trades global accuracy for size: it fits the 1-GiB slot that no stock format reaches
(Q4_K_M is 1.024 GiB at the same bpw class). Prefer the kmix files when runtime compatibility or
global accuracy matters more than the sub-1-GiB footprint.| file | size | what it is |
|---|---|---|
| lfm3-1.7b-instruct-kmix-1100M.gguf | 1.082 GiB | balanced, 5.38 bpw — K-quant mix (Q3_K/Q4_K/Q5_K), works with stock llama.cpp |
| lfm3-1.7b-instruct-kmix-1300M.gguf | 1.277 GiB | quality, 6.35 bpw — K-quant mix (Q5_K/Q6_K), works with stock llama.cpp |
| lfm3-1.7b-instruct-rcmix-1000M.gguf | 0.983 GiB | sub-1-GiB RCO mix (104× RCO4 + 38× Q5_K + Q6_K emb), patched llama.cpp only |
| lfm3-1.7b-instruct-imatrix.gguf | 3 MiB | importance matrix, for reproduction |
| assign-lfm3-1.7b-instruct-rcmix-1000M.txt | — | readable per-tensor type sheet of the RCO quant |
| metadata/assign-1000M.json | — | machine-readable assignment (allocator output) |
| metadata/final_summary.json | — | machine-readable eval results + tensor composition |
| metadata/benchmarks/ | — | raw PPL/KLD/top-1 eval logs |
| docs/USAGE.md | — | runtime matrix, stock vs patched build, server examples |
| docs/QUANTIZATION.md | — | allocation + RCO block format details |
| docs/RELEASE_NOTES.md | — | release contents, selection rationale, known issues |
| docs/RAPOR.tr.md | — | Turkish technical report |
| SHA256SUMS | — | checksums for all release files |
| LICENSE | — | base model license (lfm1.0) |
| llama.cpp-rco-types.patch | — | RCO4 support patch (only needed for the rcmix file) |
The kmix files run on any recent llama.cpp.
RCO4 (used by lfm3-1.7b-instruct-rcmix-1000M) is not in stock gguf-py / stock llama.cpp. Apply the included patch
(vs. upstream 1b4554e):
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp && git checkout 1b4554e
patch -p1 < llama.cpp-rco-types.patch
cmake -B build -DGGML_HIP=ON -DGPU_TARGETS=gfx1200 && cmake --build build --config Release
./llama-cli -m lfm3-1.7b-instruct-kmix-1100M.gguf -ngl 99 -p "def merge_sort(arr):" # stock
./llama-cli -m lfm3-1.7b-instruct-rcmix-1000M.gguf -ngl 99 -p "def merge_sort(arr):" # patched build
The chat template is embedded; use --jinja for system prompts and the sampling values from the model card (temperature 0.1, top_k 50, repetition_penalty 1.1).
scripts/alloc_mixed_kquants.py allocates Q3_K/Q4_K/Q5_K/Q6_K per tensor under a size budget,
using the imatrix-weighted reconstruction error of uniform (--pure) candidate quants;
llama-quantize --tensor-type-file applies the assignment with the importance matrix.Raw eval logs are under metadata/benchmarks/, the full results in
metadata/final_summary.json.
lfm3-1.7b-instruct-rcmix-1000M requires the patched llama.cpp — a stock build rejects the unknown tensor type 45 (RCO4).lfm3-1.7b-rco-gguf release was built from the same checkpoint and carries identical tensors (its kmix files use an older allocation).The base model is licensed by LiquidAI under LFM Open License (lfm1.0); this quantized artifact is
distributed under the same terms — see LICENSE. The llama.cpp runtime patch is derived from
llama.cpp (MIT). You are responsible for complying with the base
model license and any applicable usage restrictions.
@misc{lfm3,
title = {LFM3: Compact Heterogeneous Neural Network Architectures},
author = {LiquidAI},
year = {2026},
url = {https://huggingface.co/LiquidAI/LFM3-1.7B}
}
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo efeisot/lfm3-1.7b-posttrained-1rco-2mix-gguf ./model-folderLiquidAI/LFM3-1.7B