Test szybkości
Llama-3.3-70B-Instruct-NVFP4
CMP 170HX 64GB · vllm · v0.32.0rc1.dev249+g18305948a · NVFP4
Dekodowanie
20.3tok/s
Prefill
1.2ktok/s
Czas do pierwszego tokenu
203ms
Łącznie
29.3tok/s
Szczytowe VRAM
59GB
Długość kontekstu
128K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
178W
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
vllm serve nvidia/Llama-3.3-70B-Instruct-NVFP4 --max-model-len 131072 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code --kv-cache-dtype int4_per_token_head --attention-backend TRITON_ATTN
Theoretical memory ceiling
42.0–42.1 tok/s
1,493 GB/s memory bandwidth (spec sheet) · 35.50 GB model weights · 4-bit KV cache · 1–234 tokens of context
48–48%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from nvidia/Llama-3.3-70B-Instruct-NVFP4; size from NVFP4 estimate. Hardware source · Open calculator
Sprzęt
- GPU
- CMP 170HX
- Liczba
- 1
- 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
- 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
- 131 072 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 234
- Prefill tok/s
- 1,153.0 tok/s
- Pobór mocy
- 178 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 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 20.2-20.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 · 2,225 chars
```python
import json
import sys
import argparse
from datetime import datetime
import statistics
def parse_args():
parser = argparse.ArgumentParser(description='Log Tally')
parser.add_argument('--since', help='ISO timestamp to filter records')
return parser.parse_args()
def parse_record(line):
try:
return json.loads(line)
except json.JSONDecodeError:
return None
def main():
args = parse_args()
since = None
if args.since:
since = datetime.fromisoformat(args.since)
services = {}
malformed_count = 0
for line in sys.stdin:
record = parse_record(line.strip())
if record is None:
malformed_count += 1
continue
if since and datetime.fromisoformat(record['ts']) < since:
continue
service = record['service']
if service not in services:
services[service] = {'DEBUG': 0, 'INFO': 0, 'WARN': 0, 'ERROR': 0, 'latencies': []}
services[service][record['level']] += 1
if 'latency_ms' in record:
services[service]['latencies'].append(record['latency_ms'])
for service, metrics in services.items():
print(f"Service: {service}")
for level, count in metrics.items():
if level != 'latencies':
print(f" {level}: {count}")
if metrics['latencies']:
p50 = statistics.median_low(metrics['latencies'])
metrics['latencies'].sort()
p95_index = int(0.95 * len(metrics['latencies']))
p95 = metrics['latencies'][p95_index]
print(f" p50 latency: {p50} ms")
print(f" p95 latency: {p95} ms")
print()
print(f"Malformed lines: {malformed_count}")
if __name__ == '__main__':
main()
```
I computed percentiles using the `statistics` module for the median (p50) and a simple index calculation for the 95th percentile (p95), as the `statistics` module does not provide a direct way to calculate other percentiles. I chose this method because it is straightforward and only uses the standard library.
Here are three edge cases a unit test suite should cover:
1. **Empty input**: Test that the program handles an emptyWięcej przebiegów tego modelu na tym sprzęcie
- 25.2tok/svllm · v0.28.0 · NVFP4kontekst 512 · głębokość 512 · partia 1Sandberg · 3 wrz 2026
- 24.2tok/svllm · v0.28.0 · NVFP4kontekst 2K · głębokość 2K · partia 1Sandberg · 3 wrz 2026
- 23.1tok/svllm · v0.28.0 · NVFP4kontekst 8K · głębokość 8K · partia 1Sandberg · 3 wrz 2026
- 21.5tok/svllm · v0.32.0rc1.dev249+g18305948a · NVFP4kontekst 104K · głębokość 0 · partia 1Zweryfikowany przebiegSandberg · 30 paź 2026
- 21.4tok/svllm · v0.32.0rc1.dev249+g18305948a · NVFP4kontekst 104K · głębokość 0 · partia 1Zweryfikowany przebiegSandberg · 30 paź 2026
- 20.3tok/svllm · v0.32.0rc1.dev249+g18305948a · NVFP4kontekst 128K · głębokość 0 · partia 1Zweryfikowany przebiegSandberg · 31 paź 2026
- 20.1tok/svllm · v0.28.0 · NVFP4kontekst 32K · głębokość 32K · partia 1Sandberg · 3 wrz 2026
