速度測試
gpt-oss-20b
RTX 3090 24GB · vllm · v0.32.0 · MXFP4
解碼
173tok/s
預填
8.4ktok/s
首個 token 延遲
32ms
總計
260tok/s
峰值 VRAM
21.7GB
上下文長度
128K
KV 深度
0
批次大小
1
並行數
1
功耗
345W
驗證
已驗證執行啟動命令
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.
模型
- GPU
- RTX 3090
- 數量
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04.5
引擎
- 引擎
- vllm
- 版本
- 0.32.0
- Repository
- https://github.com/vllm-project/vl…
- Build
- vllm/vllm-openai:v0.32.0-x86_64
- 量化
- MXFP4
- 後端
- cuda
- TP
- 1
- KV 快取
- auto
- GPU mem util
- 0.94
- Prefix caching
- 是
- Max running seqs
- 128
執行設定
- 上下文
- 131,072 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 266
- 預填 tok/s
- 8,441.4 tok/s
- 功耗
- 345 W
- 輸出 token
- 512
- 備註
- 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), 350 W limit (VBIOS max), PCIe Gen4 x16 | AMD Ryzen 9 7900X 12C | 32 GB DDR5 | Ubuntu 24.04.5, NVIDIA driver 595.99.02. 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 172.7-173.0 tok/s). tokSOut = (completion - 1) / time after first token.
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 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.
輸出樣本 · 2,224 chars
We need to implement a small command-line 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), 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 code, explain in two or three sentences how percentiles computed and why chosen method, then list three edge cases a unit test suite should cover.
We need to produce code. Should be a script that can be run. Use argparse for flag. Use json for parsing. Use datetime for ISO parsing. Use collections for counters. For percentiles, we can store latencies per service in a list, then compute p50 and p95 by sorting and selecting appropriate index. For large data, memory might be high but okay for small tool. Use standard library only.
We need to handle malformed lines: lines that are not valid JSON, missing required fields, wrong types, etc. Count them and report at end.
We need to support --since <ISO timestamp> flag: parse ISO timestamp into datetime, then drop earlier records. Use datetime.fromisoformat? But Python's fromisoformat doesn't support 'Z' timezone. We can use dateutil? Not allowed. Use datetime.strptime with format? ISO-8601 can be many forms. We can use datetime.fromisoformat for Python 3.7+ but it doesn't support 'Z'. We can handle 'Z' by replacing with '+00:00'. So parse ts string: if endswith('Z'): replace with '+00:00', then datetime.fromisoformat.
We need to compare with since datetime. Use timezone aware? Use naive? We'll treat as UTC.
Implementation steps:
- Parse args: --since optional.
- Initialize data structures: per service: counts per level: dict of dicts. latencies: dict of lists.
- malformed_count = 0
- For each line in sys.stdin:
- strip newline.
- if empty: continue.
- try json.loads.
- Validate fields: ts, level, service. level in set. ts parse to datetime.此模型在此硬體上的更多執行
- 180tok/sllama.cpp · Q4_K_M上下文 512 · 深度 0 · 批次 1Sandberg · 2026年7月20日
- 178tok/svllm · v0.32.0 · MXFP4上下文 128K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月30日
- 178tok/svllm · v0.32.0 · MXFP4上下文 128K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月30日
- 178tok/sllama.cpp · Q4_K_M上下文 2K · 深度 0 · 批次 1Sandberg · 2026年7月20日
- 176tok/sllama.cpp · Q4_K_M上下文 4K · 深度 0 · 批次 1Sandberg · 2026年7月20日
- 173tok/svllm · v0.32.0 · MXFP4上下文 128K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月29日
- 171tok/sllama.cpp · Q4_K_M上下文 8K · 深度 0 · 批次 1Sandberg · 2026年7月20日
- 162tok/sllama.cpp · Q4_K_M上下文 16K · 深度 0 · 批次 1Sandberg · 2026年7月20日
- 152tok/svllm · v0.32.0 · MXFP4上下文 128K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月30日
- 152tok/svllm · v0.32.0 · MXFP4上下文 128K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月30日
