ทดสอบความเร็วโมเดลเบนช์มาร์กเช่ารายงานฮาร์ดแวร์เครื่องคำนวณ decodeองค์กรProเอกสาร APIส่ง
ภาษา
Actual Computer — Every computer, one endpoint

ทดสอบความเร็ว

GLM-5.3-Flash-NVFP4

GB10 Grace Blackwell 512GB · vllm · NVFP4 (ModelOpt)

Rarriยืนยันแล้ว29 ก.ย. 2569การรันที่ตรวจสอบแล้ว

Decode

94.7tok/s

Prefill

738tok/s

เวลาถึงโทเค็นแรก

301ms

รวม

131tok/s

VRAM สูงสุด

—

ความยาวบริบท

512K

ความลึก KV

0

ขนาด batch

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

Engine

Engine
vllm
Quant
NVFP4 (ModelOpt)
TP
4
KV cache
fp8_e4m3
GPU mem util
0.8
Prefix caching
ใช่
Prefill chunk
16384
Max running seqs
16
Spec decode
เปิดใช้งาน

Run config

Context
524,288 tokens
ความลึก
0 tokens
Batch size
1
Prompt tokens
223
Prefill tok/s
738.4 tok/s
Output tokens
512
Revision
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.

Speculative decoding

วิธี
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

Runs อื่นของโมเดลนี้บนฮาร์ดแวร์นี้