Test szybkości
Mistral-Medium-3.5-128B-NVFP4
CMP 170HX 64GB ×2 · vllm · v0.32.0rc1.dev249+g18305948a · NVFP4 mixed
Dekodowanie
12.7tok/s
Prefill
1.8ktok/s
Czas do pierwszego tokenu
131ms
Łącznie
18.4tok/s
Szczytowe VRAM
115,4GB
Długość kontekstu
256K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
304W
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
vllm serve nvidia/Mistral-Medium-3.5-128B-NVFP4 --max-model-len 262144 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code --pipeline-parallel-size 2 --language-model-only --kv-cache-dtype int4_per_token_head --attention-backend TRITON_ATTN
Theoretical memory ceiling
23.3–23.3 tok/s
1,493 GB/s memory bandwidth (spec sheet) · 64.00 GB model weights · 4-bit KV cache · 1–233 tokens of context
54–54%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from nvidia/Mistral-Medium-3.5-128B-NVFP4; size from NVFP4 mixed estimate. Hardware source · Open calculator
Sprzęt
- GPU
- CMP 170HX
- Liczba
- 2
- VRAM
- 64 GB
- OS
- Ubuntu 26.04.1
Silnik
- Silnik
- vllm
- Wersja
- 0.32.0rc1.dev249+g18305948a
- Repository
- https://github.com/vllm-project/vl…
- Build
- ghcr.io/morrowmake/vllm-cmp170hx@sha256:5b45c4d6feafefe2eba962375b0a9a0b64fd22b9e05abb4d1966f14a32a2db79
- Quant
- NVFP4 mixed
- 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
- 233
- Prefill tok/s
- 1,781.3 tok/s
- Pobór mocy
- 304 W (143 + 161 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. Layout: PP2 (stock vLLM flag). 2x NVIDIA CMP 170HX 64GB (cmpunlocker), 180 W limit, PCIe Gen2 x4 | 2x Intel Xeon E5-2630 v3 | 64 GB DDR4 | Ubuntu 26.04.1, NVIDIA driver 610.57.04 | vLLM: Morrowmake vllm-cmp170hx image. 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 12.7-12.7 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 · 2,328 chars
Here's the implementation of `logtally`:
```python
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
def parse_args():
parser = argparse.ArgumentParser(description='Tally log records by service and level, and compute latency percentiles.')
parser.add_argument('--since', type=str, help='Only consider records with timestamp >= this ISO-8601 timestamp')
return parser.parse_args()
def parse_timestamp(ts_str):
try:
return datetime.fromisoformat(ts_str)
except ValueError:
return None
def process_records():
args = parse_args()
since_ts = parse_timestamp(args.since) if args.since else None
service_stats = defaultdict(lambda: {
'level_counts': defaultdict(int),
'latencies': []
})
malformed_count = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
record = json.loads(line)
except json.JSONDecodeError:
malformed_count += 1
continue
# Validate required fields
if not all(field in record for field in ['ts', 'level', 'service']):
malformed_count += 1
continue
# Validate level
if record['level'] not in {'DEBUG', 'INFO', 'WARN', 'ERROR'}:
malformed_count += 1
continue
# Parse timestamp
ts = parse_timestamp(record['ts'])
if ts is None:
malformed_count += 1
continue
# Apply since filter
if since_ts and ts < since_ts:
continue
service = record['service']
level = record['level']
# Update level counts
service_stats[service]['level_counts'][level] += 1
# Update latencies if present
if 'latency_ms' in record:
latency = record['latency_ms']
if isinstance(latency, (int, float)) and latency >= 0:
service_stats[service]['latencies'].append(latency)
else:
malformed_count += 1
# Print results
for service, stats in sorted(service_stats.items()):
print(f"Service: {service}")
print(" Level counts:")
for level, count in sorted(stats['level_counts'].items()):
print(f"