Test szybkości
Inkling-2-Mini
RTX 3090 24GB ×4 · vllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4
Dekodowanie
422tok/s
Prefill
2.3ktok/s
Czas do pierwszego tokenu
106ms
Łącznie
501tok/s
Szczytowe VRAM
19,7GB
Długość kontekstu
1024K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
907W
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
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-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.
Sprzęt
- GPU
- RTX 3090
- Liczba
- 4
- VRAM
- 24 GB
- OS
- Ubuntu 26.04.1 LTS
Silnik
- Silnik
- vllm
- Wersja
- 0.34.0rc1.dev1014+g8586ccbcf
- Repository
- https://github.com/TheInfamousJrod…
- Build
- sm86-lossless-tp4-nvlink4-ce-dma-dflash2-turbo-bf16kv-1m-330w
- Quant
- NVFP4
- Backend
- cuda
- TP
- 4
- KV cache
- bfloat16
- GPU mem util
- 0.95
- Prefix caching
- tak
- Prefill chunk
- 4096
- Max running seqs
- 4
- Spec decode
- włączone
Konfiguracja uruchomienia
- Kontekst
- 1 048 576 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 243
- Prefill tok/s
- 2,325.6 tok/s
- Pobór mocy
- 907 W (212 + 228 + 233 + 234 W)
- Tokeny wyjściowe
- 1024
- Przesłano przez
- lmx v0.1.68 speed-test submit
- Notatki
- 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).
Dekodowanie spekulatywne
- Metoda
- DFlash2
- Akceptowane na krok
- 4,62 tokenów
- Współczynnik akceptacji
- 52%
- Tokeny szkicu
- 1554
- Zaakceptowane tokeny
- 804
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 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.
Próbka odpowiedzi · 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)"Więcej przebiegów tego modelu na tym sprzęcie
- 442tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 1024K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 30 lis 2026
- 425tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 1024K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 29 lis 2026
- 402tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 1024K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 29 lis 2026
- 363tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 1024K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 29 lis 2026
- 363tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 256K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 30 lis 2026
- 361tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 256K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 30 lis 2026
- 353tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 1024K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 29 lis 2026
- 343tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 256K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 29 lis 2026
- 328tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 1024K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 29 lis 2026
- 315tok/svllm · v0.34.0rc1.dev1014+g8586ccbcf · NVFP4kontekst 256K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 29 lis 2026
