速度測試
Inkling-2-Mini
RTX 3090 24GB ×4 · vllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4
解碼
353tok/s
預填
2.3ktok/s
首個 token 延遲
106ms
總計
364tok/s
峰值 VRAM
19.7GB
上下文長度
1024K
KV 深度
0
批次大小
1
並行數
1
功耗
945W
驗證
已驗證執行啟動命令
vllm serve thinkingmachines/Inkling-2-Mini --dtype bfloat16 --tensor-parallel-size 4 --max-model-len 1048576 --max-num-seqs 4 --max-num-batched-tokens 4096 --gpu-memory-utilization 0.95 --enable-prefix-caching --compilation-config.cudagraph_mode=FULL_DECODE_ONLY --speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic","num_speculative_tokens_per_batch_size":[[1,1,7],[2,2,7],[3,4,5]]}' --prefix-cache-retention-interval 64 --enable-batch-sharded-samplingTheoretical memory ceiling
This mixture-of-experts model doesn't list how many parameters are used per token, so a ceiling can't be estimated.
模型
- GPU
- RTX 3090
- 數量
- 4
- VRAM
- 24 GB
- OS
- Ubuntu 26.04.1 LTS
引擎
- 引擎
- vllm
- 版本
- 0.34.0rc1.dev1014+g8586ccbcf
- Repository
- https://github.com/TheInfamousJrod…
- Build
- sm86-lossless-tp4-nvlink4-ce-dma-markov-fused-bf16kv-1m-330w
- 量化
- NVFP4
- 後端
- cuda
- TP
- 4
- KV 快取
- bfloat16
- GPU mem util
- 0.95
- Prefix caching
- 是
- Prefill chunk
- 4096
- Max running seqs
- 4
- Spec decode
- 已啟用
執行設定
- 上下文
- 1,048,576 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 241
- 預填 tok/s
- 2,279.6 tok/s
- 功耗
- 945 W (233 + 229 + 240 + 244 W)
- 輸出 token
- 1024
- 提交工具
- lmx v0.1.68 speed-test submit
- 備註
- 4x RTX 3090 (2x NVLink4 pairs over PCIe Gen4 x16, ASUS WRX80E-SAGE, Threadripper PRO 3955WX, 330W +75/1965MHz, iommu=pt). 100% weight-lossless native NVFP4/MXFP8 checkpoint, full BF16 KV cache (1.33M tokens), pure user-space CUDA NVLink+CE-DMA collectives (github.com/TheInfamousJrod/vllm-nvlink-pair-comm) + fused DSpark Markov head & SM86 lossless tuning (github.com/TheInfamousJrod/inkling2-sm86-lossless-tuning), with upstream Zagitta/gpu-unlock active.
推測解碼
- 方法
- dspark
- 每步接受數
- 3.82 個 token
- 接受率
- 40%
- 草稿 token
- 1,874
- 已接受 token
- 756
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: 94a5c717fa2e3c88fd316d4704ded136] Implement a small command-line tool in Python called `logtally`. Requirements: - It reads newline-delimited JSON log records from stdin. Each record has `ts` (ISO-8601 string), `level` (one of DEBUG, INFO, WARN, ERROR), `service` (string), and optional `latency_ms` (number). - It prints, per service, the count of records by level and the p50 and p95 of `latency_ms` (ignore records without latency). - Malformed lines must be counted and reported at the end, never crash the program. - Support a `--since <ISO timestamp>` flag that drops earlier records. - Use only the standard library. After the code, explain in two or three sentences how you computed percentiles and why you chose that method, then list three edge cases a unit test suite should cover.
輸出樣本 · 3,571 chars
The user wants a small CLI tool in Python called `logtally`. Requirements:
- Reads newline-delimited JSON log records from stdin.
- Each record has `ts` (ISO-8601 string), `level` (one of DEBUG, INFO, WARN, ERROR), `service` (string), optional `latency_ms` (number).
- Prints per service: count of records by level and p50 and p95 of latency_ms (ignore records without latency).
- Malformed lines counted and reported at end, never crash.
- Support `--since <ISO timestamp>` flag that drops earlier records.
- Standard library only.
After code, explain in 2-3 sentences how percentiles computed and why, then list three edge cases a unit test suite should cover.
Let me design:
```python
#!/usr/bin/env python3
"""logtally - summarize newline-delimited JSON logs."""
import argparse
import json
import sys
from datetime import datetime, timezone
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
def parse_ts(s):
# ISO-8601; handle trailing Z
if isinstance(s, str):
t = s.strip()
if t.endswith(('Z', 'z')):
t = t[:-1] + '+00:00'
try:
dt = datetime.fromisoformat(t)
except ValueError:
return None
if dt.tzinfo is None:
# assume UTC? or treat naive as UTC
dt = dt.replace(tzinfo=timezone.utc)
return dt
return None
```
Percentile: sort latencies, use nearest-rank or linear interpolation. Common choice: linear interpolation (like numpy default) or nearest-rank. I'll use linear interpolation ("inclusive" method) — simple and standard. Or nearest-rank. Let me pick linear interpolation on sorted data:
```python
def percentile(sorted_vals, p):
if not sorted_vals:
return None
if len(sorted_vals) == 1:
return sorted_vals[0]
# rank = p/100 * (n-1)
rank = (p / 100.0) * (len(sorted_vals) - 1)
lo = int(rank)
hi = lo + 1
frac = rank - lo
if hi >= len(sorted_vals):
return sorted_vals[-1]
return sorted_vals[lo] + frac * (sorted_vals[hi] - sorted_vals[lo])
```
That's the "linear interpolation" method (like numpy default 'linear'). Good.
Parsing records:
- Line empty → skip? Or count as malformed? Probably skip blank lines silently or count as malformed. I'll skip blank lines (common) — or count them as malformed? Requirement says malformed lines must be counted. Blank lines are arguably malformed. I'll count blank lines as malformed? Hmm. Safer: skip empty/whitespace-only lines silently (they're not records). Actually, to be safe, count them as malformed? Let me just skip blank lines — that's a reasonable choice and I can mention it. Or count them. I'll skip blank lines silently and note it.
- JSON parse error → malformed.
- Not an object → malformed.
- Missing/invalid ts → malformed? Or treat as malformed. Requirement: each record has ts, level, service. If missing or invalid, it's malformed. Level must be one of the four; else malformed. Service must be a string; else malformed. latency_ms optional; if present must be a number (int/float, not bool? bool is instance of int — could exclude bools; keep simple: accept int/float, reject bool maybe). If latency present but not a number → malformed? Or ignore latency? I'd say malformed record — but maybe just ignore the latency? Requirement says "ignore records without latency" — records with invalid latency... I'll treat invalid latency as malformed record? Hmm, that could be harsh. Alternative: treat invalid latency as absent. Let me decide: if latency_ms present but not a number, count the record as malformed (it'此模型在此硬體上的更多執行
- 442tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 1024K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月30日
- 425tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 1024K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月29日
- 422tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 1024K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月30日
- 402tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 1024K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月29日
- 363tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 1024K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月29日
- 363tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 256K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月30日
- 361tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 256K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月30日
- 343tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 256K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月29日
- 328tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 1024K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月29日
- 315tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 256K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月29日
