Teste de velocidade
GLM-5.3-Flash-EXL3-TR3-4bpw
GB10 Grace Blackwell 512GB · custom · 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.0bpw
Decode
105tok/s
Prefill
580tok/s
Tempo até o primeiro token
374ms
Total
139tok/s
VRAM de pico
—
Tamanho do contexto
2K
Profundidade KV
0
Tamanho do lote
1
Concorrência
1
Consumo de energia
—
Verificação
Execução verificadaComando de inicialização
TF_COMM=rdma TF_RDMA_HCA=rocep1s0f0,roceP2p1s0f0 TF_GLM_Q4_PROJ=1 TF_GLM_Q4_HEAD=1 TF_GLM_HC_BLOCKS=64 TF_GLM_BF16_AUTO=fc5:0.6 NCCL_MIN_NCHANNELS=1 NCCL_MAX_NCHANNELS=1 tensorfold serve <Mia-AiLab/GLM-5.3-Flash-EXL3-TR3-4bpw rank-r folder from `split --tp 4`> --backend cuda --tp 4 --rank R --master <rank0 fabric IP> --name GLM-5.3-Flash-EXL3 --drafter <incoai/GLM-5.3-Flash-DFlash2 @7d74cdd> --context 262144 --port 18080
Theoretical 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
- Memória
- 512 GB
- OS
- Ubuntu 24.04.5 LTS
Engine
- Engine
- custom
- Versão
- TensorFold 0.5.0 (ashhart/TensorFold @9cd52ab) + local branch tp4-nvfp4: TP4, NVFP4/EXL3 loaders, direct RDMA all-gather, 4-bit projection/head levers
- Repository
- https://github.com/ashhart/TensorF…
- Commit
- 9cd52ab4daba68ddd09be89be8f23ad43175e821
- Quant
- EXL3 4.0bpw
- Backend
- cuda
- TP
- 4
- Spec decode
- ativado
Configuração da execução
- Contexto
- 2.048 tokens
- Profundidade
- 0 tokens
- Tamanho do batch
- 1
- Tokens de prompt
- 216
- Prefill tok/s
- 580.4 tok/s
- Tokens de saída
- 512
- Revisão
- 25a44fdbf16862a46b7cc9921142c6c81350af2f
- Notas
- 4x GB10 (DGX Spark-class: MSI EdgeXpert + NVIDIA FE + 2x Acer GN100), tensor-parallel 4 over 200G RoCE through a MikroTik CRS812 switch. Engine: TensorFold 0.5.0 (upstream serves GLM-5.3-Flash at TP2 only) with a local, unpublished branch: TP4 split, a direct RDMA all-gather for decode-size tensors (pinned host memory the GB10 GPU reads directly, one hop, both CX7 rails; NCCL for prefill), exact speculative decoding (drafted replies equal serial ones). Checkpoint Mia-AiLab/GLM-5.3-Flash-EXL3-TR3-4bpw @25a44fd (EXL3 4-bit routed experts); its BF16 attention/shared-expert/dense projections and LM head are re-quantized at load to affine 4-bit groups of 64 (MLX layout) - GSM8K-300 294/300 in this configuration. DFlash2 incoai/GLM-5.3-Flash-DFlash2 drafts up to 5 tokens a round and stops once the chain's probability product drops below 0.6 (policy fc5:0.6), so draft tokens per round vary (the fixed-K consistency check assumes 5). Serial engine (one request at a time), 256K context, bf16 latent KV. Thinking OFF via chat_template_kwargs.enable_thinking=false (loopback proxy; lmx has no switch). Canonical prompt. Spec counters = TensorFold /health deltas over the 5 measured requests (warmup outside the window, no other traffic), per-request means: 667 verify rounds, 2380 drafted and 1892 accepted tokens for 2560 reply tokens (reply = requests + rounds + accepted: False).
Decodificação especulativa
- Método
- DFlash2
- Aceitos por etapa
- 3,84 tokens
- Taxa de aceitação
- 80%
- Tokens de rascunho
- 476
- Tokens aceitos
- 378
Evidências capturadas
- Hash do prompt (SHA-256)
- a737db738bd4…
Amostra do 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.
Amostra de saída · 2,090 chars
```python
#!/usr/bin/env python3
"""logtally — aggregate newline-delimited JSON logs from stdin.
Per service: counts by level, plus p50/p95 of latency_ms.
Malformed lines are counted, not fatal.
"""
import argparse
import json
import math
import sys
from collections import defaultdict
from datetime import datetime, timezone
VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}
def parse_ts(value):
"""Parse an ISO-8601 timestamp; return aware datetime or None."""
if not isinstance(value, str):
return None
try:
# Python 3.11+ handles 'Z'; for older versions, normalize it.
iso = value.replace("Z", "+00:00") if value.endswith("Z") else value
dt = datetime.fromisoformat(iso)
except ValueError:
return None
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
def percentile(sorted_values, p):
"""Nearest-rank percentile on a pre-sorted list. p in [0, 100]."""
if not sorted_values:
return None
k = max(1, math.ceil(p / 100 * len(sorted_values)))
return sorted_values[min(k, len(sorted_values)) - 1]
def main():
ap = argparse.ArgumentParser(prog="logtally")
ap.add_argument("--since", help="ISO-8601 timestamp; drop records earlier than this")
args = ap.parse_args()
since = parse_ts(args.since) if args.since else None
if args.since and since is None:
print(f"logtally: invalid --since timestamp: {args.since!r}", file=sys.stderr)
return 2
# service -> level -> count
counts = defaultdict(lambda: defaultdict(int))
# service -> list of latencies (sorted at the end)
latencies = defaultdict(list)
malformed = 0
dropped_by_since = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
rec = json.loads(line)
except json.JSONDecodeError:
malformed += 1
continue
if not isinstance(rec, dict):
malformed += 1
continue
ts = parse_ts(rec.get("ts"))
level = recMais execuções deste modelo neste hardware
- 181tok/svllm · EXL3 4.0bpwcontexto 1,000,000 · profundidade 0 · lote 8Rarri · 25 de set. de 2026
- 164tok/svllm · EXL3 4.0bpwcontexto 1,000,000 · profundidade 0 · lote 8Rarri · 25 de set. de 2026
- 142tok/svllm · EXL3 4.0bpwcontexto 1,000,000 · profundidade 0 · lote 8Rarri · 23 de set. de 2026
- 116tok/svllm · EXL3 4.0bpwcontexto 1,000,000 · profundidade 0 · lote 8Rarri · 23 de set. de 2026
- 104tok/svllm · v0.1.dev20051+g487ecf187 · EXL3 4.0bpwcontexto 500,000 · profundidade 0 · lote 1Rarri · 23 de set. de 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.0bpwcontexto 2K · profundidade 0 · lote 1Rarri · 30 de set. de 2026
- 97.8tok/svllm · v0.1.dev20051+g487ecf187 · EXL3 4.0bpwcontexto 500,000 · profundidade 0 · lote 8Rarri · 23 de set. de 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.0bpwcontexto 2K · profundidade 0 · lote 1Rarri · 30 de set. de 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.0bpwcontexto 2K · profundidade 0 · lote 1Rarri · 30 de set. de 2026
- 78.2tok/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.0bpwcontexto 2K · profundidade 0 · lote 8Rarri · 30 de set. de 2026
