Snelheidstest
gemma-4-31B-it
RTX 5090 32GB · ninfer · Q6
Decode
170tok/s
Prefill
1.9ktok/s
Tijd tot eerste token
155ms
Totaal
255tok/s
Piek-VRAM
26,6GB
Contextlengte
32K
KV-diepte
0
Batchgrootte
1
Gelijktijdigheid
1
Stroomverbruik
469W
Verificatie
Geverifieerde runStartcommando
taskset -c 8-23 ./build/apps/ninfer-serve models/gemma4_31b_it_m1.ninfer --model-id gemma4-31b --port 18080 --max-concurrency 1 --max-context 32768 --kv-capacity 32768 --kv-dtype bf16 --spec mtp --draft-tokens 7
Theoretical memory ceiling
277.1–289.9 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 26.81 GB model weights · 16-bit KV cache · 1–292 tokens of context
Includes speculative decoding: 4.34 tokens accepted per model step on average (63.9–66.8 steps/s) · measured 39.3 steps/s
59–61%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-31B-it; size from Q6 estimate. Hardware source · Open calculator
Hardware
- GPU
- RTX 5090
- Aantal
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 26.10
Engine
- Engine
- ninfer
- Repository
- https://github.com/giveen/ninfer-e…
- Build
- CUDA 13.3, sm_120a, Release, driver 615.71.09
- Commit
- 7d08406d19174245c8205bf216432cd10ecad60b
- Quant
- Q6
- Backend
- cuda
- KV cache
- bf16
- Prefix caching
- ja
- Chunked prefill
- ja
- Prefill chunk
- 1024
- Spec decode
- ingeschakeld
- MTP
- ingeschakeld
Run config
- Context
- 32.768 tokens
- Diepte
- 0 tokens
- Batchgrootte
- 1
- Prompttokens
- 292
- Prefill tok/s
- 1,892.1 tok/s
- Stroomverbruik
- 469 W
- Outputtokens
- 512
- Notities
- Single RTX 5090, single card. NInfer gemma4_31b_m1 recipe from the BF16 checkpoint: attention and LM head Q6 g64, MLP Q6/Q5 g64 (sensitivity-chosen layout), BF16 embedding host-pinned, Q6 assistant drafter; BF16 KV. Gemma 4's assistant drafter via --spec mtp, adaptive draft length up to 7 (the drafter's maximum), full head; greedy output is exact. One request, 512 output tokens (no thinking block). This run is the median of 5 timed runs after 1 warmup (fresh cache-bust nonce per request); the 5 runs gave 157.8-176.4 tok/s on reasoning-v1 and 205.2-220.8 on code-v1. Same-session A/B (medians, reasoning / code): no speculation 56.8 / 55.4; MTP up to 3 126.6 / 145.6; up to 5 159.1 / 188.2. tokSOut/tokSPrefill from the server's llama.cpp-style timings, TTFT client-side.
Speculatieve decodering
- Methode
- MTP
- Geaccepteerd per stap
- 4,34 tokens
- Acceptatiegraad
- 48%
- Drafttokens
- 812
- Geaccepteerde tokens
- 393
Vastgelegd bewijs
- Prompt-hash (SHA-256)
- 9000edaadb16…
Promptvoorbeeld · 1,128 chars
[LocalMaxxing cache-bust nonce: 176796c612f44a5e] You are helping a small robotics club plan a weekend build. Work through each part carefully and show your reasoning. 1. The club has 7 members and a budget of 412 dollars. A motor driver costs 18.50, a microcontroller 23.75, and each member wants one of each plus a shared 3D-printer spool at 27.90. After buying everything, they split the remainder evenly on batteries priced at 6.35 each. How many batteries can they buy in total, and how much money is left over? 2. Two members disagree about wheel size. Alice says a larger wheel gives more torque at the ground; Ben says it gives more speed. Explain who is right, what tradeoff is actually involved, and how gear ratio changes the answer. 3. Write a short, plain-English procedure (six to nine steps) for safely testing a new motor circuit for the first time, including what to check before applying power. 4. Finally, propose one creative feature for the robot that would be unusual for a club project, and give two concrete risks with how you would mitigate each. Answer all four parts in order with clear headings.
Uitvoervoorbeeld · 1,694 chars
### 1. Budget Calculation
**Step-by-step reasoning:**
* **Individual components:** 7 members $\times$ (1 motor driver at \$18.50 + 1 microcontroller at \$23.75)
* $18.50 + 23.75 = 42.25$ per person
* $7 \times 42.25 = 295.75$
* **Shared components:** 1 spool at \$27.90
* **Total spent before batteries:** $295.75 + 27.90 = 323.65$
* **Remaining budget:** $412.00 - 323.65 = 88.35$
* **Battery calculation:** $88.35 \div 6.35 \approx 13.91$
**Results:**
* **Total batteries:** 13
* **Money left over:** $88.35 - (13 \times 6.35) = 88.35 - 82.55 = \mathbf{\$5.80}$
---
### 2. Wheel Size Debate
**Who is right?**
Ben is correct. A larger wheel increases the linear distance the robot travels per revolution of the motor, which increases **top speed**.
**The Tradeoff:**
The tradeoff is between **speed and torque (tractive effort)**. While a larger wheel covers more ground, it creates a longer lever arm between the axle and the ground. This increases the resistance the motor must overcome to turn the wheel, effectively reducing the amount of force (torque) the robot can apply to the ground to accelerate or climb obstacles.
**The Role of Gear Ratios:**
Gear ratios can be used to offset this tradeoff. If the club wants the speed of a large wheel but the power of a small one, they can implement a **reduction gear** (a small gear driving a larger gear). This increases the torque delivered to the axle, allowing the larger wheel to turn more easily, though it will reduce the theoretical maximum speed gained by the larger wheel.
---
### 3. Motor Circuit Testing Procedure
1. **Visual Inspection:** Check for "solder bridges" (accidental blobs of solderMeer runs van dit model op deze hardware
- 216tok/sninfer · Q632K context · 0 diepte · batch 1Geverifieerde runjabbatheduck · 19 okt 2026
- 68.5tok/sllama.cpp · b741 (1fd6dfe) · UD-Q4_K_XL-QAT8K context · 0 diepte · batch 1Skiipy · 14 jun 2026
- 46.5tok/sllama.cpp · b741 (1fd6dfe) · UD-Q6_K_XL8K context · 0 diepte · batch 1Skiipy · 14 jun 2026
- 38.0tok/sllama.cpp · Q8_02K context · 0 diepte · batch 1sergoabe · 27 jun 2026
