Prueba de velocidad
Inkling-2-Mini
RTX 5090 32GB ×2 · sglang · v0.0.0.dev1+inkling2 · NVFP4
Decodificación
441tok/s
Prefill
3.5ktok/s
Tiempo hasta el primer token
68ms
Total
485tok/s
VRAM máxima
—
Longitud de contexto
256K
Profundidad KV
0
Tamaño de lote
1
Concurrencia
1
Consumo de energía
—
Verificación
Ejecución verificadaComando de lanzamiento
SGLANG_OPT_INKLING2_VERIFY_REL_BIAS_KERNEL=1 SGLANG_OPT_DSV41_DSPARK_MID_FOLD=1 SGLANG_OPT_DSV41_DSPARK_PREPARE_INPUTS_ONCE=1 SGLANG_OPT_DSV41_DSPARK_SKIP_PREFILLED_INPUTS=1 sglang serve --model-path thinkingmachines/Inkling-2-Mini --served-model-name inkling-2-mini --tp 2 --ep 2 --attention-backend fa4 --dtype bfloat16 --page-size 128 --context-length 262144 --max-running-requests 6 --mem-fraction-static 0.86 --grammar-backend xgrammar --reasoning-parser inkling --tool-call-parser inkling2 --swa-full-tokens-ratio 0.05 --mamba-full-memory-ratio 0.04 --schedule-policy lpm --enable-hierarchical-cache --hicache-ratio 2 --hicache-write-policy write_through --speculative-algorithm DSPARK --speculative-num-draft-tokens 8 --disable-prefill-cuda-graph --enable-multimodal --enable-metrics --enable-cache-report --sleep-on-idle
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 5090
- Cantidad
- 2
- VRAM
- 32 GB
- OS
- Ubuntu 24.04.3 LTS
Motor
- Motor
- sglang
- Versión
- 0.0.0.dev1+inkling2
- Build
- lmsysorg/sglang:inkling-2-mini
- Commit
- 03fde9cc392a5f84a54a365635ffed0061cdf1b8
- Quant
- NVFP4
- TP
- 2
- GPU mem util
- 0.86
- Prefix caching
- sí
- Máx. seqs en ejecución
- 6
- Attn
- fa4
- Spec decode
- activado
Configuración de ejecución
- Contexto
- 262.144 tokens
- Profundidad
- 0 tokens
- Tamaño de batch
- 1
- Tokens del prompt
- 240
- Prefill tok/s
- 3,543.8 tok/s
- Tokens de salida
- 2048
- Enviado con
- lmx dev speed-test submit
- Notas
- 2x RTX 5090, TP2/EP2 over PCIe P2P, lmsysorg/sglang:inkling-2-mini image plus two small local patches (sm120 attn_res memory fix, verify-kernel limit 48). Greedy, cold prefill (nonce per request); best of 3 runs, each the median of 7 x 2,048 tokens. Draft/accepted counts are from the last timed request (440.5 t/s).
Decodificación especulativa
- Método
- dspark
- Aceptados por paso
- 3,74 tokens
- Tasa de aceptación
- 39 %
- Tokens de borrador
- 3829
- Tokens aceptados
- 1503
Evidencia capturada
- Hash del prompt (SHA-256)
- a737db738bd4…
Muestra del prompt · 826 chars
[LocalMaxxing cache-bust nonce: 4dde21857868eccb2217b729c09a949a] 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.
Muestra de salida · 4,000 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.
Need to be careful: "never crash the program" — malformed lines counted. But what about missing ts? Malformed. What about ts unparseable? Malformed. What about level not in set? Hmm — is that malformed or just counted? Requirement says each record has level one of DEBUG, INFO, WARN, ERROR. Malformed lines must be counted. I'd treat invalid level as malformed (or maybe count as malformed). Let's define: a line is malformed if JSON parse fails, or not an object, or missing/invalid ts, or missing/invalid service, or missing/invalid level. latency_ms optional; 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 not a number — treat as malformed? Or ignore latency? Safer: if latency_ms present and not a number, count line as malformed? Hmm. Alternatively treat as record with no latency. The spec: "optional latency_ms (number)". If present but wrong type, that's malformed. I'll count as malformed.
Percentile method: nearest-rank or linear interpolation. Common choice: linear interpolation (like numpy default) or nearest-rank. I'll use linear interpolation on sorted values (like "inclusive" method). Explain: sort latencies, compute rank = p/100 * (n-1), interpolate between floor and ceil. Why: simple, standard, smooth, no extra deps.
ISO-8601 parsing: Python 3.7+ fromisoformat handles most, but not 'Z' suffix (until 3.11). Handle 'Z' by replacing with '+00:00'. Also handle fractional seconds. Use datetime.fromisoformat after replacing Z. Naive vs aware: if ts has no timezone, treat as naive; comparing naive with aware raises TypeError. Handle by normalizing: if parsed ts is naive, assume UTC? Or compare only if same awareness. Simpler: if ts is naive, attach UTC? But then --since with naive timestamp... Let's normalize: parse; if naive, assume UTC (replace tzinfo=timezone.utc). If aware, keep. Then --since parsed the same way. That avoids comparison errors.
--since flag: drop records with ts < since. "drops earlier records" — records earlier than since are dropped. Equal kept.
Output format: per service, counts by level and p50/p95. Something like:
```
service=api
DEBUG: 3
INFO: 10
WARN: 1
ERROR: 2
latency p50: 12.5 ms
latency p95: 45.0 ms
```
And at end: `malformed:
…
{'counts': {l: 0 for l in LEVELS}, 'latencies': []})
entry['counts'][level] += 1
if latency is not None:
entry['latencies'].append(latency)
except (ValueError, TypeError, json.JSONDecodeError):
malformed += 1
```
Wait: json.JSONDecodeError is subclass of ValueError, so catching ValueError suffices. But parse_ts raises ValueError; rec.get('ts') could be None → parse_ts raises ValueError. Good.
Blank lines: skip silently or count malformed? Blank line is arguably malformed. I'll skip empty lines silently — or count as malformed? "Malformed lines must be counted" — a blank line is arguably malformed. Hmm. Safer to count blank lines as malformed? Many log parsers skip blanks. I'll skip blank lines silently and mention it. Actually to be safe, count them as malformed? The spec doesn't say. I'll skip blank lines (common convention) — but then "malformed lines must be counted" — blank lines aren't really "lines" with content. I'Más ejecuciones de este modelo en este hardware
- 526tok/scustom · v0.5.6 · NVFP4256K contexto · 0 profundidad · lote 1Ejecución verificadaAnónimo · 24 nov 2026
- 489tok/scustom · v0.5.5 · NVFP42K contexto · 0 profundidad · lote 1Ejecución verificadaThomukas1 · 23 nov 2026
- 481tok/scustom · v0.5.6 · NVFP4256K contexto · 0 profundidad · lote 1Ejecución verificadaAnónimo · 24 nov 2026
- 414tok/ssglang · v0.0.0.dev1+inkling2 · NVFP4256K contexto · 0 profundidad · lote 1Ejecución verificadafinnff · 21 nov 2026
- 392tok/ssglang · v0.0.0.dev1+inkling2 · NVFP4256K contexto · 0 profundidad · lote 1finnff · 21 nov 2026
