速度测试
Qwen3.5-9B-AWQ-4bit
RTX 3090 24GB · vllm · v0.32.0 · W4A16 g32
解码
114tok/s
预填充
5.1ktok/s
首个 token 延迟
45ms
总计
164tok/s
峰值 VRAM
22.8GB
上下文长度
256K
KV 深度
0
批大小
1
并发数
1
功耗
413W
验证
已验证运行启动命令
vllm serve cyankiwi/Qwen3.5-9B-AWQ-4bit --max-model-len 262144 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code --language-model-only --kv-cache-dtype int4_per_token_head --attention-backend TRITON_ATTN
Theoretical memory ceiling
The quantization "W4A16 g32" isn't recognized, so the model's size in memory is unknown.
模型
- 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
- 量化
- W4A16 g32
- 后端
- cuda
- TP
- 1
- KV 缓存
- int4_per_token_head
- GPU mem util
- 0.94
- 前缀缓存
- 是
- 最大运行序列数
- 128
- Attn
- TRITON_ATTN
运行配置
- 上下文
- 262,144 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 231
- 预填 tok/s
- 5,144.8 tok/s
- 功耗
- 413 W
- 输出 token
- 512
- 备注
- Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: none. KV cache: int4_per_token_head. 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 114.0-114.1 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,018 chars
```python
#!/usr/bin/env python3
"""
logtally: A CLI tool to analyze JSON log records from stdin.
Usage:
python logtally.py [--since <ISO timestamp>]
Input: Newline-delimited JSON on stdin.
Output: Per-service statistics (count by level, p50/p95 latency) and malformed line count.
"""
import argparse
import json
import sys
from collections import defaultdict
from datetime import datetime
from statistics import median
from typing import Any, Dict, List, Optional, Tuple
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description="Analyze JSON log records from stdin."
)
parser.add_argument(
"--since",
type=str,
default=None,
help="ISO-8601 timestamp to filter records (inclusive).",
)
return parser.parse_args()
def parse_iso_timestamp(ts_str: str) -> Optional[datetime]:
"""Parse an ISO-8601 timestamp string to a datetime object."""
try:
# Handle 'Z' suffix for UTC
if ts_str.endswith("Z"):
ts_str = ts_str[:-1] + "+00:00"
return datetime.fromisoformat(ts_str)
except (ValueError, TypeError):
return None
def compute_percentile(data: List[float], percentile: float) -> float:
"""
Compute the given percentile of a list of numbers.
Uses the 'exclusive' method (linear interpolation) as implemented in
Python's statistics module (specifically the approach used by numpy's default
percentile calculation for compatibility).
Args:
data: List of numbers.
percentile: The percentile to compute (0-100).
Returns:
The computed percentile value.
"""
if not data:
return 0.0
sorted_data = sorted(data)
n = len(sorted_data)
# Calculate the rank
rank = (percentile / 100) * (n - 1)
lower_idx = int(rank)
upper_idx = lower_idx + 1
if upper_idx >= n:
return sorted_data[-1]
# Linear interpolation
fraction = rank - lower_idx该模型在此硬件上的更多运行
- 179tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 175tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 174tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 173tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 118tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 118tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 116tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 116tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 114tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
- 112tok/svllm · v0.32.0 · W4A16 g32上下文 256K · 深度 0 · 批大小 1已验证运行Sandberg · 2026年11月1日
