kingjones777 commited on
Commit
edb83c0
·
verified ·
1 Parent(s): ed6546c
Files changed (1) hide show
  1. README.md +57 -0
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: lfm1.0
4
+ base_model: LiquidAI/LFM2-8B-A1B
5
+ base_model_relation: quantized
6
+ tags: [gguf, llama.cpp, rocm, gfx1151, strix-halo, amd, ryzen-ai-max-395, rocmfp4, rocmfpx, lfm2, liquid, moe]
7
+ language: [en]
8
+ pipeline_tag: text-generation
9
+ ---
10
+
11
+ > ### ⚠️ STOCK `llama.cpp` WILL NOT LOAD THESE
12
+ >
13
+ > The `ROCmFP4` / `ROCmFPX` quant types exist only in
14
+ > [`charlie12345/ROCmFPX`](https://github.com/charlie12345/ROCmFPX) — stock llama.cpp reports
15
+ > `invalid ggml type`. Ignore the auto-generated "Use this model" commands above.
16
+
17
+ # LFM2-8B-A1B — ROCmFP4 / ROCmFPX GGUF
18
+
19
+ **The first ROCmFP4 quantizations of LFM2-8B-A1B.** Built for **AMD gfx1151
20
+ (Ryzen AI MAX+ 395 / Strix Halo)**. 24 layers · hidden 2048 · **32 experts**, ~1B active.
21
+
22
+ Quantized from **BF16 GGUF** — a lossless source, not a requantization of a lower-bit build.
23
+
24
+ ## All four quants — pick by size, not by hoping
25
+
26
+ | file | ftype | size | bpw | decode (median of 3) | runs | best for |
27
+ |---|---|---|---|---|---|---|
28
+ | `Q4_0_ROCMFP4_COHERENT` | 102 | 4.41 GiB | 4.54 | **146.61** | 150.64 / 146.32 / 146.61 | smallest — best fit for a 128 GB Strix Halo |
29
+ | `Q6_0_ROCMFPX_AGENT` | 114 | 7.14 GiB | 7.35 | **104.09** | 104.09 / 104.34 / 103.95 | agent/tool-call routing at 6-bit |
30
+ | `Q8_0_ROCMFPX` | 111 | 8.02 GiB | 8.26 | **102.97** | 103.77 / 102.91 / 102.97 | highest fidelity, plain routing |
31
+ | `Q8_0_ROCMFPX_AGENT` | 115 | 8.13 GiB | 8.37 | **104.31** | 104.31 / 103.87 / 104.78 | highest fidelity + agent routing |
32
+
33
+ Measured on a Ryzen AI MAX+ 395 (gfx1151, ROCm), `-ngl 999 -c 4096 -fa on -fit off`,
34
+ median of 3 with warm-up discarded on an otherwise-idle box.
35
+
36
+ **Correctness:** 3/3 on every quant — 17x23 => `391` - capital of Japan => `Tokyo` - days in 2024 => `366` (max_tokens 1024)
37
+
38
+ **Speculative decoding:** **None.** No MTP / EAGLE / nextn tensors, so there is no speculative speedup to enable and no acceptance length to quote. Source: `unsloth/LFM2-8B-A1B-GGUF` BF16.
39
+
40
+ > ℹ️ **Why no "4-bit AGENT"?** The `AGENT` recipes exist only at 3-bit (113), 6-bit (114/117) and
41
+ > 8-bit (115) — the entire 4-bit family (100–106) has no AGENT variant. Rather than hand-roll one
42
+ > and publish it under a name implying it is standard, the 6-bit `Q6_0_ROCMFPX_AGENT` fills that
43
+ > slot. `AGENT` routing keeps more tensors at higher precision for tool-call coherence.
44
+
45
+ > ℹ️ **Head protection.** These GGUFs contain **no separate `output.weight`** — the embedding is
46
+ > tied — so `--token-embedding-type` is what protects the head here and
47
+ > `--output-tensor-type` is a no-op. Audited in the finished files: `token_embd` is **Q6_K** on
48
+ > the 4-bit build and **Q8_0** on the 6/8-bit builds.
49
+
50
+ ---
51
+
52
+ ## What was NOT measured
53
+ - **No perplexity run**, and no quality A/B against the BF16 source.
54
+ - **No long-context testing.** · **No tool-calling evaluation** — note the `AGENT` builds are
55
+ *named* for tool-call routing but we did not benchmark tool use.
56
+
57
+ Base model licence inherited; all credit for the weights goes to Liquid AI.