Test di velocitàModelliValutazioni comparativeNoleggiReportHardwareCalcolatore di decodificaOrganizzazioniProDocumentazione APIInvia
Lingua
Actual Computer — Every computer, one endpoint

Test di velocità

gpt-oss-20b

RTX 3090 24GB · vllm · v0.32.0 · MXFP4

SandbergVerificato30 ott 2026Esecuzione verificata

Decodifica

178tok/s

Prefill

6.8ktok/s

Tempo al primo token

39ms

Totale

267tok/s

VRAM di picco

22,4GB

Lunghezza del contesto

128K

Profondità KV

0

Dimensione batch

1

Concorrenza

1

Consumo energetico

412W

Verifica

Esecuzione verificata

Comando di avvio

vllm serve openai/gpt-oss-20b --max-model-len 131072 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code

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
Conteggio
1
VRAM
24 GB
OS
Ubuntu 24.04.5

Motore

Motore
vllm
Versione
0.32.0
Build
vllm/vllm-openai:v0.32.0-x86_64
Quant
MXFP4
Backend
cuda
TP
1
KV cache
auto
GPU mem util
0.94
Prefix caching
sì
Max running seqs
128

Configurazione run

Contesto
131.072 token
Profondità
0 token
Dimensione batch
1
Token prompt
266
Prefill tok/s
6,816.5 tok/s
Consumo energetico
412 W
Token output
512
Note
Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: none. KV cache: auto (bf16). 1x RTX 3090 24GB (Zagitta/gpu-unlock), 420 W limit, PCIe Gen3 x16 | Intel Core i7-9700K 8C | 32 GB DDR4 | Ubuntu 24.04.5, NVIDIA driver 580.178.04. Method: LocalMaxxing canonical prompt code-v1, batch 1, streaming, temperature 0, 512 output tokens (ignore_eos), cache-bust nonce so every prefill is cold, thinking off. Median of 5 runs (range 177.6-178.1 tok/s). tokSOut = (completion - 1) / time after first token.

Evidenze acquisite

Hash del prompt (SHA-256)
a737db738bd4…
Esempio di prompt · 760 chars
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.
Esempio di output · 2,170 chars
We need to implement a small command-line tool in Python called logtally. Requirements: read 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). Print per service: count of records by level and p50 and p95 of latency_ms (ignore records without latency). Malformed lines must be counted and reported at the end, never crash. Support a --since <ISO timestamp> flag that drops earlier records. Use only standard library.

After code, explain in two or three sentences how percentiles computed and why chosen. Then list three edge cases a unit test suite should cover.

We need to produce code. Use argparse for CLI. Use json module. Use datetime for ISO parsing. Use collections.defaultdict for stats. For percentiles, we can store latencies per service in a list, then compute p50 and p95 by sorting and selecting index. Use median formula: p50 is median; p95 is 95th percentile. For percentile calculation, we can use the nearest-rank method: index = ceil(p/100 * n) - 1. For p50, index = ceil(0.5*n)-1. For p95, index = ceil(0.95*n)-1. That is simple.

We need to handle malformed lines: try json.loads, catch JSONDecodeError, also check required fields, types, level in allowed set, ts parseable, etc. If any error, increment malformed counter and continue.

We need to support --since flag: parse ISO timestamp into datetime, then for each record, parse ts and compare; if earlier, skip.

We need to print per service: counts by level and p50 and p95. Format: maybe service name, then counts: DEBUG=..., INFO=..., WARN=..., ERROR=..., p50=..., p95=... . We can print sorted by service name.

Edge cases: lines with missing fields, invalid JSON, ts not ISO, latency not number, etc. Also test that since filter works correctly, and that percentiles computed correctly when number of latencies less than needed.

We need to produce code that is self-contained. Use if __name__ == "__main__": main().

Let's write code.

We need to parse ISO-8601 string. Use datetime.fromisoformat? That supports many forms but not all. For simplicity, use datetime

Altri run di questo modello su questo hardware