速度測試
Inkling-2-Mini
RTX 3090 24GB ×4 · vllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4
解碼
363tok/s
預填
2.3ktok/s
首個 token 延遲
104ms
總計
434tok/s
峰值 VRAM
19.7GB
上下文長度
1024K
KV 深度
0
批次大小
1
並行數
1
功耗
965W
驗證
已驗證執行啟動命令
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.mode=0 --compilation-config.cudagraph_mode=FULL_DECODE_ONLY --speculative-config '{"method":"dflash2","model":"incoai/Inkling-2-Mini-DFlash2","num_speculative_tokens":7,"dflash_sliding_window":2048}' --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-dflash2-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
- 244
- 預填 tok/s
- 2,342.7 tok/s
- 功耗
- 965 W (239 + 235 + 242 + 249 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 + Apache 2.0 incoai/Inkling-2-Mini-DFlash2 block-diffusion drafter (k=7, window=2048), full BF16 KV cache (1.51M tokens), FULL_DECODE_ONLY CUDA graphs on target and drafter, pure user-space CUDA NVLink+CE-DMA collectives (github.com/TheInfamousJrod/vllm-nvlink-pair-comm) + SM86 lossless tuning (github.com/TheInfamousJrod/inkling2-sm86-lossless-tuning), with upstream Zagitta/gpu-unlock active.
推測解碼
- 方法
- DFlash2
- 每步接受數
- 3.97 個 token
- 接受率
- 42%
- 草稿 token
- 1,808
- 已接受 token
- 767
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: 024eeab96419825d17b96b151add3491] 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,353 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.
- `--since <ISO timestamp>` flag drops earlier records.
- Standard library only.
Then explain in 2-3 sentences how percentiles computed and why, then list three edge cases a unit test suite should cover.
Let me write the code.
Design:
```python
#!/usr/bin/env python3
import argparse
import json
import sys
from datetime import datetime, timezone
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
def parse_ts(s):
# handle trailing Z
if isinstance(s, str) and s.endswith(('Z', 'z')):
s = s[:-1] + '+00:00'
dt = datetime.fromisoformat(s)
if dt.tzinfo is None:
# assume UTC? Or treat naive as UTC
dt = dt.replace(tzinfo=timezone.utc)
return dt
```
Note: `datetime.fromisoformat` in Python 3.7-3.10 doesn't parse 'Z', so handle it. In 3.11+ it does. Handle both.
Percentile: use nearest-rank or linear interpolation? Common choice: sort values, compute index via `ceil(p/100 * n) - 1` (nearest-rank) or linear interpolation (like numpy default). I'll pick linear interpolation ("type 7" like numpy/Excel) 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]
# linear interpolation, p in [0,100]
rank = (p / 100.0) * (len(sorted_vals) - 1)
lo = int(rank)
hi = min(lo + 1, len(sorted_vals) - 1)
frac = rank - lo
return sorted_vals[lo] * (1 - frac) + sorted_vals[hi] * frac
```
That's the "linear interpolation" method (same as numpy default). Explain: smooth, stable, standard.
Malformed lines: JSON parse errors, missing/invalid fields, wrong types, unknown level? Requirement says level one of DEBUG/INFO/WARN/ERROR — a record with an unknown level is malformed? Probably treat as malformed. Also ts unparseable → malformed. service missing/not string → malformed. latency_ms present but not a number (bool? bool is instance of int — could exclude bools; keep simple: accept int/float, exclude bool maybe). Keep it reasonable.
--since: parse timestamp; drop records with ts < since. Records with ts equal to since are kept ("drops earlier records").
Output format: per service, counts by level and p50/p95. Something like:
```
service=api
DEBUG: 3
INFO: 10
WARN: 1
ERROR: 0
latency_ms p50: 12.5
latency_ms p95: 45.0
```
Then at end: `malformed: N`.
Sort services alphabetically for deterministic output.
Handle --since parse failure: that's a usage error — argparse error is fine (exit code 2). That's not "crash" in the sense of crashing on bad input data; flag misuse is fine to error.
Also handle empty stdin, no records, no latencies (p50/p95 → "n/a").
Let me write the full code:
```python
#!/usr/bin/env python3
"""logtally: summarize newline-delimited JSON logs from stdin."""
import argparse
import json
import sys
from datetime import datetime, timezone此模型在此硬體上的更多執行
- 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上下文 256K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月30日
- 361tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 256K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月30日
- 353tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4上下文 1024K · 深度 0 · 批次 1已驗證執行jareddotinfo · 2026年11月29日
- 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日
