速度テスト
GLM-5.3-Flash-NVFP4
GB10 Grace Blackwell 512GB · vllm · NVFP4 (ModelOpt)
デコード
94.7tok/s
プリフィル
738tok/s
最初のトークンまでの時間
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メモリ使用率
- 0.8
- プレフィックスキャッシュ
- はい
- プリフィルチャンク
- 16384
- 最大実行シーケンス数
- 16
- Spec decode
- 有効
実行設定
- コンテキスト
- 524,288 トークン
- 深度
- 0 トークン
- バッチサイズ
- 1
- プロンプトトークン
- 223
- プリフィル tok/s
- 738.4 tok/s
- 出力トークン
- 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 トークン
- 採択率
- 62%
- ドラフトトークン
- 643
- 採択トークン
- 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/09/29
- 177tok/svllm · NVFP4 (ModelOpt)コンテキスト 512K · 深度 0 · バッチ 8Rarri · 2026/09/29
- 98.5tok/svllm · NVFP4 (ModelOpt)コンテキスト 512K · 深度 0 · バッチ 1検証済みランRarri · 2026/09/29
- 82.4tok/svllm · NVFP4 (ModelOpt)コンテキスト 512K · 深度 0 · バッチ 1Rarri · 2026/09/29
- 74.3tok/svllm · NVFP4 (ModelOpt)コンテキスト 512K · 深度 0 · バッチ 1Rarri · 2026/09/29
- 38.9tok/svllm · NVFP4コンテキスト 512K · 深度 0 · バッチ 1Defilan · 2026/10/10
- 37.2tok/svllm · NVFP4コンテキスト 512K · 深度 0 · バッチ 1Defilan · 2026/10/10
