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
981tok/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 256 -n 0 -b 512 -ub 128 -t 8 --poll 100 -ctk f16 -ctv f16 -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
- Prefill chunk
- 128
Run config
- Context
- 512 tokens
- Batch size
- 1
- Prompt tokens
- 256
- Prefill tok/s
- 981.4 tok/s
- Output tokens
- 256
- Notes
- Prefill-focused CPU benchmark. AVX2-only (`-march=znver3 -mtune=znver4`) -Ofast build with CPU repacking disabled, physical CPUs 0-7, batch 512/ubatch 128, F16 K/V cache. Q2_K_S importance-matrix quantization from official LiquidAI F16 source. Prefill sweep peaked at 981.431 tok/s for a 256-token prompt; single-session decode reference is 307.746 tok/s under the same 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
- 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
