ทดสอบความเร็วโมเดลเบนช์มาร์กเช่ารายงานฮาร์ดแวร์เครื่องคำนวณ 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

82.4tok/s

Prefill

824tok/s

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

273ms

รวม

114tok/s

VRAM สูงสุด

—

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

512K

ความลึก KV

0

ขนาด batch

1

การทำงานพร้อมกัน

1

การใช้พลังงาน

—

การตรวจสอบ

ยังไม่ตรวจสอบ — ผลลัพธ์เชิงทดลอง

การรันที่ตรวจสอบแล้วใช้พรอมต์ทดสอบมาตรฐานและบันทึกข้อมูลเพียงพอสำหรับตรวจสอบผลลัพธ์

  • The speculative decoding stats add up to 446 generated tokens, but the run reports 512.

คำสั่งเริ่มรัน

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
823.9 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. Template default (no kwargs) = Reasoning Effort Max, so the measured output tokens are reasoning text. 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. Adaptive-k note: the scheduler proposed 4.07 draft tokens per verify step on average (not a fixed 7), so accepted + drafted/7 = 446 understates the 512 output tokens. Engine counters per request: 355.2 accepted + 156.4 verify steps = 512 tokens.

Speculative decoding

วิธี
DFlash2
ที่ยอมรับต่อขั้น
3.27 โทเค็น
อัตราการยอมรับ
56%
โทเค็นร่าง
637
โทเค็นที่ยอมรับ
355

หลักฐานที่บันทึกไว้

แฮชพรอมป์ต์ (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,190 chars
The user wants a small CLI tool called `logtally` in Python, standard library only. Let me think through the requirements carefully:

1. Reads newline-delimited JSON from stdin.
2. Each record: `ts` (ISO-8601 string), `level` (DEBUG, INFO, WARN, ERROR), `service` (string), optional `latency_ms` (number).
3. Prints per service: count of records by level, and p50/p95 of latency_ms (ignoring records without latency).
4. Malformed lines counted and reported at end, never crash.
5. `--since <ISO timestamp>` flag drops earlier records.
6. Standard library only.

Then after the code: explain percentile computation in 2-3 sentences, and list three edge cases for unit tests.

Design decisions:

**Parsing**: Use `json.loads` per line. Wrap in try/except. Also validate that the parsed object is a dict with required fields of correct types. What counts as "malformed"? Lines that fail JSON parsing, or that are valid JSON but missing/invalid required fields (bad level, missing ts, missing service, non-numeric latency). I'll count all of those as malformed. Also skip blank lines — arguably blank lines should be ignored rather than counted as malformed; I'll ignore empty/whitespace-only lines (common in trailing newline situations). Actually, a trailing newline at end of input produces an empty final "line" when splitting — with `sys.stdin` iteration, a trailing newline doesn't produce an extra empty line, but to be safe I'll skip blank lines silently.

**Timestamps**: Use `datetime.fromisoformat` (Python 3.7+). Note: `fromisoformat` in older Pythons doesn't parse "Z" suffix; Python 3.11+ does. To be robust, I can replace trailing "Z" with "+00:00" before parsing. Comparing aware vs naive datetimes raises TypeError — I should handle that: if `--since` is naive and record ts is aware (or vice versa), that's a problem. Simplest robust approach: if one is naive, assume UTC. I'll normalize: if parsed datetime is naive, attach UTC. Actually careful: assuming UTC for naive timestamps is a policy choice; I'll document it. Alternatively, treat comparison failures as malformed record. I think normalizing naive → UTC is cleaner and I'll note it in a comment.

If `--since` value

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