速度测试
gemma-4-31B-it
RTX 5090 32GB · ninfer · Q6
解码
170tok/s
预填充
1.9ktok/s
首个 token 延迟
155ms
总计
255tok/s
峰值 VRAM
26.6GB
上下文长度
32K
KV 深度
0
批大小
1
并发数
1
功耗
469W
验证
已验证运行启动命令
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
模型
- GPU
- RTX 5090
- 数量
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 26.10
引擎
- 引擎
- ninfer
- Repository
- https://github.com/giveen/ninfer-e…
- Build
- CUDA 13.3, sm_120a, Release, driver 615.71.09
- Commit
- 7d08406d19174245c8205bf216432cd10ecad60b
- 量化
- Q6
- 后端
- cuda
- KV 缓存
- bf16
- 前缀缓存
- 是
- 分块预填
- 是
- 预填块
- 1024
- Spec decode
- 已启用
- MTP
- 已启用
运行配置
- 上下文
- 32,768 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 292
- 预填 tok/s
- 1,892.1 tok/s
- 功耗
- 469 W
- 输出 token
- 512
- 备注
- 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.
推测解码
- 方法
- MTP
- 每步接受数
- 4.34 个 token
- 接受率
- 48%
- 草稿 token
- 812
- 已接受 token
- 393
已记录的证据
- 提示词哈希(SHA-256)
- 9000edaadb16…
提示词样本 · 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.
输出样本 · 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 solder该模型在此硬件上的更多运行
- 216tok/sninfer · Q6上下文 32K · 深度 0 · 批大小 1已验证运行jabbatheduck · 2026年10月19日
- 68.5tok/sllama.cpp · b741 (1fd6dfe) · UD-Q4_K_XL-QAT上下文 8K · 深度 0 · 批大小 1Skiipy · 2026年6月14日
- 46.5tok/sllama.cpp · b741 (1fd6dfe) · UD-Q6_K_XL上下文 8K · 深度 0 · 批大小 1Skiipy · 2026年6月14日
- 38.0tok/sllama.cpp · Q8_0上下文 2K · 深度 0 · 批大小 1sergoabe · 2026年6月27日
