Speed test
LFM2-350M
AMD Ryzen 7 7840HS · llama.cpp · commit 6b4dc21, AVX2 -Ofast Zen4-tuned no-repack build · Q2_K_S
steveseguinCommunityJul 14, 2026
Decode
308tok/s
Prefill
963tok/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 -ctk q8_0 -ctv q8_0 -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 Zen4-tuned no-repack build
- Quant
- Q2_K_S
- Backend
- cpu
- KV cache
- q8_0
- Prefill chunk
- 1024
- Flash Attn
- yes
Run config
- Context
- 512 tokens
- Batch size
- 1
- Prompt tokens
- 64
- Prefill tok/s
- 963.0 tok/s
- Output tokens
- 256
- Notes
- CPU-only llama.cpp AVX2-only (`-march=znver3 -mtune=znver4`) -Ofast build with CPU repacking disabled and q8_0 K/V cache. 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.564, 307.609, 308.243, 308.593, 308.657 tok/s. q4_0 K/V was slower; q8_0 was retained.
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
- 307tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast no-repack build · Q2_K_S512 context · 0 depth · batch 1steveseguin · Jul 14, 2026
- 306tok/sllama.cpp · commit 6b4dc21, AVX2 -Ofast 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
