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 độ

gpt-oss-20b

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

SandbergĐã xác minh30 thg 10, 2026Lượt chạy đã xác minh

Decode

178tok/s

Prefill

6.8ktok/s

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

39ms

Tổng

267tok/s

VRAM đỉnh

22,4GB

Độ dài ngữ cảnh

128K

Độ sâu KV

0

Kích thước batch

1

Đồng thời

1

Công suất tiêu thụ

412W

Xác minh

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

Lệnh khởi chạy

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.

Phần cứng

GPU
RTX 3090
Số lượng
1
VRAM
24 GB
OS
Ubuntu 24.04.5

Engine

Engine
vllm
Phiên bản
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
có
Max running seqs
128

Cấu hình chạy

Context
131.072 tokens
Độ sâu
0 tokens
Kích thước batch
1
Prompt tokens
266
Prefill tok/s
6,816.5 tok/s
Công suất tiêu thụ
412 W
Output tokens
512
Ghi chú
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.

Bằng chứng đã ghi

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

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