Test de vitesse
Qwen3.5-9B-AWQ-4bit
RTX 3090 24GB · vllm · v0.32.0 · W4A16 g32
Décodage
174tok/s
Prefill
4.3ktok/s
Délai jusqu'au premier token
54ms
Total
249tok/s
VRAM max
23,1Go
Longueur de contexte
256K
Profondeur KV
0
Taille de lot
1
Concurrence
1
Consommation
345W
Vérification
Exécution vérifiéeCommande de lancement
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 --speculative-config {"method":"mtp","num_speculative_tokens":2}Theoretical memory ceiling
The quantization "W4A16 g32" isn't recognized, so the model's size in memory is unknown.
Matériel
- GPU
- RTX 3090
- Nombre
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04.5
Moteur
- Moteur
- vllm
- Version
- 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
- auto
- GPU mem util
- 0.94
- Prefix caching
- oui
- Max running seqs
- 128
- Spec decode
- activé
- MTP
- activé
Configuration du run
- Contexte
- 262 144 tokens
- Profondeur
- 0 tokens
- Taille de batch
- 1
- Tokens de prompt
- 233
- Prefill tok/s
- 4,333.2 tok/s
- Consommation électrique
- 345 W
- Tokens de sortie
- 512
- Notes
- Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: MTP, 2 tokens lookahead. KV cache: auto (bf16). 1x RTX 3090 24GB (Zagitta/gpu-unlock), 350 W limit (VBIOS max), PCIe Gen4 x16 | AMD Ryzen 9 7900X 12C | 32 GB DDR5 | Ubuntu 24.04.5, NVIDIA driver 595.99.02. 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 170.7-179.4 tok/s). tokSOut = (completion - 1) / time after first token.
Décodage spéculatif
- Méthode
- MTP
- Acceptés par étape
- 2,57 tokens
- Taux d'acceptation
- 78 %
- Tokens de brouillon
- 400
- Tokens acceptés
- 313
Preuves capturées
- Empreinte du prompt (SHA-256)
- a737db738bd4…
Extrait du 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.
Extrait de sortie · 1,972 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 Any, 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 using linear interpolation.
Method: Uses the 'exclusive' method (similar to Excel's PERCENTILE.EXC or
numpy's default linear interpolation). It sorts the data, calculates the
index, and interpolates between the two nearest values if the index is not
an integer. This provides a smooth estimate of the percentile value.
"""
if not data:
return 0.0
sorted_data = sorted(data)
n = len(sorted_data)
if n == 1:
return sorted_data[0]
# Calculate the index for the percentile
# Using (n - 1) * p / 100 gives the position in the 0..n-1 range
index = (n - 1) * (percentile / 100.0)
lowerAutres runs de ce modèle sur ce matériel
- 179tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 175tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 173tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 118tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 118tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 116tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 116tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 114tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 114tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
- 112tok/svllm · v0.32.0 · W4A16 g32Contexte 256K · profondeur 0 · lot 1Exécution vérifiéeSandberg · 1 nov. 2026
