Uji kecepatanModelTolok UkurSewaLaporanHardwareKalkulator decodeOrganisasiProDokumen APIKirim
Bahasa
Actual Computer — Every computer, one endpoint

Uji kecepatan

Inkling-2-Mini

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

jareddotinfoTerverifikasi30 Nov 2026Run terverifikasi

Decode

422tok/s

Prefill

2.3ktok/s

Waktu ke token pertama

106ms

Total

501tok/s

VRAM puncak

19,7GB

Panjang konteks

1024K

Kedalaman KV

0

Ukuran batch

1

Konkurensi

1

Konsumsi daya

907W

Verifikasi

Run terverifikasi

Luncurkan perintah

VLLM_GREEDY_LOCAL_ARGMAX=1 VLLM_DFLASH_LM_HEAD_QUANT=nvfp4 VLLM_TRITON_SWA_3D=1 VLLM_FAST_TEXT_EMBEDS=1 VLLM_FUSED_TOPK_AG=1 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":"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.

Hardware

GPU
RTX 3090
Menghitung
4
VRAM
24 GB
OS
Ubuntu 26.04.1 LTS

Engine

Engine
vllm
Versi
0.34.0rc1.dev1014+g8586ccbcf
Build
sm86-lossless-tp4-nvlink4-ce-dma-dflash2-turbo-bf16kv-1m-330w
Quant
NVFP4
Bagian belakang
cuda
TP
4
Tembolok KV
bfloat16
utilitas mem GPU
0.95
Cache awalan
ya
Potongan yang sudah diisi sebelumnya
4096
Seq run maksimal
4
Dekode spesifikasi
aktif

Jalankan konfigurasi

Konteks
Token 1.048.576
Kedalaman
Token 0
Ukuran kumpulan
1
Token yang cepat
243
Isi awal tok/s
2,325.6 tok/s
Konsumsi daya
907 W (212 + 228 + 233 + 234 W)
Token keluaran
1024
Dikirim dengan
lmx v0.1.68 speed-test submit
Catatan
4x RTX 3090 (2x NVLink4 pairs over PCIe Gen4 x16, Threadripper PRO 3955WX, 330W +75/1965MHz, iommu=pt). 100% weight-lossless native NVFP4/MXFP8 target (BF16 lm_head with FP32 head_dtype) + unmodified public Apache 2.0 incoai/Inkling-2-Mini-DFlash2 drafter (k=7, window=2048), full BF16 KV cache (1.51M tokens), FULL_DECODE_ONLY CUDA graphs. Turbo SM86 lossless stack: vocab-parallel greedy local argmax eliminating 3.2MB AllGather-CE (bit-exact with automatic fallback for temp>0/logprobs/grammar/penalties), drafter-only online Marlin NVFP4 lm_head (E044), 3D split-KV Triton SWA (E042), fast text-only embeds (E046), fused single-AllGather top-k (github.com/TheInfamousJrod/inkling2-dflash2-vllm + github.com/TheInfamousJrod/vllm-nvlink-pair-comm).

Decoding spekulatif

Metode
DFlash2
Diterima per langkah
4,62 token
Tingkat penerimaan
52%
Token draf
1.554
Token diterima
804

Bukti terekam

Hash prompt (SHA-256)
a737db738bd4…
Sampel prompt · 826 chars
[LocalMaxxing cache-bust nonce: bfbb6f67b38095ad71a13fa25d052c3a]
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.
Sampel output · 3,509 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
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: 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:

```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 empty/whitespace-only lines silently (or count as malformed?). Hmm. "Malformed lines must be counted and reported at the end" — blank lines are arguably malformed. I'll count blank lines as malformed? Safer: skip truly empty lines silently? Actually let's count any line that fails to parse as malformed, including blank lines. Hmm, but trailing newline at end of file would produce an empty final line? No — iterating over stdin lines, a trailing newline doesn't produce an extra empty line. But a file with trailing blank line would. I'll treat blank lines as malformed? Let me just skip blank lines silently — that's a reasonable choice and I can mention it. Actually, to be safe and simple: skip lines that are empty/whitespace-only (common trailing newline artifact), count everything else that fails as malformed.

Validation:
- JSON parse error → malformed
- Not an object → malformed
- Missing/invalid ts → malformed
- level not in LEVELS → malformed? Or count as malformed? The spec says level is one of those; a record with an unknown level is malformed. I'll treat invalid level as malformed.
- service missing or not a string → malformed
- latency_ms: if present, must be a number (int/float, not bool? bool is instance of int... could exclude bools). If present but not a number → malformed? Or ignore latency? Hmm. Spec: "optional latency_ms (number)"

Run lain dari model ini di hardware ini