Test di velocitàModelliValutazioni comparativeNoleggiReportHardwareCalcolatore di decodificaOrganizzazioniProDocumentazione APIInvia
Lingua
Actual Computer — Every computer, one endpoint

Test di velocità

GLM-5.3-Flash-NVFP4

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

RarriVerificato29 set 2026

Decodifica

82.4tok/s

Prefill

824tok/s

Tempo al primo token

273ms

Totale

114tok/s

VRAM di picco

—

Lunghezza del contesto

512K

Profondità KV

0

Dimensione batch

1

Concorrenza

1

Consumo energetico

—

Verifica

Non verificata — risultato sperimentale

Le esecuzioni verificate usano un prompt di test standard e registrano dati sufficienti per controllare il risultato.

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

Comando di avvio

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.

Hardware

Chip
GB10 Grace Blackwell
Memoria
512 GB
OS
Ubuntu 24.04.5 LTS

Motore

Motore
vllm
Quant
NVFP4 (ModelOpt)
TP
4
KV cache
fp8_e4m3
GPU mem util
0.8
Prefix caching
sì
Chunk prefill
16384
Max running seqs
16
Spec decode
abilitato

Configurazione run

Contesto
524.288 token
Profondità
0 token
Dimensione batch
1
Token prompt
223
Prefill tok/s
823.9 tok/s
Token output
512
Revisione
423acf37583782c51c142d145aef733d72943d93
Note
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.

Decodifica speculativa

Metodo
DFlash2
Accettati per passo
3,27 token
Tasso di accettazione
56%
Token di bozza
637
Token accettati
355

Evidenze acquisite

Hash del prompt (SHA-256)
a737db738bd4…
Esempio di 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.
Esempio di output · 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

Altri run di questo modello su questo hardware