速度测试
GLM-5.3-Flash-NVFP4
GB10 Grace Blackwell 512GB · vllm · NVFP4 (ModelOpt)
解码
94.7tok/s
预填充
738tok/s
首个 token 延迟
301ms
总计
131tok/s
峰值 VRAM
—
上下文长度
512K
KV 深度
0
批大小
1
并发数
1
功耗
—
验证
已验证运行启动命令
vllm serve nvidia/GLM-5.3-Flash-NVFP4 --served-model-name glm53 --tensor-parallel-size 4 --distributed-executor-backend ray --load-format auto --safetensors-load-strategy eager --gpu-memory-utilization 0.80 --max-model-len 524288 --kv-cache-dtype fp8_e4m3 --block-size 2304 --kv-cache-memory 19327352832 --trust-remote-code --enable-prefix-caching --max-num-batched-tokens 16384 --max-num-seqs 16 --long-prefill-token-threshold 2304 --moe-backend flashinfer_cutlass --max-cudagraph-capture-size 128 --limit-mm-per-prompt {"image":16,"video":0} --chat-template /usr/local/share/glm53-chat-template.jinja --tool-parser-plugin /usr/local/share/glm47_failclosed.py --enable-auto-tool-choice --tool-call-parser glm47_failclosed --sparse-indexer-topk-backend per_row --reasoning-parser glm45 --speculative-config {"method":"dflash","model":"incoai/GLM-5.3-Flash-DFlash2","num_speculative_tokens":7} --host 0.0.0.0 --port 8002 --scheduler-cls vllm.v1.core.sched.adaptive_k.AdaptiveKScheduler --speculative-config {"method":"dflash","model":"incoai/GLM-5.3-Flash-DFlash2","num_speculative_tokens":7,"attention_backend":"TRITON_ATTN","num_speculative_tokens_per_batch_size":[[1,1,7],[2,2,5],[3,3,4],[4,4,3],[5,5,2],[6,32,7]]}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.
模型
- 芯片
- GB10 Grace Blackwell
- 内存
- 512 GB
- OS
- Ubuntu 24.04.5 LTS
引擎
- 引擎
- vllm
- 量化
- NVFP4 (ModelOpt)
- TP
- 4
- KV 缓存
- fp8_e4m3
- GPU mem util
- 0.8
- 前缀缓存
- 是
- 预填块
- 16384
- 最大运行序列数
- 16
- Spec decode
- 已启用
运行配置
- 上下文
- 524,288 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 223
- 预填 tok/s
- 738.4 tok/s
- 输出 token
- 512
- 修订版本
- 423acf37583782c51c142d145aef733d72943d93
- 备注
- 4x GB10 (DGX Spark-class: MSI EdgeXpert + NVIDIA FE + 2x Acer GN100), vLLM nightly ddd6fbca tensor-parallel 4 over 200G RoCE through a MikroTik CRS812 switch (both CX7 PCIe roots). Recipe: mmastrac/glm-5.3-flash-4x-gx10 (security-hardened fork: authenticated control plane, API key on every route) with all experimental overrides: RDMA all-reduce for small messages (arx), NVFP4/FP8 dense projections + FP8 lm_head, megamoe NVFP4 decode MoE kernel (<=8 tokens), fused NVFP4 prefill MoE, sequence-parallel prefill with RDMA reduce-scatter, adaptive-k scheduler with online step-cost model, RecoverSSM, Triton sparse MLA, drafter KV in its own pool. nvidia/GLM-5.3-Flash-NVFP4 @423acf37; DFlash2 incoai/GLM-5.3-Flash-DFlash2, up to 7 draft tokens (the second --speculative-config, from the adaptive-k override, is the effective one). fp8 KV, 512K context (18 GiB KV pin), max-num-seqs 16, GPU memory utilization 0.80 (the nodes run other services). Client on a worker node over the fabric through a loopback proxy that adds the API key. Thinking OFF via chat_template_kwargs.enable_thinking=false (loopback proxy; lmx has no switch); the model has no true non-thinking mode, so this renders Reasoning Effort Low. 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.
推测解码
- 方法
- DFlash2
- 每步接受数
- 4.43 个 token
- 接受率
- 62%
- 草稿 token
- 643
- 已接受 token
- 398
已记录的证据
- 提示词哈希(SHA-256)
- a737db738bd4…
提示词样本 · 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.
输出样本 · 2,262 chars
Write the tool. Percentiles: nearest-rank or interpolation. Keep it simple.```python
#!/usr/bin/env python3
"""logtally: aggregate NDJSON log records from stdin."""
import argparse
import json
import sys
from collections import defaultdict
from datetime import datetime
from statistics import quantiles
VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}
def parse_ts(value):
"""Parse an ISO-8601 timestamp; return None on failure."""
if not isinstance(value, str):
return None
try:
# Handle trailing 'Z' (Python < 3.11 doesn't accept it in fromisoformat)
return datetime.fromisoformat(value.replace("Z", "+00:00"))
except ValueError:
return None
def main():
parser = argparse.ArgumentParser(prog="logtally")
parser.add_argument("--since", type=str, default=None,
help="drop records with ts earlier than this ISO timestamp")
args = parser.parse_args()
since = None
if args.since is not None:
since = parse_ts(args.since)
if since is None:
print(f"logtally: invalid --since timestamp: {args.since!r}",
file=sys.stderr)
return 2
# services[level] -> count; latencies[service] -> list of latency_ms
counts = defaultdict(lambda: defaultdict(int))
latencies = defaultdict(list)
malformed = 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
level = rec.get("level")
service = rec.get("service")
ts = parse_ts(rec.get("ts"))
if level not in VALID_LEVELS or not isinstance(service, str) or ts is None:
malformed += 1
continue
if since is not None and ts < since:
continue
counts[service][level] += 1
lat = rec.get("latency_ms")
if isinstance(lat, (int, float)) and not isinstance(lat, bool):
latencies[service].append(float(lat))
# Output
for service in sorted(counts):
print(f"service={service该模型在此硬件上的更多运行
- 183tok/svllm · NVFP4 (ModelOpt)上下文 512K · 深度 0 · 批大小 8Rarri · 2026年9月29日
- 177tok/svllm · NVFP4 (ModelOpt)上下文 512K · 深度 0 · 批大小 8Rarri · 2026年9月29日
- 98.5tok/svllm · NVFP4 (ModelOpt)上下文 512K · 深度 0 · 批大小 1已验证运行Rarri · 2026年9月29日
- 82.4tok/svllm · NVFP4 (ModelOpt)上下文 512K · 深度 0 · 批大小 1Rarri · 2026年9月29日
- 74.3tok/svllm · NVFP4 (ModelOpt)上下文 512K · 深度 0 · 批大小 1Rarri · 2026年9月29日
- 38.9tok/svllm · NVFP4上下文 512K · 深度 0 · 批大小 1Defilan · 2026年10月10日
- 37.2tok/svllm · NVFP4上下文 512K · 深度 0 · 批大小 1Defilan · 2026年10月10日
