速度測試
Inkling-2-Mini
RTX 3090 24GB ×2 · vllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4
解碼
315tok/s
預填
2.4ktok/s
首個 token 延遲
100ms
總計
378tok/s
峰值 VRAM
19.2GB
上下文長度
256K
KV 深度
0
批次大小
1
並行數
1
功耗
634W
驗證
已驗證執行啟動命令
vllm serve thinkingmachines/Inkling-2-Mini --dtype bfloat16 --tensor-parallel-size 2 --max-model-len 262144 --max-num-seqs 4 --max-num-batched-tokens 4096 --gpu-memory-utilization 0.96 --enable-prefix-caching --compilation-config.mode=0 --compilation-config.cudagraph_mode=FULL_DECODE_ONLY --speculative-config '{"method":"dflash","model":"incoai/Inkling-2-Mini-DFlash2","num_speculative_tokens":7}' --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
- 數量
- 2
- VRAM
- 24 GB
- OS
- Ubuntu 26.04.1 LTS
引擎
- 引擎
- vllm
- 版本
- 0.34.0rc1.dev1014+g8586ccbcf
- Repository
- https://github.com/TheInfamousJrod…
- Build
- sm86-lossless-tp2-nvlink4-dflash2-bf16kv-262k-330w
- 量化
- NVFP4
- 後端
- cuda
- TP
- 2
- KV 快取
- bfloat16
- GPU mem util
- 0.96
- Prefix caching
- 是
- Prefill chunk
- 4096
- Max running seqs
- 4
- Spec decode
- 已啟用
執行設定
- 上下文
- 262,144 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 243
- 預填 tok/s
- 2,438.4 tok/s
- 功耗
- 634 W (323 + 311 W)
- 輸出 token
- 1024
- 提交工具
- lmx v0.1.68 speed-test submit
- 備註
- 2x RTX 3090 (1x NVLink4 pair, 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 (387K tokens), FULL_DECODE_ONLY CUDA graphs on target and drafter (github.com/TheInfamousJrod/inkling2-dflash2-vllm), pure user-space TP2-NVLink4 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
- 每步接受數
- 4.15 個 token
- 接受率
- 45%
- 草稿 token
- 1,727
- 已接受 token
- 777
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: 922e4775cf71d3b1fd06eb3db28323d8] 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,708 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.
Then 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 from stdin."""
import argparse
import json
import sys
from datetime import datetime, timezone
from statistics import quantiles # maybe not; implement manually
```
Percentile computation: common approach — sort values, use nearest-rank or linear interpolation. I'll use linear interpolation (like numpy default) or nearest-rank. Let me pick a simple, well-defined method: sort latencies, compute index = (p/100) * (n - 1), interpolate between floor and ceil. That's the "linear interpolation" method (like numpy's default 'linear'). Explain why: smooth, stable, doesn't require large samples, standard.
Alternatively nearest-rank: ceil(p/100 * n). Simpler but coarse. I'll do linear interpolation and explain.
Parsing ISO-8601: `datetime.fromisoformat` in Python 3.7+ handles most ISO formats but not 'Z' suffix (until 3.11). To be safe, handle 'Z' by replacing with '+00:00'. Also handle naive vs aware datetimes: if naive, assume UTC? For comparison with --since, need consistent awareness. Approach: parse with fromisoformat after replacing trailing 'Z' with '+00:00'. If result is naive, assume UTC (replace tzinfo=timezone.utc). That makes comparisons safe.
Malformed lines: JSON parse errors, missing/invalid fields, wrong types, unknown level? Requirement says level one of DEBUG, INFO, WARN, ERROR. What about a record with unknown level — is that malformed? Probably treat as malformed (or count separately). I'll treat missing/invalid ts, level not in set, missing/non-string service as malformed. latency_ms: 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 invalid type — malformed? Or ignore latency? Safer: if latency_ms present but not a number, treat record as malformed? Hmm. The spec: "optional latency_ms (number)". A record with latency_ms as a string is malformed. I'll count it malformed. Actually, could also just ignore the latency. But "Malformed lines must be counted" — a line that parses as JSON but has bad fields... I'll define malformed as: not valid JSON, or not an object, or missing/invalid ts/level/service. For latency: if present and not a number (bool excluded), treat as malformed. That's defensible.
Also ts parse failure → malformed.
--since: parse the timestamp the same way; 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
```
If no latency records: print "latency_ms p50: n/a" etc.
Then at end: "malformed: N".
Sort services alphabetically for deterministic output.
Implementation:
```python
def parse_ts(s):
if not isinstance(s, str):
raise ValueError("ts must be a string")
text = s.strip()
if text.endswith(('Z', 'z')此模型在此硬體上的更多執行
- 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日
- 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日
