Test szybkości
GLM-5.3-Flash-EXL3-TR3-4bpw
GB10 Grace Blackwell 512GB · vllm · EXL3 4.0bpw
Dekodowanie
59.2tok/s
Prefill
518tok/s
Czas do pierwszego tokenu
419ms
Łącznie
80.6tok/s
Szczytowe VRAM
—
Długość kontekstu
1,000,000
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
—
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
vllm serve Mia-AiLab/GLM-5.3-Flash-EXL3-TR3-4bpw --served-model-name GLM-5.3-Flash-EXL3 --host 0.0.0.0 --port 8888 --tensor-parallel-size 4 --nnodes 4 --node-rank 0 --master-addr <head-fabric-ip> --master-port 29521 --distributed-executor-backend mp --tool-call-parser glm47 --enable-auto-tool-choice --reasoning-parser glm45 --enable-prefix-caching --no-enable-flashinfer-autotune --quantization exl3 --max-model-len 1000000 --gpu-memory-utilization 0.72 --max-num-seqs 8 --max-num-batched-tokens 7168 --long-prefill-token-threshold 3584 --kv-cache-dtype fp8 --load-format instanttensor --speculative-config {"method":"dflash","model":"/root/.cache/huggingface/hub/models--incoai--GLM-5.3-Flash-DFlash2/snapshots/dc77ff1c99eeb2df044ee3d4f0094eb033fee410","num_speculative_tokens":7,"kv_cache_dtype":"auto","draft_sample_method":"probabilistic","rejection_sample_method":"standard","draft_tensor_parallel_size":4} --chat-template /opt/glm53/chat_template.jinja --limit-mm-per-prompt {"image":48,"video":1} --skip-mm-profiling --kv-cache-memory-bytes 24696061952 --cudagraph-capture-sizes 1 2 3 4 5 6 8 9 10 12 15 16 18 20 21 24 25 30 32 35 40 48 56 64Theoretical memory ceiling
This mixture-of-experts model doesn't list how many parameters are used per token, so a ceiling can't be estimated.
Sprzęt
- Układ
- GB10 Grace Blackwell
- Pamięć
- 512 GB
- OS
- Ubuntu 24.04.5 LTS
Silnik
- Silnik
- vllm
- Quant
- EXL3 4.0bpw
- TP
- 4
- KV cache
- fp8
- GPU mem util
- 0.72
- Prefix caching
- tak
- Prefill chunk
- 7168
- Max running seqs
- 8
- Spec decode
- włączone
Konfiguracja uruchomienia
- Kontekst
- 1 000 000 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 217
- Prefill tok/s
- 518.2 tok/s
- Tokeny wyjściowe
- 512
- Rewizja
- 25a44fdbf16862a46b7cc9921142c6c81350af2f
- Notatki
- 4x GB10 (DGX Spark-class: MSI EdgeXpert head + NVIDIA FE + 2x Acer GN100), vLLM tensor-parallel 4 over 200G RoCE through a switch (NCCL IB rail 2, 4 channels), EXL3 4.0bpw overlay with FP8 weight-only dense/kda/shared/mla projections (Marlin). DFlash2 draft incoai/GLM-5.3-Flash-DFlash2 @dc77ff1c sharded TP 4, up to 7 draft tokens with adaptive-k {2,4,7}. fp8 KV, 1M context (2.12M-token KV pool), max-num-seqs 8, chunked prefill 7168, long-prefill threshold 3584. Head GPU clock capped at 1800 MHz by a thermal guard (GB10 EC thermal power-off protection); workers 2200 MHz. Thinking OFF via chat_template_kwargs.enable_thinking=false (loopback proxy; lmx has no switch). Canonical prompt. Spec counters = vLLM /metrics deltas over the 5 measured requests (warmup outside the window, no other traffic: generation_tokens delta = 5x512), reported as per-request means.
Dekodowanie spekulatywne
- Metoda
- DFlash2
- Akceptowane na krok
- 4,19 tokenów
- Współczynnik akceptacji
- 64%
- Tokeny szkicu
- 607
- Zaakceptowane tokeny
- 391
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,908 chars
# `logtally`
```python
#!/usr/bin/env python3
"""logtally: aggregate newline-delimited JSON logs from stdin.
Reads records like:
{"ts": "2024-05-01T10:00:00Z", "level": "INFO", "service": "api", "latency_ms": 42.5}
Prints per-service counts by level plus p50/p95 of latency_ms.
"""
import argparse
import json
import math
import sys
from datetime import datetime, timezone
from typing import Any, Dict, List, Optional, Tuple
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
def parse_ts(value: Any) -> Optional[datetime]:
"""Parse an ISO-8601 timestamp; return None if invalid."""
if not isinstance(value, str) or not value:
return None
try:
# Python 3.11+ handles 'Z'; for older versions, normalize it.
ts = datetime.fromisoformat(value.replace("Z", "+00:00"))
except ValueError:
return None
if ts.tzinfo is None:
ts = ts.replace(tzinfo=timezone.utc)
return ts
def percentile(sorted_values: List[float], p: float) -> Optional[float]:
"""Linear-interpolation percentile (same method as numpy's default).
rank = (n - 1) * p / 100, then interpolate between neighbors.
Returns None for an empty list.
"""
n = len(sorted_values)
if n == 0:
return None
if n == 1:
return sorted_values[0]
rank = (n - 1) * (p / 100.0)
lo = math.floor(rank)
hi = math.ceil(rank)
if lo == hi:
return sorted_values[lo]
frac = rank - lo
return sorted_values[lo] + (sorted_values[hi] - sorted_values[lo]) * frac
def main() -> int:
ap = argparse.ArgumentParser(prog="logtally")
ap.add_argument("--since", metavar="ISO_TS", default=None,
help="drop records with ts earlier than this ISO-8601 timestamp")
args = ap.parse_args()
since: Optional[datetime] = None
if args.since is not None:
since = parse_ts(args.since)
if since is NoneWięcej przebiegów tego modelu na tym sprzęcie
- 181tok/svllm · EXL3 4.0bpwkontekst 1,000,000 · głębokość 0 · partia 8Rarri · 25 wrz 2026
- 164tok/svllm · EXL3 4.0bpwkontekst 1,000,000 · głębokość 0 · partia 8Rarri · 25 wrz 2026
- 142tok/svllm · EXL3 4.0bpwkontekst 1,000,000 · głębokość 0 · partia 8Rarri · 23 wrz 2026
- 116tok/svllm · EXL3 4.0bpwkontekst 1,000,000 · głębokość 0 · partia 8Rarri · 23 wrz 2026
- 105tok/scustom · TensorFold 0.5.0 (ashhart/TensorFold @9cd52ab) + local branch tp4-nvfp4: TP4, NVFP4/EXL3 loaders, direct RDMA all-gather, 4-bit projection/head levers · EXL3 4.0bpwkontekst 2K · głębokość 0 · partia 1Zweryfikowany przebiegRarri · 30 wrz 2026
- 104tok/svllm · v0.1.dev20051+g487ecf187 · EXL3 4.0bpwkontekst 500,000 · głębokość 0 · partia 1Rarri · 23 wrz 2026
- 101tok/scustom · TensorFold 0.5.0 (ashhart/TensorFold @9cd52ab) + local branch tp4-nvfp4: TP4, NVFP4/EXL3 loaders, direct RDMA all-gather, 4-bit projection/head levers · EXL3 4.0bpwkontekst 2K · głębokość 0 · partia 1Rarri · 30 wrz 2026
- 97.8tok/svllm · v0.1.dev20051+g487ecf187 · EXL3 4.0bpwkontekst 500,000 · głębokość 0 · partia 8Rarri · 23 wrz 2026
- 95.5tok/scustom · TensorFold 0.5.0 (ashhart/TensorFold @9cd52ab) + local branch tp4-nvfp4: TP4, NVFP4/EXL3 loaders, direct RDMA all-gather, 4-bit projection/head levers · EXL3 4.0bpwkontekst 2K · głębokość 0 · partia 1Rarri · 30 wrz 2026
- 90.9tok/scustom · TensorFold 0.5.0 (ashhart/TensorFold @9cd52ab) + local branch tp4-nvfp4: TP4, NVFP4/EXL3 loaders, direct RDMA all-gather, 4-bit projection/head levers · EXL3 4.0bpwkontekst 2K · głębokość 0 · partia 1Rarri · 30 wrz 2026
