Kiểm tra tốc độMô hìnhĐánh giá chuẩnCho thuêBáo cáoPhần cứngMáy tính decodeTổ chứcProTài liệu APIGửi
Ngôn ngữ
Actual Computer — Every computer, one endpoint

Kiểm tra tốc độ

Inkling-2-Mini

RTX 3090 24GB ×2 · vllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4

jareddotinfoĐã xác minh29 thg 11, 2026Lượt chạy đã xác minh

Decode

315tok/s

Prefill

2.4ktok/s

Thời gian đến token đầu tiên

100ms

Tổng

378tok/s

VRAM đỉnh

19,2GB

Độ dài ngữ cảnh

256K

Độ sâu KV

0

Kích thước batch

1

Đồng thời

1

Công suất tiêu thụ

634W

Xác minh

Lượt chạy đã xác minh

Lệnh khởi chạy

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-sampling

Theoretical memory ceiling

This mixture-of-experts model doesn't list how many parameters are used per token, so a ceiling can't be estimated.

Phần cứng

GPU
RTX 3090
Số lượng
2
VRAM
24 GB
OS
Ubuntu 26.04.1 LTS

Engine

Engine
vllm
Phiên bản
0.34.0rc1.dev1014+g8586ccbcf
Build
sm86-lossless-tp2-nvlink4-dflash2-bf16kv-262k-330w
Quant
NVFP4
Backend
cuda
TP
2
KV cache
bfloat16
GPU mem util
0.96
Prefix caching
có
Prefill chunk
4096
Max running seqs
4
Spec decode
bật

Cấu hình chạy

Context
262.144 tokens
Độ sâu
0 tokens
Kích thước batch
1
Prompt tokens
243
Prefill tok/s
2,438.4 tok/s
Công suất tiêu thụ
634 W (323 + 311 W)
Output tokens
1024
Gửi bằng
lmx v0.1.68 speed-test submit
Ghi chú
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.

Giải mã suy đoán

Phương pháp
DFlash2
Được chấp nhận mỗi bước
4,15 token
Tỷ lệ chấp nhận
45%
Token nháp
1.727
Token được chấp nhận
777

Bằng chứng đã ghi

Mã băm prompt (SHA-256)
a737db738bd4…
Mẫu prompt · 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.
Mẫu đầu ra · 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')

Các lượt chạy khác của mô hình này trên phần cứng này