Test di velocità
GLM-5.3-Flash-EXL3-TR3-4bpw
GB10 Grace Blackwell 512GB · vllm · EXL3 4.0bpw
Decodifica
75.4tok/s
Prefill
633tok/s
Tempo al primo token
343ms
Totale
102tok/s
VRAM di picco
—
Lunghezza del contesto
1,000,000
Profondità KV
0
Dimensione batch
1
Concorrenza
1
Consumo energetico
—
Verifica
Esecuzione verificataComando di avvio
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 23622320128 --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.
Hardware
- Chip
- GB10 Grace Blackwell
- Memoria
- 512 GB
- OS
- Ubuntu 24.04.5 LTS
Motore
- Motore
- vllm
- Quant
- EXL3 4.0bpw
- TP
- 4
- KV cache
- fp8
- GPU mem util
- 0.72
- Prefix caching
- sì
- Chunk prefill
- 7168
- Max running seqs
- 8
- Spec decode
- abilitato
Configurazione run
- Contesto
- 1.000.000 token
- Profondità
- 0 token
- Dimensione batch
- 1
- Token prompt
- 217
- Prefill tok/s
- 632.6 tok/s
- Token output
- 512
- Revisione
- 25a44fdbf16862a46b7cc9921142c6c81350af2f
- Note
- 4x GB10 (DGX Spark-class: MSI EdgeXpert head + NVIDIA FE + 2x Acer GN100), vLLM tensor-parallel 4 over 200G RoCE through a switch (both CX7 rails, NCCL 4 channels), EXL3 4.0bpw routed experts with FP8 weight-only dense/kda/shared/mla projections (Marlin) and an FP8 (Marlin) lm_head. Routed-expert MoE uses a cooperative fused kernel (fp32 accumulate) on 24 decode/verify row counts between 1 and 64 (per-row-count policy), qualified by a logprob/GSM8K/acceptance gate. Also on: fused MoE routing prep, deferred KDA spec-state store, per-shard greedy verify argmax, sharded drafter top-k, fused DFlash2 conv, MoE router dedup, small-M bf16 GEMM kernel. 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.03M-token KV pool), max-num-seqs 8, chunked prefill 7168, long-prefill threshold 3584. Head GPU clock floor 2000 MHz (thermal guard L1, GB10 EC 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.
Decodifica speculativa
- Metodo
- DFlash2
- Accettati per passo
- 4,26 token
- Tasso di accettazione
- 65%
- Token di bozza
- 609
- Token accettati
- 393
Evidenze acquisite
- Hash del prompt (SHA-256)
- a737db738bd4…
Esempio di 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.
Esempio di output · 2,109 chars
# `logtally`
```python
#!/usr/bin/env python3
"""logtally: aggregate newline-delimited JSON log records from stdin.
Reads records with fields:
ts ISO-8601 timestamp string (required)
level one of DEBUG, INFO, WARN, ERROR (required)
service string (required)
latency_ms number (optional)
Prints per-service counts by level plus p50/p95 of latency_ms.
Malformed lines are counted and reported at the end, never crash.
"""
import argparse
import json
import math
import sys
from datetime import datetime, timezone
from collections import defaultdict
VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}
def parse_ts(value):
"""Parse an ISO-8601 timestamp; return an aware datetime or None."""
if not isinstance(value, str) or not value:
return None
try:
# Python 3.11+ handles 'Z'; for older versions, normalize it.
normalized = value.replace("Z", "+00:00") if value.endswith("Z") else value
dt = datetime.fromisoformat(normalized)
except ValueError:
return None
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
def parse_record(line):
"""Return (service, level, ts, latency_ms) or None if malformed."""
try:
rec = json.loads(line)
except (json.JSONDecodeError, UnicodeDecodeError):
return None
if not isinstance(rec, dict):
return None
ts = parse_ts(rec.get("ts"))
level = rec.get("level")
service = rec.get("service")
if ts is None or level not in VALID_LEVELS or not isinstance(service, str) or not service:
return None
latency = rec.get("latency_ms")
if latency is not None and not isinstance(latency, (int, float)):
return None
if isinstance(latency, bool): # bool is a subclass of int; reject it
return None
return service, level, ts, latency
def percentile(sorted_values, pct):
"""Linear-interpolation percentile (same method as numpy's default).
sorted_values must be a non-empty list sorted ascending.
pct is in [0, 100].
"""
n = len(sorted_values)
if n ==Altri run di questo modello su questo hardware
- 181tok/svllm · EXL3 4.0bpwContesto 1,000,000 · profondità 0 · batch 8Rarri · 25 set 2026
- 164tok/svllm · EXL3 4.0bpwContesto 1,000,000 · profondità 0 · batch 8Rarri · 25 set 2026
- 142tok/svllm · EXL3 4.0bpwContesto 1,000,000 · profondità 0 · batch 8Rarri · 23 set 2026
- 116tok/svllm · EXL3 4.0bpwContesto 1,000,000 · profondità 0 · batch 8Rarri · 23 set 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.0bpwContesto 2K · profondità 0 · batch 1Esecuzione verificataRarri · 30 set 2026
- 104tok/svllm · v0.1.dev20051+g487ecf187 · EXL3 4.0bpwContesto 500,000 · profondità 0 · batch 1Rarri · 23 set 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.0bpwContesto 2K · profondità 0 · batch 1Rarri · 30 set 2026
- 97.8tok/svllm · v0.1.dev20051+g487ecf187 · EXL3 4.0bpwContesto 500,000 · profondità 0 · batch 8Rarri · 23 set 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.0bpwContesto 2K · profondità 0 · batch 1Rarri · 30 set 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.0bpwContesto 2K · profondità 0 · batch 1Rarri · 30 set 2026
