速度测试
Qwen3-1.7B
RTX 3060 12GB · vllm · v0.32.0 · BF16
解码
77.9tok/s
预填充
4.7ktok/s
首个 token 延迟
49ms
总计
112tok/s
峰值 VRAM
11.1GB
上下文长度
16K
KV 深度
0
批大小
1
并发数
1
功耗
150W
验证
已验证运行启动命令
vllm serve Qwen/Qwen3-1.7B --max-model-len 16384 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code --kv-cache-dtype fp8
Theoretical memory ceiling
89.7–90.0 tok/s
360 GB/s memory bandwidth (spec sheet) · 4.00 GB model weights · 8-bit KV cache · 1–231 tokens of context
87–87%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from Qwen/Qwen3-1.7B; size from BF16 estimate. Hardware source · Open calculator
模型
- GPU
- RTX 3060
- 数量
- 1
- VRAM
- 12 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
- 量化
- BF16
- 后端
- cuda
- TP
- 1
- KV 缓存
- fp8
- GPU mem util
- 0.94
- 前缀缓存
- 是
- 最大运行序列数
- 128
运行配置
- 上下文
- 16,384 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 231
- 预填 tok/s
- 4,700.1 tok/s
- 功耗
- 150 W
- 输出 token
- 512
- 备注
- Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: none. KV cache: fp8. 1x RTX 3060 12GB, stock 170 W limit, PCIe Gen3 x16 | Intel Xeon E5-2680 v4 14C | 32 GB DDR4-2400 | 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 77.9-77.9 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,054 chars
```python
import sys
import json
import argparse
from datetime import datetime
from typing import List, Dict, Any, Optional
def parse_iso(timestamp_str: str) -> datetime:
"""Parse ISO-8601 timestamp string to datetime object."""
return datetime.fromisoformat(timestamp_str.replace('Z', '+00:00'))
def read_input(since_str: Optional[str]) -> List[Dict[str, Any]]:
"""Read newline-delimited JSON from stdin, optionally filtering by since timestamp."""
records = []
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
record = json.loads(line)
# Validate required fields
if not all(k in record for k in ('ts', 'level', 'service')):
continue # malformed, will be counted later
ts = parse_iso(record['ts'])
if since_str:
since = parse_iso(since_str)
if ts < since:
continue
records.append(record)
except (json.JSONDecodeError, ValueError, AttributeError):
continue # malformed line, will be counted later
return records
def main():
parser = argparse.ArgumentParser(description='Log tally: count records by service and level, and compute p50/p95 latency.')
parser.add_argument('--since', help='ISO-8601 timestamp to drop earlier records')
args = parser.parse_args()
records = read_input(args.since)
malformed = 0
# Group by service
service_stats = {} # service -> {level: count, latencies: list}
for rec in records:
service = rec['service']
level = rec['level']
latency = rec.get('latency_ms')
if latency is None:
continue # ignore records without latency for percentile calculation
if latency not in (int, float):
continue
if service not in service_stats:
service_stats[service] = {
'level_counts': {},
'latencies': []
}
service_stats[service]['