Test szybkości
Qwen3.5-9B-AWQ-4bit
RTX 3060 12GB · vllm · v0.32.0 · W4A16 g32
Dekodowanie
49.3tok/s
Prefill
1.2ktok/s
Czas do pierwszego tokenu
187ms
Łącznie
70.6tok/s
Szczytowe VRAM
11,4GB
Długość kontekstu
256K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
167W
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
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.
Sprzęt
- GPU
- RTX 3060
- Liczba
- 1
- VRAM
- 12 GB
- OS
- Ubuntu 24.04.5
Silnik
- Silnik
- vllm
- Wersja
- 0.32.0
- Repository
- https://github.com/vllm-project/vl…
- Build
- vllm/vllm-openai:v0.32.0-x86_64
- Quant
- W4A16 g32
- Backend
- cuda
- TP
- 1
- KV cache
- int4_per_token_head
- GPU mem util
- 0.94
- Prefix caching
- tak
- Max running seqs
- 128
- Attn
- TRITON_ATTN
Konfiguracja uruchomienia
- Kontekst
- 262 144 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 234
- Prefill tok/s
- 1,248.6 tok/s
- Pobór mocy
- 167 W
- Tokeny wyjściowe
- 512
- Notatki
- 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 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 49.3-49.3 tok/s). tokSOut = (completion - 1) / time after first token.
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 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.
Próbka odpowiedzi · 1,976 chars
```python
#!/usr/bin/env python3
"""
logtally: A CLI tool to summarize JSON log records from stdin.
Usage:
python logtally.py [--since <ISO_TIMESTAMP>]
Input: Newline-delimited JSON lines with keys: ts, level, service, latency_ms (optional).
Output: Per-service summary of counts by level and p50/p95 latency.
"""
import argparse
import json
import sys
from collections import defaultdict
from datetime import datetime
from statistics import median
from typing import Dict, List, Optional, Tuple
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description="Summarize JSON log records from stdin."
)
parser.add_argument(
"--since",
type=str,
help="ISO-8601 timestamp to filter records (inclusive).",
)
return parser.parse_args()
def parse_iso_timestamp(ts_str: str) -> Optional[datetime]:
"""Parse ISO-8601 timestamp string to 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 (similar to numpy's default).
"""
if not data:
return 0.0
sorted_data = sorted(data)
n = len(sorted_data)
# Calculate the index using the exclusive method
# index = (percentile/100) * (n - 1)
index = (percentile / 100.0) * (n - 1)
lower_idx = int(index)
upper_idx = lower_idx + 1
if upper_idx >= n:
return sorted_data[-1]
# Linear interpolation between the two surrounding values
fraction = index - lower_idx
return sorted_data[lower_idx] + fraction * (sorted_data[upper_idx]Więcej przebiegów tego modelu na tym sprzęcie
- 84.3tok/svllm · v0.24.0 · AWQ-INT4kontekst 512 · głębokość 0 · partia 1Sandberg · 5 lip 2026
- 83.5tok/svllm · v0.24.0 · AWQ-INT4kontekst 2K · głębokość 0 · partia 1Sandberg · 5 lip 2026
- 83.0tok/svllm · v0.24.0 · AWQ-INT4kontekst 4K · głębokość 0 · partia 1Sandberg · 5 lip 2026
- 81.5tok/svllm · v0.24.0 · AWQ-INT4kontekst 8K · głębokość 0 · partia 1Sandberg · 5 lip 2026
- 79.1tok/svllm · v0.24.0 · AWQ-INT4kontekst 16K · głębokość 0 · partia 1Sandberg · 5 lip 2026
- 74.5tok/svllm · v0.24.0 · AWQ-INT4kontekst 32K · głębokość 0 · partia 1Sandberg · 5 lip 2026
- 68.4tok/svllm · v0.24.0 · AWQ-INT4kontekst 64K · głębokość 0 · partia 1Sandberg · 5 lip 2026
- 64.2tok/svllm · v0.24.0 · AWQ-INT4kontekst 2K · głębokość 0 · partia 5Sandberg · 5 lip 2026
- 62.2tok/svllm · v0.24.0 · AWQ-INT4kontekst 2K · głębokość 0 · partia 2Sandberg · 5 lip 2026
- 61.6tok/svllm · v0.24.0 · AWQ-INT4kontekst 96K · głębokość 0 · partia 1Sandberg · 5 lip 2026
