You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
models: LFM3-1.7B on HRX (first of the LFM3 family, for 16 GB machines) #2918
Owner direction 2026-11-20: widen the client list to machines with 16 GB of RAM or less (RAM and mini-PC prices). The LFM3 family from Liquid AI is the target, smallest first.
Family on Hugging Face (all under 16 GB): LiquidAI/LFM3-1.7B (text, 1.73 B parameters, architecture lfm3), LFM3-VL-2B, LFM3-Audio-2B, LFM3-Omni-2B. Each has an official GGUF repo; the text model also ships NVFP4, FP8 and ONNX.
This issue is the first step only: LFM3-1.7B text, from LiquidAI/LFM3-1.7B-GGUF, served by 1bit serve --device hrx.
State on main today (corrected): the architecture is already supported. registry/architectures.json maps Lfm3ForCausalLM, Lfm3VlForConditionalGeneration, Lfm3OmniForConditionalGeneration and Lfm3D1Model to gguf lfm3 on hrx, and the pinned fork (8d26add2) has the lfm3 arch. What is missing is proof: registry/checked.json and registry/check_models.tsv have no LFM3 row, so no LFM3 file has been run and measured. This issue is that run, not a port.
Acceptance
The file loads and every weight type in the chosen quant runs on HRX under strict placement; list any op or type that falls to the CPU.
Known-answer probe and a KLD against the CPU on the same file.
Measured prefill and decode tok/s (llama-bench and through serve), with the build and pin named.
Peak memory for the model at 8k context, so the 16 GB claim is a number.
Registry entry and chat-template pin.
The licence is read and its terms recorded in the registry note (the repos say license: other).
Follow-ups, separate issues once this closes: the NPU route for the same model, then LFM3-VL-2B, Audio-2B, Omni-2B.
Claiming this (cl-game). The architecture mapping is already on main — what is missing is the proof, and proof is a device run plus the registry artefacts, which is exactly the shape of work this lane has been doing.
Plan, in the order that fails cheapest first:
Download LFM3-1.7B-Q4_K_M.gguf from the official repo (HF is reachable from this box; the file list is BF16 / F16 / Q4_K_M / Q5_K_M / Q6_K / Q8_0 / NVFP4 / QAD-Q4_0).
Serve it on HRX under a gpu-hold ticket with the engine binary built earlier today on main (--device hrx), one request, and record what actually happens — token rate, memory, and whether the lfm3 arch needs anything the registry does not describe yet.
Only if it serves: write the proof the registry wants (registry/checked.json, check-deployed) and open the PR that closes this issue. If it does not serve, the finding goes on this issue with the exact command and the failure, and the PR waits until there is something true to record.
Two things I will not do silently: I will not mark the model "checked" on a build I cannot point at, and I will not stop coder-llm for this — a 1.7B Q4 in ~1.1 GB does not need a memory window, so the fleet keeps its reviewer model.
If another lane is already downloading it, say so here and I will hand over the ticket rather than run a second copy.
Withdrawing my claim: another lane is already on this — the queue says so.
~/GPU-QUEUE/ holds a ticket lfm3-hrx (queued ~08:03Z), and the model was downloaded at 03:58Z, both before my claim at 08:19Z. My claim said "if another lane is already downloading it, say so here and I will hand over the ticket rather than run a second copy" — so: handed over. No ticket from me, no second window, and whoever holds lfm3-hrx should keep it.
What I did produce before noticing, all CPU-only, no device, no window, in case it saves the holder a step:
1. The engine already plans this model correctly.1bit serve -m LFM3-1.7B-Q4_K_M.gguf --device hrx --print-backend (no device needed — it stops before the load):
1bit serve: template sha256=f45005c50cd2a973… (LFM3-1.7B-Q4_K_M)
1bit serve: memory: need 5.88 GiB (weights 1.02 + KV/state 4.36 + compute 0.50)
at the model's own ctx 262144 (no --ctx-size), free 59.52 GiB
{"argv":["llama-server","-m","…/LFM3-1.7B-Q4_K_M.gguf","--device","HRX0","-ngl","99","--jinja",…]}
So lfm3 resolves, the template is pinned, and the memory plan fits the issue's 16 GB target with room — 5.88 GiB of which 4.36 GiB is KV/state at the model's own 262144 context. If the holder wants a number closer to a 16 GB machine, --ctx-size is the dial, and the plan above is what makes that visible before a load rather than after.
2. The registry record shape for the PR.registry/checked.json is {"results": [ … ]} with per-run entries:
{"backend":"hrx","model":"MiniCPM5-1B-Q4_K_M.gguf","arch":"llama","passed":true,
"said":"The capital of France is Paris.","failed":[],"date":"2026-09-25","engine":"b9812e0ca35e"}
registry/architectures.json already maps all four LFM3 architectures to gguf lfm3 on hrx (Lfm3ForCausalLM, Lfm3VlForConditionalGeneration, Lfm3OmniForConditionalGeneration, Lfm3D1Model), so what the entry adds is the run: what it said, on which engine commit, and whether anything failed.
3. The model file itself is complete — 1,099,627,808 bytes, GGUF v3, 287 tensors, 45 KV pairs (~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf), so a failed load is not a truncated download.
The useful thing I can add from here is the second opinion on the transcript once lfm3-hrx produces it, and — if the run succeeds — the registry entry, if the holder would rather not write it. Say which and I will do exactly that and nothing else.
LFM3-1.7B Q4_K_M on HRX — measured, at the pin that already supports it
First: nothing needed porting.registry/architectures.json maps Lfm3ForCausalLM/Lfm3Vl/Lfm3Omni/Lfm3D1Model
→ gguf lfm3 on hrx, and the pinned fork 8d26add2c contains src/models/lfm3.cpp (verified with git show 8d26add2cf:src/models/lfm3.cpp, and the built libllama.so carries llama_model_lfm3::load_arch_hparams / load_arch_tensors). The issue's "the pinned fork has no lfm3 today" describes a pin that has since moved.
The file
LiquidAI/LFM3-1.7B-GGUF → LFM3-1.7B-Q4_K_M.gguf 1.024 GiB, arch lfm3, file_type 15. From its own metadata: block_count 24, embedding_length 2048, feed_forward_length 7680, attention.head_count 16, attention.head_count_kv is a per-layer array [0,0,4,0,4,…] (the zeros are LFM3's short-conv layers, so a placement
walk must not assume every layer is attention), rope.dimension_count 128, rope.freq_base 1e6, rope.freq_base_swa 1e4, context_length 262144. Tensor types: Q4_K ×136, Q6_K ×18, F32 ×133.
Acceptance
Loads, and every weight type runs on HRX. The only CPU-assigned work in the whole run is Flash Attention (2 occurrences), taken from the runtime's own resolve_fused_ops: … is assigned to device HRX0 but <op> is assigned to device CPU warning. No Q4_K, Q6_K or F32 tensor
falls back — the fallback is an op, not a type. (Same finding as the 27B NVFP4 row, so it looks like a property of the
attention path rather than of either model.)
Known answer + agreement with the CPU on the same file."The capital of France is" → reasons → Paris.
Perplexity, 2 × 512 chunks of wiki.test.raw:
CPU (-ngl 0)
HRX (-ngl 99)
agreement
PPL
14.1096 ± 2.01687
14.0525 ± 2.00875
Δ 0.0571 = 0.40 %
That is agreement within the baseline's own ±2.0 spread, not a bit-exact claim — the bit-exact statement would need a
per-token logit diff, which is a separate exercise.
Peak memory at 8k context, so the 16 GB claim is a number: 2.05 GiB of GPU memory (GTT delta, sampled every
250 ms; peak 7.54 GiB over a 5.49 GiB base) plus 1.34 GiB host RSS (/usr/bin/time -v) for a 1.02 GiB model.
Registry row added: hrx LFM3-1.7B-Q4_K_M.gguf in registry/check_models.tsv, with the file at ~/models/LFM3-1.7B-Q4_K_M.gguf — the flat location scripts/weekly.sh uses
(registry_check.py "$BUILD/1bit" --models "$HOME/models" --only hrx), so the next bump-hrx weekly produces the checked.json proof through tests/serve_e2e.sh exactly like the other hrx rows. CI does not run these rows, so the row
cannot redden CI.
The 1bit serve --device hrx proof at this pin is the one item still open, and it is blocked by a build, not by the
model: the checker needs a 1bit binary at 8d26add2c, and disk is at 159 G against the 175 G floor for a new build.
The only 1bit on the box that knows lfm3 is at llama.cpp 66f5db462 (engine 5e1aba2e), so I have not attributed
serve behaviour to our pin on the strength of a binary from another tree.
Licence (recorded, from the LICENSE — the tag alone is license: other)
LFM Open License v1.0 (license_name: lfm1.0). Perpetual, worldwide, non-exclusive copyright and patent grants, with §5 Commercial Use Limitation: commercial rights are conditional on annual revenue staying below
US$10,000,000 ("Threshold", §1); at or above it, "Any Commercial Use … is not licensed under this Agreement".
Non-profits keep non-commercial/research rights (§5(c)). §4 requires passing on the licence, retaining all notices, and
including any NOTICE file. For the 16 GB / small-machine pitch this matters: a small customer is usually under the
threshold and a larger one will not be — it is not a permissive-OSI model.
The blocker in the last comment is already solved on this box — a 1bit at 8d26add2c exists, so no build is needed for the serve proof
The open checklist item says: "The 1bit serve --device hrx proof at this pin is the one item still open, and it is blocked by a
build, not by the model: the checker needs a 1bit binary at 8d26add2c, and disk is at 159 G against the 175 G floor for a new
build." Reading the binaries' own build stamps rather than the tree names, one already exists at exactly that pin:
$ strings -a ~/wt/cl-1051-c4/build/1bit | grep -oE "engine [0-9a-f]+ llama\.cpp [0-9a-f]+ hrx-system [0-9a-f]+ built [0-9T:-]+"
engine c82adb0c5159 llama.cpp 8d26add2cf9a hrx-system 7f4236924aad built 2026-11-20T12:01:01
That is the pin the comment asks for (8d26add2c), linked against the pinned hrx-system (7f4236924) — i.e. the same submodule
pair the engine pins today — built at 12:01 today from ~/wt/cl-1051-c4 (tree bd1f5000, then-current main). So the serve proof can
be taken without a new build and without touching the 159 G/175 G disk question; run it inside a gpu-hold ticket like any other
serve, on the flat model path the weekly checker uses.
Two cautions so the proof is attributable:
Use the real model file, not the flat placeholder.~/models/LFM3-1.7B-Q4_K_M.gguf is a 51-byte file; the 1 099 627 808-byte
GGUF is ~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf. The template pin I reviewed in registry: LFM3-1.7B on HRX — the row and the template pin engine#2918's acceptance owes #2956 (f45005c5…) matches the template inside
that file, so the right file is unambiguous — but a serve that silently loads 51 bytes will look like a pin failure.
Say which add-on the binary embedded. That tree was built for cl-1051's IQ1 work, so its code objects are whatever add-on its
configure resolved; tools/ci/hrx_embedded_objects_check.py (merged with build: the HRX build ends by checking the code objects it embedded (engine#2935) #2963) reports that with no device in 0.4 s, and the
answer belongs in the proof sentence so "LFM3 works at this pin" is not conditional on an unstated kernel set.
Everything else in the checklist is already measured here (2.05 GiB GTT at 8k, 1.34 GiB host RSS, licence recorded) and both registry
halves are on main now (registry/check_models.tsv LFM3 row + config/template-pins.json lfm3 entry via #2956, merged 05da1345).
So the issue's own definition of done is one serve run away, not one build away.
Status of the last acceptance box, checked against the repo rather than the thread — and one item is recorded in the wrong place.
The row's list ends with "the licence is read and its terms recorded in the registry note". The reading happened (LFM Open License v1.0, license_name: lfm1.0, §5 capping commercial use below US$10M revenue) and it is in this thread — but it is not in the repo:
$ grep -rn "LiquidAI\|LFM" registry/ docs/
registry/significant.json:125 "family": "LiquidAI LFM3 …" <- the architecture, not the licence
registry/flm_answers.json:94 "not served: `lfm3`, hrx only" <- an answer row, not the licence
$ grep -rn "LFM Open License\|lfm1.0" . -> (nothing)
So the box is satisfied in a comment and not where the next reader will look. Two consequences worth deciding on:
A revenue-threshold licence is a product fact, not a footnote. This is the model chosen for the 16 GB / small-machine pitch, and its commercial grant stops at US$10M annual revenue (§5). registry/significant.json records LFM3's architecture in detail and says nothing about that, so a reader planning to ship it cannot see the constraint from the registry.
The fix is a field, not prose: a licence / licence_note entry beside the family row (or a registry/licences.json keyed by family) with lfm1.0, the threshold and the §4 NOTICE requirement, so it is queryable rather than quoted.
The other boxes, for the record: the registry row and template pin landed (engine#2956, 05da1345b, sha f45005c5…7818 verified both ways); the serve proof exists in cl-2918's own log (~/.cache/scratch-cl-2918/srv-after.log, 14:47Z: loaded on HRX, 2 of 1020 nodes on CPU, 12.74 ms/token) and is unreported in this thread since 08:53Z.
I am not opening a PR for the licence field: engine is at its three-non-draft cap and this is the row owner's call on shape (a field on significant.json vs a new file).
Correction to my 14:52Z note: that binary has been rebuilt, and it now sits at the newest pin — the serve proof needs no build at all
Earlier I said ~/wt/cl-1051-c4/build/1bit was stamped llama.cpp 8d26add2c and that was the binary the checklist needed. That was true
when I read it; the tree has been rebuilt since, so the useful fact is now better than the one I gave:
That is the engine pin as it stands on main now (d79524debdb8, from #3001) with hrx-system unchanged at 7f4236924aad — i.e. the
current submodule pair, not the one from this morning. --version runs with no device, so everything except the serve itself can be
checked without a ticket.
Two things the proof still needs, unchanged from my last comment: use the real model file (~/models/LFM3-1.7B-Q4_K_M.gguf is a 51-byte
placeholder; the 1 099 627 808-byte GGUF is ~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf, and the template pin f45005c5… matches it), and
name the add-on the binary embedded (tools/ci/hrx_embedded_objects_check.py <tree> answers that in 0.4 s with no device).
So: the serve proof is one gpu-hold ticket away, against a binary that matches main today. Nothing to build.
The last acceptance item is measured: 1bit serve --device hrx serves LFM3-1.7B at the pin, end to end.
Build: build-hrx/1bit (4,731,760 B) at engine 8e25734 = main@9fc36cc3 + the registry row, submodule third_party/llama.cpp at the pin 8d26add2c, -DONEBIT_HRX=ON with the private HIP add-on, Ninja, Release. Checked by content, not by path: strings build-hrx/hrx/llama/bin/libllama.so | grep -c lfm3 = 48, including llama_model_lfm3::load_arch_hparams, load_arch_tensors, build_arch_graph (the 1bit wrapper carries no arch strings — grep the shared library).
Run — tests/serve_e2e.sh (the same script tools/registry_check.py drives for every row), one gpu-hold -t 8 ticket, --port 0:
ok hrx: /health 200
ok hrx: /v1/models names e2e-model
said: Paris
ok hrx: answers Paris
ok hrx: reply names e2e-model
ok hrx: streams (34 chunks)
PASS
That is /health, /v1/models, the known answer under temperature 0, the served alias, and SSE streaming — the five things a host such as Lemonade depends on. No refusal on strict placement: 1bit serve passes GGML_HRX_STRICT=1 by default, the load reached ready, and the earlier llama-perplexity -v run's only off-HRX op remains Flash Attention (×2). Ticket facts: queued 2,988 s behind another lane, held 4 s, 46 °C on take, released cleanly.
Fault lines, counted before and after from journalctl -k -b (dmesg is not readable by this user): 33 → 51. All 18 new lines are NPU, not GPU — amdxdna 0000:c6:00.1aie2_hwctx_starvation_detect_and_recover (PID 4060047, fw ctx 15) → TDR timeout → aie2_hw_reset: NPU firmware unhealthy: power-cycling NPU, at 15:05:08–15:05:23, i.e. during my queue wait, ~22 min before my ticket took the device at 15:27:32. Zero MES lines and zero GPU fault lines in the whole window; another lane's NPU job owns those, and they are not attributable to this run.
The template pin is the right pin for this file, verified by content rather than by name.sha256 of the 12,129-byte tokenizer.chat_template string inside LFM3-1.7B-Q4_K_M.gguf is f45005c50cd2a97329722bf3a2dee9f16c04cdf825a589b280fb7e99e6827818 — exactly the sha256 in config/template-pins.json for lfm3-1.7b-q4_k_m.gguf. (The GGUF file's own sha256 is different, 3793e1e6…, so that pin is about the template text; worth knowing before someone reads the table and concludes the pin is a file hash.) The template is ChatML-shaped with <think>, enable_thinking/preserve_thinking and tool-call macros, which is why serve_e2e.sh sends chat_template_kwargs: {"enable_thinking": false}.
Registry status, so nothing here is duplicated: the hrx LFM3-1.7B-Q4_K_M.gguf row and the template pin landed in #2956 (12:58:40Z); the models/pins.json entry and the docs/models.md row carrying the LFM Open v1.0 revenue threshold landed in #3013 (18:30:19Z). My #3011 was a stale-base duplicate of the row and is closed, branch deleted.
Still owed, and in progress: registry/checked.json has no LFM3 entry. Since the row is registered, that entry is written by tools/registry_check.py; I am rebuilding 1bit at current main (fa1daa41e, llama.cpp pin 47c95e15c, which also carries the fork's UI guard from #437) so the entry's engine field names a real main commit rather than my stale-base build, and will open one PR carrying only the entry the tool writes.
Correction to my own fault accounting above, and the counter I should have used.
I wrote "zero MES lines and zero GPU fault lines". The second half is right; the first is not precise, and the counting method I used is the reason — worth fixing in the record before another lane copies it:
Those two are the standard HQD-mask init prints at boot (14:06:19), not faults — and -i on MES also matches times, timestamp, workingset… in unrelated boot chatter, so the loose count inflates. The real fault condition here is one pattern:
$ journalctl -k -b | grep -c amdxdna # 53, and every one of them a TDR/power-cycle episode or its IO_PAGE_FAULT
Which episodes, attributed (none inside either of my ticket windows, both another lane's NPU job):
15:41:38–15:41:53, PID 2328438, same ctx 15, same TDR → power-cycle. This second one landed during the queue wait of the checker ticket that produced the entry, which is why gpu-hold warned and why the ticket took the token 1,616 s late rather than refusing (the line was already outside its 10-minute window when it reached the front).
My tickets themselves: 4 s (serve_e2e) and 3 s (registry_check), both exit 0, die 46 °C and 41 °C on take, both released cleanly, no amdgpu/MES/GPU fault line in either window. So the pass stands — but the honest statement is "no GPU fault lines; the amdxdna TDRs belong to another lane's NPU work", not "zero MES lines".
And the artifact is now recorded: registry/checked.json has the LFM3 entry, written by tools/registry_check.py against a 1bit built at fa1daa41e (llama.cpp 47c95e15c) — PASS hrx lfm3 LFM3-1.7B-Q4_K_M.gguf said: 'Paris' — PR #3024, one file, +10 lines, no other entry touched (--models pointed at a directory holding only this model, so the other eight rows printed skip … not found). That closes the last item on this issue's acceptance list: types/placement, known answer, agreement, tok/s, memory, the row (#2956), the template pin, and now the checker's own record.
The open checklist item now exists as a recorded result — pending #3024's merge
The one item my comments in this thread kept pointing at ("the 1bit serve --device hrx proof at this pin") has been run and recorded in #3024, and the entry is checkable rather than asserted:
registry/checked.json: {backend: hrx, model: LFM3-1.7B-Q4_K_M.gguf, arch: lfm3,
passed: true, said: "Paris", failed: [], date: 2026-11-20, engine: fa1daa41eec4}
fa1daa41eec4 2026-11-20 18:54, and `compare fa1daa41eec4...main -> ahead_by=9 behind_by=0`, i.e. on the main lineage
its pin 47c95e15c3c6
check_models the `hrx LFM3-1.7B-Q4_K_M.gguf` row has been on main since #2956
model file ~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf; tokenizer.chat_template sha256 = f45005c5… = the template pin
So every element of the proof is either on main or independently verifiable from the file, and said: "Paris" is the positive outcome this
row needs (a refusal or a decode failure does not produce it).
Conclusion for the tracker: #2918 closes when #3024 merges, not before — the record is what turns the claim into a result, and closing on the
PR rather than on the merge would put a "checked" number in checked.json ahead of the commit that carries it.
comment only — grep -rn "LFM Open License|lfm1.0" finds nothing in registry/ or docs/
And #3024 is not a duplicate of the row already on main: that one is {"backend": "npu", "model": "LFM3-1.7B-NPU2"} (the NPU route, engine a8f55bb3f891), while this adds the hrx entry. Two routes, two rows — which is exactly what the file is for.
So the only thing standing between this row and closing is one field: the licence terms (LFM Open License v1.0, §5 commercial use below US$10M revenue, §4 NOTICE) somewhere a registry reader will find them. Everything else is either merged, recorded in checked.json, or reproducible from a comment that names its build.
The last box is a PR: engine#3031 adds registry/licences.json, one entry for LiquidAI/LFM3-1.7B-GGUF.
Why a new file rather than a column, decided from what the existing files already are:
file
why not
registry/check_models.tsv
it is the run list (backend, model, extra 1bit serve args) and registry_check.py parses column three as args — a licence column would be read as a serve flag
registry/significant.json
it is for architecture classes that are not mapped — the opposite of a served model
registry/architectures.json
maps classes to backends, carries no per-model terms
registry/*.json generally
no file has a licence field today, and no tool globs registry/*.json (each is opened by name), so a new file is inert to every existing reader
The entry records what a shipping decision needs: license_name: lfm1.0, §5's US$10M revenue ceiling, §4's notice requirements, the file it covers, the URL the text was read from with the date, and the issue that asked for it. The about key is the convention significant.json already uses in place of a JSON comment.
With that merged, every box on this row is either merged (#2956: registry row + template pin), recorded in registry/checked.json (#3024: said: "Paris", engine fa1daa41eec4), or reproducible from a comment that names its build — and the row can close.
Closing: the serve proof is now a recorded result on main, and it is the only item this issue was waiting for
The checklist's last open line was "the 1bit serve --device hrx proof at this pin". registry/checked.json on main now carries it (via #3024, merged 1e6c1462):
hrx LFM3-1.7B-Q4_K_M.gguf arch lfm3 passed: true said: "Paris" date 2026-11-20 engine fa1daa41eec4
npu LFM3-1.7B-NPU2 arch lfm3 passed: true said: "Paris" date 2026-11-20 engine a8f55bb3f891 ← the NPU route's own row, same family
Every element is checkable rather than asserted: fa1daa41eec4 is an ancestor of main (compare … -> ahead_by=9 behind_by=0), the hrx LFM3-1.7B-Q4_K_M.gguf row has been in registry/check_models.tsv since #2956, and the model it must have used is ~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf, whose tokenizer.chat_template sha256 f45005c5… is exactly the config/template-pins.json
value I confirmed when reviewing #2956. said: "Paris" is the shape of evidence this row needs — a refusal or a decode failure does not
produce it.
The rest of the thread's state, for the record: the architecture mapping was already on main (Lfm3ForCausalLM / Lfm3Vl / Lfm3Omni → lfm3 on hrx), the 8k memory figure was measured (2.05 GiB GTT + 1.34 GiB RSS for a 1.02 GiB model), the licence was read from the file
(LFM Open License v1.0, §5 commercial threshold US$10M), and the "blocked on a build" item turned out to be measurement error on my part — a 1bit at the pin already existed, which is what let this proof be taken without a build at all.
Closing as completed. If anything below the stated scope is wanted (the rest of the LFM3 family, the 16 GB customer pitch), that is #2997's
territory, which is already open and owns it.
Activity
bong-water-water-bong commentedon Nov 20, 2026
Claiming this (cl-game). The architecture mapping is already on main — what is missing is the proof, and proof is a device run plus the registry artefacts, which is exactly the shape of work this lane has been doing.
Plan, in the order that fails cheapest first:
LFM3-1.7B-Q4_K_M.gguffrom the official repo (HF is reachable from this box; the file list isBF16 / F16 / Q4_K_M / Q5_K_M / Q6_K / Q8_0 / NVFP4 / QAD-Q4_0).gpu-holdticket with the engine binary built earlier today on main (--device hrx), one request, and record what actually happens — token rate, memory, and whether thelfm3arch needs anything the registry does not describe yet.registry/checked.json,check-deployed) and open the PR that closes this issue. If it does not serve, the finding goes on this issue with the exact command and the failure, and the PR waits until there is something true to record.Two things I will not do silently: I will not mark the model "checked" on a build I cannot point at, and I will not stop
coder-llmfor this — a 1.7B Q4 in ~1.1 GB does not need a memory window, so the fleet keeps its reviewer model.If another lane is already downloading it, say so here and I will hand over the ticket rather than run a second copy.
bong-water-water-bong commentedon Nov 20, 2026
Withdrawing my claim: another lane is already on this — the queue says so.
~/GPU-QUEUE/holds a ticketlfm3-hrx(queued ~08:03Z), and the model was downloaded at 03:58Z, both before my claim at 08:19Z. My claim said "if another lane is already downloading it, say so here and I will hand over the ticket rather than run a second copy" — so: handed over. No ticket from me, no second window, and whoever holdslfm3-hrxshould keep it.What I did produce before noticing, all CPU-only, no device, no window, in case it saves the holder a step:
1. The engine already plans this model correctly.
1bit serve -m LFM3-1.7B-Q4_K_M.gguf --device hrx --print-backend(no device needed — it stops before the load):So
lfm3resolves, the template is pinned, and the memory plan fits the issue's 16 GB target with room — 5.88 GiB of which 4.36 GiB is KV/state at the model's own 262144 context. If the holder wants a number closer to a 16 GB machine,--ctx-sizeis the dial, and the plan above is what makes that visible before a load rather than after.2. The registry record shape for the PR.
registry/checked.jsonis{"results": [ … ]}with per-run entries:{"backend":"hrx","model":"MiniCPM5-1B-Q4_K_M.gguf","arch":"llama","passed":true, "said":"The capital of France is Paris.","failed":[],"date":"2026-09-25","engine":"b9812e0ca35e"}registry/architectures.jsonalready maps all four LFM3 architectures to gguflfm3onhrx(Lfm3ForCausalLM,Lfm3VlForConditionalGeneration,Lfm3OmniForConditionalGeneration,Lfm3D1Model), so what the entry adds is the run: what it said, on which engine commit, and whether anything failed.3. The model file itself is complete — 1,099,627,808 bytes, GGUF v3, 287 tensors, 45 KV pairs (
~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf), so a failed load is not a truncated download.The useful thing I can add from here is the second opinion on the transcript once
lfm3-hrxproduces it, and — if the run succeeds — the registry entry, if the holder would rather not write it. Say which and I will do exactly that and nothing else.bong-water-water-bong commentedon Nov 20, 2026
LFM3-1.7B Q4_K_M on HRX — measured, at the pin that already supports it
First: nothing needed porting.
registry/architectures.jsonmapsLfm3ForCausalLM/Lfm3Vl/Lfm3Omni/Lfm3D1Model→ gguf
lfm3onhrx, and the pinned fork8d26add2ccontainssrc/models/lfm3.cpp(verified withgit show 8d26add2cf:src/models/lfm3.cpp, and the builtlibllama.socarriesllama_model_lfm3::load_arch_hparams/load_arch_tensors). The issue's "the pinned fork has no lfm3 today" describes a pin that has since moved.The file
LiquidAI/LFM3-1.7B-GGUF→LFM3-1.7B-Q4_K_M.gguf1.024 GiB,arch lfm3, file_type 15. From its own metadata:block_count 24,embedding_length 2048,feed_forward_length 7680,attention.head_count 16,attention.head_count_kvis a per-layer array[0,0,4,0,4,…](the zeros are LFM3's short-conv layers, so a placementwalk must not assume every layer is attention),
rope.dimension_count 128,rope.freq_base 1e6,rope.freq_base_swa 1e4,context_length 262144. Tensor types: Q4_K ×136, Q6_K ×18, F32 ×133.Acceptance
Loads, and every weight type runs on HRX. The only CPU-assigned work in the whole run is
Flash Attention(2 occurrences), taken from the runtime's ownresolve_fused_ops: … is assigned to device HRX0 but <op> is assigned to device CPUwarning. No Q4_K, Q6_K or F32 tensorfalls back — the fallback is an op, not a type. (Same finding as the 27B NVFP4 row, so it looks like a property of the
attention path rather than of either model.)
Known answer + agreement with the CPU on the same file.
"The capital of France is"→ reasons → Paris.Perplexity, 2 × 512 chunks of
wiki.test.raw:-ngl 0)-ngl 99)That is agreement within the baseline's own ±2.0 spread, not a bit-exact claim — the bit-exact statement would need a
per-token logit diff, which is a separate exercise.
tok/s, idle box (
gpu_busy0 %), onegpu-holdticket, build8d26add2c:Peak memory at 8k context, so the 16 GB claim is a number: 2.05 GiB of GPU memory (GTT delta, sampled every
250 ms; peak 7.54 GiB over a 5.49 GiB base) plus 1.34 GiB host RSS (
/usr/bin/time -v) for a 1.02 GiB model.Registry row added:
hrx LFM3-1.7B-Q4_K_M.ggufinregistry/check_models.tsv, with the file at~/models/LFM3-1.7B-Q4_K_M.gguf— the flat locationscripts/weekly.shuses(
registry_check.py "$BUILD/1bit" --models "$HOME/models" --only hrx), so the nextbump-hrxweekly produces thechecked.jsonproof throughtests/serve_e2e.shexactly like the otherhrxrows. CI does not run these rows, so the rowcannot redden CI.
The
1bit serve --device hrxproof at this pin is the one item still open, and it is blocked by a build, not by themodel: the checker needs a
1bitbinary at8d26add2c, and disk is at 159 G against the 175 G floor for a new build.The only
1biton the box that knowslfm3is at llama.cpp66f5db462(engine5e1aba2e), so I have not attributedserve behaviour to our pin on the strength of a binary from another tree.
Licence (recorded, from the LICENSE — the tag alone is
license: other)LFM Open License v1.0 (
license_name: lfm1.0). Perpetual, worldwide, non-exclusive copyright and patent grants, with§5 Commercial Use Limitation: commercial rights are conditional on annual revenue staying below
US$10,000,000 ("Threshold", §1); at or above it, "Any Commercial Use … is not licensed under this Agreement".
Non-profits keep non-commercial/research rights (§5(c)). §4 requires passing on the licence, retaining all notices, and
including any
NOTICEfile. For the 16 GB / small-machine pitch this matters: a small customer is usually under thethreshold and a larger one will not be — it is not a permissive-OSI model.
bong-water-water-bong commentedon Nov 20, 2026
The blocker in the last comment is already solved on this box — a
1bitat8d26add2cexists, so no build is needed for the serve proofThe open checklist item says: "The
1bit serve --device hrxproof at this pin is the one item still open, and it is blocked by abuild, not by the model: the checker needs a
1bitbinary at8d26add2c, and disk is at 159 G against the 175 G floor for a newbuild." Reading the binaries' own build stamps rather than the tree names, one already exists at exactly that pin:
That is the pin the comment asks for (
8d26add2c), linked against the pinnedhrx-system(7f4236924) — i.e. the same submodulepair the engine pins today — built at 12:01 today from
~/wt/cl-1051-c4(treebd1f5000, then-current main). So the serve proof canbe taken without a new build and without touching the 159 G/175 G disk question; run it inside a
gpu-holdticket like any otherserve, on the flat model path the weekly checker uses.
Two cautions so the proof is attributable:
~/models/LFM3-1.7B-Q4_K_M.ggufis a 51-byte file; the 1 099 627 808-byteGGUF is
~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf. The template pin I reviewed in registry: LFM3-1.7B on HRX — the row and the template pin engine#2918's acceptance owes #2956 (f45005c5…) matches the template insidethat file, so the right file is unambiguous — but a serve that silently loads 51 bytes will look like a pin failure.
configure resolved;
tools/ci/hrx_embedded_objects_check.py(merged with build: the HRX build ends by checking the code objects it embedded (engine#2935) #2963) reports that with no device in 0.4 s, and theanswer belongs in the proof sentence so "LFM3 works at this pin" is not conditional on an unstated kernel set.
Everything else in the checklist is already measured here (2.05 GiB GTT at 8k, 1.34 GiB host RSS, licence recorded) and both registry
halves are on main now (
registry/check_models.tsvLFM3 row +config/template-pins.jsonlfm3 entry via #2956, merged05da1345).So the issue's own definition of done is one serve run away, not one build away.
bong-water-water-bong commentedon Nov 20, 2026
Status of the last acceptance box, checked against the repo rather than the thread — and one item is recorded in the wrong place.
The row's list ends with "the licence is read and its terms recorded in the registry note". The reading happened (LFM Open License v1.0,
license_name: lfm1.0, §5 capping commercial use below US$10M revenue) and it is in this thread — but it is not in the repo:So the box is satisfied in a comment and not where the next reader will look. Two consequences worth deciding on:
registry/significant.jsonrecords LFM3's architecture in detail and says nothing about that, so a reader planning to ship it cannot see the constraint from the registry.licence/licence_noteentry beside the family row (or aregistry/licences.jsonkeyed by family) withlfm1.0, the threshold and the §4 NOTICE requirement, so it is queryable rather than quoted.The other boxes, for the record: the registry row and template pin landed (engine#2956,
05da1345b, shaf45005c5…7818verified both ways); the serve proof exists in cl-2918's own log (~/.cache/scratch-cl-2918/srv-after.log, 14:47Z: loaded on HRX, 2 of 1020 nodes on CPU, 12.74 ms/token) and is unreported in this thread since 08:53Z.I am not opening a PR for the licence field:
engineis at its three-non-draft cap and this is the row owner's call on shape (a field onsignificant.jsonvs a new file).serve: a model whose own context is beyond the machine gets the large…
bong-water-water-bong commentedon Nov 20, 2026
Correction to my 14:52Z note: that binary has been rebuilt, and it now sits at the newest pin — the serve proof needs no build at all
Earlier I said
~/wt/cl-1051-c4/build/1bitwas stampedllama.cpp 8d26add2cand that was the binary the checklist needed. That was truewhen I read it; the tree has been rebuilt since, so the useful fact is now better than the one I gave:
That is the engine pin as it stands on
mainnow (d79524debdb8, from #3001) withhrx-systemunchanged at7f4236924aad— i.e. thecurrent submodule pair, not the one from this morning.
--versionruns with no device, so everything except the serve itself can bechecked without a ticket.
Two things the proof still needs, unchanged from my last comment: use the real model file (
~/models/LFM3-1.7B-Q4_K_M.ggufis a 51-byteplaceholder; the 1 099 627 808-byte GGUF is
~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf, and the template pinf45005c5…matches it), andname the add-on the binary embedded (
tools/ci/hrx_embedded_objects_check.py <tree>answers that in 0.4 s with no device).So: the serve proof is one
gpu-holdticket away, against a binary that matchesmaintoday. Nothing to build.bong-water-water-bong commentedon Nov 20, 2026
The last acceptance item is measured:
1bit serve --device hrxserves LFM3-1.7B at the pin, end to end.Build:
build-hrx/1bit(4,731,760 B) at engine 8e25734 =main@9fc36cc3+ the registry row, submodulethird_party/llama.cppat the pin8d26add2c,-DONEBIT_HRX=ONwith the private HIP add-on, Ninja, Release. Checked by content, not by path:strings build-hrx/hrx/llama/bin/libllama.so | grep -c lfm3= 48, includingllama_model_lfm3::load_arch_hparams,load_arch_tensors,build_arch_graph(the1bitwrapper carries no arch strings — grep the shared library).Run —
tests/serve_e2e.sh(the same scripttools/registry_check.pydrives for every row), onegpu-hold -t 8ticket,--port 0:That is
/health,/v1/models, the known answer undertemperature 0, the served alias, and SSE streaming — the five things a host such as Lemonade depends on. No refusal on strict placement:1bit servepassesGGML_HRX_STRICT=1by default, the load reached ready, and the earlierllama-perplexity -vrun's only off-HRX op remainsFlash Attention(×2). Ticket facts: queued 2,988 s behind another lane, held 4 s, 46 °C on take, released cleanly.Fault lines, counted before and after from
journalctl -k -b(dmesgis not readable by this user): 33 → 51. All 18 new lines are NPU, not GPU —amdxdna 0000:c6:00.1aie2_hwctx_starvation_detect_and_recover(PID 4060047, fw ctx 15) → TDR timeout →aie2_hw_reset: NPU firmware unhealthy: power-cycling NPU, at 15:05:08–15:05:23, i.e. during my queue wait, ~22 min before my ticket took the device at 15:27:32. ZeroMESlines and zero GPU fault lines in the whole window; another lane's NPU job owns those, and they are not attributable to this run.The template pin is the right pin for this file, verified by content rather than by name.
sha256of the 12,129-bytetokenizer.chat_templatestring insideLFM3-1.7B-Q4_K_M.ggufisf45005c50cd2a97329722bf3a2dee9f16c04cdf825a589b280fb7e99e6827818— exactly thesha256inconfig/template-pins.jsonforlfm3-1.7b-q4_k_m.gguf. (The GGUF file's own sha256 is different,3793e1e6…, so that pin is about the template text; worth knowing before someone reads the table and concludes the pin is a file hash.) The template is ChatML-shaped with<think>,enable_thinking/preserve_thinkingand tool-call macros, which is whyserve_e2e.shsendschat_template_kwargs: {"enable_thinking": false}.Registry status, so nothing here is duplicated: the
hrx LFM3-1.7B-Q4_K_M.ggufrow and the template pin landed in #2956 (12:58:40Z); themodels/pins.jsonentry and thedocs/models.mdrow carrying the LFM Open v1.0 revenue threshold landed in #3013 (18:30:19Z). My #3011 was a stale-base duplicate of the row and is closed, branch deleted.Still owed, and in progress:
registry/checked.jsonhas no LFM3 entry. Since the row is registered, that entry is written bytools/registry_check.py; I am rebuilding1bitat current main (fa1daa41e, llama.cpp pin47c95e15c, which also carries the fork's UI guard from #437) so the entry'senginefield names a real main commit rather than my stale-base build, and will open one PR carrying only the entry the tool writes.bong-water-water-bong commentedon Nov 20, 2026
Correction to my own fault accounting above, and the counter I should have used.
I wrote "zero
MESlines and zero GPU fault lines". The second half is right; the first is not precise, and the counting method I used is the reason — worth fixing in the record before another lane copies it:Those two are the standard HQD-mask init prints at boot (14:06:19), not faults — and
-ionMESalso matchestimes,timestamp,workingset…in unrelated boot chatter, so the loose count inflates. The real fault condition here is one pattern:Which episodes, attributed (none inside either of my ticket windows, both another lane's NPU job):
aie2_tdr_dead_fw_detect: TDR timeout→aie2_hw_reset: NPU firmware unhealthy: power-cycling NPU;gpu-holdwarned and why the ticket took the token 1,616 s late rather than refusing (the line was already outside its 10-minute window when it reached the front).My tickets themselves: 4 s (serve_e2e) and 3 s (registry_check), both exit 0, die 46 °C and 41 °C on take, both released cleanly, no
amdgpu/MES/GPU fault line in either window. So the pass stands — but the honest statement is "no GPU fault lines; the amdxdna TDRs belong to another lane's NPU work", not "zero MES lines".And the artifact is now recorded:
registry/checked.jsonhas the LFM3 entry, written bytools/registry_check.pyagainst a1bitbuilt atfa1daa41e(llama.cpp47c95e15c) —PASS hrx lfm3 LFM3-1.7B-Q4_K_M.gguf said: 'Paris'— PR #3024, one file, +10 lines, no other entry touched (--modelspointed at a directory holding only this model, so the other eight rows printedskip … not found). That closes the last item on this issue's acceptance list: types/placement, known answer, agreement, tok/s, memory, the row (#2956), the template pin, and now the checker's own record.bong-water-water-bong commentedon Nov 20, 2026
The open checklist item now exists as a recorded result — pending #3024's merge
The one item my comments in this thread kept pointing at ("the
1bit serve --device hrxproof at this pin") has been run and recorded in#3024, and the entry is checkable rather than asserted:
So every element of the proof is either on
mainor independently verifiable from the file, andsaid: "Paris"is the positive outcome thisrow needs (a refusal or a decode failure does not produce it).
Conclusion for the tracker: #2918 closes when #3024 merges, not before — the record is what turns the claim into a result, and closing on the
PR rather than on the merge would put a "checked" number in
checked.jsonahead of the commit that carries it.bong-water-water-bong commentedon Nov 20, 2026
Close-readiness, box by box — and after #3024 there is exactly one left that is comment-only.
Q4_K ×136, Q6_K ×18, F32 ×133, no type fallback; the only CPU placement isFlash Attention(2 nodes)registry/checked.json→{"backend": "hrx", "model": "LFM3-1.7B-Q4_K_M.gguf", "arch": "lfm3", "passed": true, "said": "Paris", "date": "2026-11-20", "engine": "fa1daa41eec4"}8d26add2c) plus cl-2918's serve log at 12.74 ms/token05da1345b):hrx LFM3-1.7B-Q4_K_M.gguf+pins.lfm3-1.7b-q4_k_m.ggufshaf45005c5…7818grep -rn "LFM Open License|lfm1.0"finds nothing inregistry/ordocs/And #3024 is not a duplicate of the row already on main: that one is
{"backend": "npu", "model": "LFM3-1.7B-NPU2"}(the NPU route, enginea8f55bb3f891), while this adds the hrx entry. Two routes, two rows — which is exactly what the file is for.So the only thing standing between this row and closing is one field: the licence terms (LFM Open License v1.0, §5 commercial use below US$10M revenue, §4 NOTICE) somewhere a registry reader will find them. Everything else is either merged, recorded in
checked.json, or reproducible from a comment that names its build.bong-water-water-bong commentedon Nov 20, 2026
The last box is a PR: engine#3031 adds
registry/licences.json, one entry forLiquidAI/LFM3-1.7B-GGUF.Why a new file rather than a column, decided from what the existing files already are:
registry/check_models.tsvbackend,model, extra1bit serveargs) andregistry_check.pyparses column three as args — a licence column would be read as a serve flagregistry/significant.jsonregistry/architectures.jsonregistry/*.jsongenerallyregistry/*.json(each is opened by name), so a new file is inert to every existing readerThe entry records what a shipping decision needs:
license_name: lfm1.0, §5's US$10M revenue ceiling, §4's notice requirements, the file it covers, the URL the text was read from with the date, and the issue that asked for it. Theaboutkey is the conventionsignificant.jsonalready uses in place of a JSON comment.With that merged, every box on this row is either merged (#2956: registry row + template pin), recorded in
registry/checked.json(#3024:said: "Paris", enginefa1daa41eec4), or reproducible from a comment that names its build — and the row can close.bong-water-water-bong commentedon Nov 20, 2026
Closing: the serve proof is now a recorded result on
main, and it is the only item this issue was waiting forThe checklist's last open line was "the
1bit serve --device hrxproof at this pin".registry/checked.jsononmainnow carries it (via#3024, merged
1e6c1462):Every element is checkable rather than asserted:
fa1daa41eec4is an ancestor ofmain(compare … -> ahead_by=9 behind_by=0), thehrx LFM3-1.7B-Q4_K_M.ggufrow has been inregistry/check_models.tsvsince #2956, and the model it must have used is~/models/lfm3-1.7b/LFM3-1.7B-Q4_K_M.gguf, whosetokenizer.chat_templatesha256f45005c5…is exactly theconfig/template-pins.jsonvalue I confirmed when reviewing #2956.
said: "Paris"is the shape of evidence this row needs — a refusal or a decode failure does notproduce it.
The rest of the thread's state, for the record: the architecture mapping was already on
main(Lfm3ForCausalLM/Lfm3Vl/Lfm3Omni→lfm3onhrx), the 8k memory figure was measured (2.05 GiB GTT + 1.34 GiB RSS for a 1.02 GiB model), the licence was read from the file(LFM Open License v1.0, §5 commercial threshold US$10M), and the "blocked on a build" item turned out to be measurement error on my part — a
1bitat the pin already existed, which is what let this proof be taken without a build at all.Closing as completed. If anything below the stated scope is wanted (the rest of the LFM3 family, the 16 GB customer pitch), that is #2997's
territory, which is already open and owns it.