速度測試
Qwen3.5-27B-AWQ-4bit
RTX 3090 24GB · vllm · v0.32.0 · AWQ 4-bit
解碼
45.7tok/s
預填
1.7ktok/s
首個 token 延遲
138ms
總計
65.5tok/s
峰值 VRAM
20.5GB
上下文長度
16K
KV 深度
0
批次大小
1
並行數
1
功耗
417W
驗證
已驗證執行啟動命令
vllm serve cyankiwi/Qwen3.5-27B-AWQ-4bit --max-model-len 16384 --gpu-memory-utilization 0.94 --max-num-seqs 30 --enable-prefix-caching --trust-remote-code --language-model-only --max-cudagraph-capture-size 16
Theoretical memory ceiling
65.4–65.4 tok/s
936.2 GB/s memory bandwidth (spec sheet) · 14.00 GB model weights · 16-bit KV cache · 1–231 tokens of context
70–70%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from cyankiwi/Qwen3.5-27B-AWQ-4bit; size from AWQ 4-bit estimate. Hardware source · Open calculator
模型
- 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
- 量化
- AWQ 4-bit
- 後端
- cuda
- TP
- 1
- KV 快取
- auto
- GPU mem util
- 0.94
- Prefix caching
- 是
- Max running seqs
- 30
執行設定
- 上下文
- 16,384 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 231
- 預填 tok/s
- 1,680.2 tok/s
- 功耗
- 417 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), 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 45.7-45.7 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.
輸出樣本 · 1,860 chars
```python
#!/usr/bin/env python3
"""
logtally: A command-line tool to aggregate JSON log records from stdin.
"""
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
from typing import List, Dict, Any, Optional
def parse_args():
parser = argparse.ArgumentParser(description="Tally log records from stdin.")
parser.add_argument("--since", type=str, help="ISO-8601 timestamp to filter records (inclusive).")
return parser.parse_args()
def parse_timestamp(ts_str: str) -> Optional[datetime]:
"""Parses an ISO-8601 string, handling common variations."""
try:
# Handle 'Z' suffix by replacing with '+00:00' for fromisoformat compatibility
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(sorted_data: List[float], percentile: float) -> Optional[float]:
"""
Computes the percentile using the 'nearest-rank' method.
Returns None if the list is empty.
"""
if not sorted_data:
return None
n = len(sorted_data)
# Nearest-rank method: index = ceil(P/100 * N) - 1
# We use 0-based indexing, so we calculate the rank (1-based) first.
rank = int((percentile / 100.0) * n)
# If rank is 0 (which happens for very small N and low percentiles),
# we take the first element. If rank >= n, we take the last.
# Standard nearest-rank: index = ceil(P/100 * N) - 1
# To avoid floating point issues, we can use:
index = int((percentile / 100.0) * (n - 1))
# Alternative robust nearest-rank implementation:
# rank = ceil(P/100 * N)
# index = rank - 1
# But for small datasets, simple interpolation or nearest-rank varies.
# Let's stick to a standard此模型在此硬體上的更多執行
- 45.7tok/svllm · v0.32.0 · AWQ 4-bit上下文 32K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月31日
- 45.7tok/svllm · v0.32.0 · AWQ 4-bit上下文 16K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月29日
- 45.7tok/svllm · v0.32.0 · AWQ 4-bit上下文 32K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月31日
- 44.9tok/svllm · v0.32.0 · AWQ 4-bit上下文 32K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年11月1日
- 44.8tok/svllm · v0.32.0 · AWQ 4-bit上下文 32K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年11月1日
- 44.8tok/svllm · v0.32.0 · AWQ 4-bit上下文 16K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月30日
- 44.8tok/svllm · v0.32.0 · AWQ 4-bit上下文 16K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月30日
- 44.4tok/svllm · v0.32.0 · AWQ 4-bit上下文 64K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月29日
- 44.4tok/svllm · v0.32.0 · AWQ 4-bit上下文 64K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月29日
- 43.6tok/svllm · v0.32.0 · AWQ 4-bit上下文 64K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年10月31日
