Speed test
LFM2-350M
AMD Ryzen 7 7840HS · llama.cpp · commit 6b4dc21, AVX2 -Ofast build · Q2_K_S
steveseguinCommunityJul 14, 2026
Decode
306tok/s
Prefill
960tok/s
Time to first token
—
Total
—
Peak VRAM
—
Context length
512
KV depth
—
Batch size
1
Concurrency
1
Power draw
—
Verification
Not verified — experimental result
Verified runs use a standard test prompt and record enough data to check the result.
Launch command
taskset -c 0-7 llama-bench -m LFM2-350M-Q2_K_S-imatrix.gguf -p 64 -n 256 -b 4096 -ub 1024 -t 8 --poll 100 -fa auto -o json
Theoretical memory ceiling
We don't have memory speed data for this hardware yet, so a ceiling can't be estimated.
Hardware
- CPU
- AMD Ryzen 7 7840HS
- RAM
- 32 GB
- OS
- Ubuntu 24.04.4 LTS
Engine
- Engine
- llama.cpp
- Version
- commit 6b4dc21, AVX2 -Ofast build
- Quant
- Q2_K_S
- Backend
- cpu
- Prefill chunk
- 1024
- Flash Attn
- yes
Run config
- Context
- 512 tokens
- Batch size
- 1
- Prompt tokens
- 64
- Prefill tok/s
- 960.4 tok/s
- Output tokens
- 256
- Notes
- CPU-only llama.cpp build forced to AVX2 (`-march=znver3 -mtune=znver3`) with -Ofast; this avoids AVX-512 frequency effects on Zen 4. Q2_K_S importance-matrix quantization from official LiquidAI F16 source; physical CPUs 0-7, polling 100, batch 4096/1024. Five decode-only samples: 307.084, 306.713, 306.842, 307.322, 307.357 tok/s. Same quant had a coherent but repetitive quality smoke test under the standard build.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
More runs of this model on this hardware
- 637tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K_S512 context · 0 depth · batch 24steveseguin · Jul 14, 2026
- 630tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K_S512 context · 0 depth · batch 24steveseguin · Jul 14, 2026
- 594tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K_S512 context · 0 depth · batch 8steveseguin · Jul 14, 2026
- 400tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack server · Q2_K_S512 context · 0 depth · batch 8steveseguin · Jul 14, 2026
- 308tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 308tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 308tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 307tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 299tok/sllama.cpp · commit 6b4dc21, -Ofast native build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 297tok/sllama.cpp · commit 6b4dc21 · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
