Kiểm tra tốc độ
Qwen3.5-27B-AWQ-4bit
RTX 3090 24GB · vllm · v0.32.0 · AWQ 4-bit
Decode
45.7tok/s
Prefill
1.8ktok/s
Thời gian đến token đầu tiên
129ms
Tổng
65.5tok/s
VRAM đỉnh
20,9GB
Độ dài ngữ cảnh
32K
Độ sâu KV
0
Kích thước batch
1
Đồng thời
1
Công suất tiêu thụ
417W
Xác minh
Lượt chạy đã xác minhLệnh khởi chạy
vllm serve cyankiwi/Qwen3.5-27B-AWQ-4bit --max-model-len 32768 --gpu-memory-utilization 0.94 --max-num-seqs 29 --enable-prefix-caching --trust-remote-code --language-model-only --kv-cache-dtype fp8 --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 · 8-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
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
- Repository
- https://github.com/vllm-project/vl…
- Build
- vllm/vllm-openai:v0.32.0-x86_64
- Quant
- AWQ 4-bit
- Backend
- cuda
- TP
- 1
- KV cache
- fp8
- GPU mem util
- 0.94
- Prefix caching
- có
- Max running seqs
- 29
Cấu hình chạy
- Context
- 32.768 tokens
- Độ sâu
- 0 tokens
- Kích thước batch
- 1
- Prompt tokens
- 231
- Prefill tok/s
- 1,787.3 tok/s
- Công suất tiêu thụ
- 417 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: fp8. 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.
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 · 1,778 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 calculate_percentile(data: List[float], percentile: float) -> float:
"""
Calculates the percentile using the 'nearest-rank' method.
Returns 0.0 if the list is empty.
"""
if not data:
return 0.0
sorted_data = sorted(data)
n = len(sorted_data)
# Nearest-rank method: index = ceil(P/100 * N) - 1
# This ensures we pick an actual value from the dataset.
rank = (percentile / 100.0) * n
index = int(rank)
# If rank is exactly an integer, we take the value at that index (0-based)
# However, standard nearest rank often uses ceil.
# Let's use the standard definition: index = ceil(P/100 * N) - 1
# If P=50, N=4 -> 2.0 -> ceil(2.0)=2 -> index 1 (2nd element)
# If P=95, N=4 -> 3.8 -> ceil(3.8)=4 -> index 3 (4th element)
import math
index = math.ceil(rank) - 1
# Clamp indexCác lượt chạy khác của mô hình này trên phần cứng này
- 45.7tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 32K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 31 thg 10, 2026
- 45.7tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 16K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 29 thg 10, 2026
- 45.7tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 16K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 29 thg 10, 2026
- 44.9tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 32K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 1 thg 11, 2026
- 44.8tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 32K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 1 thg 11, 2026
- 44.8tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 16K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 30 thg 10, 2026
- 44.8tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 16K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 30 thg 10, 2026
- 44.4tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 64K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 29 thg 10, 2026
- 44.4tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 64K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 29 thg 10, 2026
- 43.6tok/svllm · v0.32.0 · AWQ 4-bitNgữ cảnh 64K · độ sâu 0 · batch 1Lượt chạy đã xác minhSandberg · 31 thg 10, 2026
