速度テスト
gemma-4-31B-it
RTX 5090 32GB · ninfer · Q6
デコード
170tok/s
プリフィル
1.9ktok/s
最初のトークンまでの時間
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 トークン
- 深度
- 0 トークン
- バッチサイズ
- 1
- プロンプトトークン
- 292
- プリフィル tok/s
- 1,892.1 tok/s
- 消費電力
- 469 W
- 出力トークン
- 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 トークン
- 採択率
- 48%
- ドラフトトークン
- 812
- 採択トークン
- 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/06/14
- 46.5tok/sllama.cpp · b741 (1fd6dfe) · UD-Q6_K_XLコンテキスト 8K · 深度 0 · バッチ 1Skiipy · 2026/06/14
- 38.0tok/sllama.cpp · Q8_0コンテキスト 2K · 深度 0 · バッチ 1sergoabe · 2026/06/27
