Tests de vitesseModèlesÉvaluations comparativesLocationsRapportsMatérielCalculateur de décodageOrganisationsProDocs APIEnvoyer
Langue
Actual Computer — Every computer, one endpoint

Test de vitesse

GLM-5.3-Flash-FP4-Local

RTX 3090 24GB ×8 · vllm · v0.28.1rc1.dev125+g85872952a.glm53sm86 · NVFP4

svbmrgdVérifié19 oct. 2026Exécution vérifiée

Décodage

81.1tok/s

Prefill

860tok/s

Délai jusqu'au premier token

252ms

Total

97.4tok/s

VRAM max

187,1Go

Longueur de contexte

180K

Profondeur KV

0

Taille de lot

1

Concurrence

1

Consommation

1 941W

Vérification

Exécution vérifiée

Commande de lancement

CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 CUDA_DEVICE_MAX_CONNECTIONS=1 VLLM_USE_BREAKABLE_CUDAGRAPH=1 VLLM_USE_DEEP_GEMM=0 VLLM_USE_FLASHINFER_SAMPLER=0 PYTORCH_CUDA_ALLOC_CONF=backend:native,expandable_segments:False,garbage_collection_threshold:0.8 GLM_TRITON_BENCH_CACHE_MIB=16 OMP_NUM_THREADS=1 MAX_JOBS=1 NVCC_THREADS=1 TORCHINDUCTOR_COMPILE_THREADS=1 NCCL_P2P_DISABLE=1 NCCL_IB_DISABLE=1 NCCL_SOCKET_IFNAME=lo VLLM_SPARSE_INDEXER_MAX_LOGITS_MB=64 python -m vllm.entrypoints.cli.main serve "${MODEL_DIR}" --served-model-name glm53-nvidia-nvfp4-sm86 --host 127.0.0.1 --port 18084 --tensor-parallel-size 8 --pipeline-parallel-size 1 --distributed-executor-backend mp --enable-expert-parallel --enable-ep-weight-filter --all2all-backend allgather_reducescatter --disable-custom-all-reduce --language-model-only --load-format safetensors --safetensors-load-strategy lazy --max-parallel-loading-workers 1 --attention-backend TRITON_MLA_SPARSE --dtype bfloat16 --kv-cache-dtype fp8 --max-model-len 184320 --max-num-seqs 1 --max-num-batched-tokens 128 --enable-chunked-prefill --block-size 128 --kv-cache-memory-bytes 1178599424 --gpu-memory-utilization 0.98 --kernel-config '{"moe_backend":"marlin","enable_flashinfer_autotune":false}' --compilation-config '{"mode":"NONE","cudagraph_mode":"PIECEWISE","cudagraph_capture_sizes":[1],"max_cudagraph_capture_size":1}' --enable-auto-tool-choice --tool-call-parser glm47 --reasoning-parser glm47

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.

Matériel

GPU
RTX 3090
Nombre
8
VRAM
24 GB
OS
Ubuntu 24.04.2 LTS

Moteur

Moteur
vllm
Version
0.28.1rc1.dev125+g85872952a.glm53sm86
Build
Local CSF/NVFP4-SM86 Python patches; native extensions g85872952a
Commit
65e4dab6bb12fe6784bc25cd78c79e8a8257e5b0
Quant
NVFP4
Backend
cuda
TP
8
KV cache
fp8
GPU mem util
0.98
Prefix caching
oui
Chunked prefill
oui
Chunk prefill
128
Max running seqs
1
Attn
TRITON_MLA_SPARSE

Configuration du run

Contexte
184 320 tokens
Profondeur
0 tokens
Taille de batch
1
Tokens de prompt
217
Prefill tok/s
859.8 tok/s
Consommation électrique
1,941 W (242 + 249 + 230 + 246 + 239 + 237 + 249 + 249 W)
Tokens de sortie
963
Révision
76348ddb2be2e35e39ecfc00e75dc07703f4f3d5
Notes
Canonical code-v1; median-throughput real run from 5 sequential measurements after 2 warmups. Range 81.063-81.275 tok/s; CV 0.097%. Temperature 0, top_p 1, reasoning_effort low; EOS respected, max_output 1024. Unique cache-bust first line. 184320-token window CONFIGURED, not a full-window prefill test. Stock pinned NVIDIA mixed NVFP4/FP8 checkpoint unchanged; lossless CSF scale decoding and SM86 Marlin repacking at load. Requires local uncommitted vLLM adapter, not stock upstream. TP8/EP8/PP1, BF16 compute, FP8 KV, 1124 MiB KV/rank, breakable PIECEWISE graphs size 1, compile mode NONE. No speculative decoding/MTP or permanent CPU weight offload. Client tokSOut=(completion_tokens-1)/(stream-finish minus first text/reasoning token); TTFT starts before HTTP open. tokSPrefill is input/client-TTFT (includes overhead); tokSTotal=(input+output)/wall. Usage, hashes and samples all belong to the selected real run. Power is mean per-GPU decode draw, NOT whole-system wall power. Peak VRAM is aggregate NVML MiB/1024 across the campaign; RAM field is OS-visible GiB. GPU caps 250 W each. Server RAM hard cap 20 GiB, swap zero. Native extensions from g85872952a; Python baseline 65e4dab6bb12fe6784bc25cd78c79e8a8257e5b0. Quality parity, full-180K generation and long-duration soak not assessed.

Preuves capturées

Empreinte du prompt (SHA-256)
a737db738bd4…
Extrait du prompt · 818 chars
[LocalMaxxing cache-bust nonce: 5f2cd250a51f13fa700e421e]
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.
Extrait de sortie · 3,791 chars
Write the tool. Percentiles: nearest-rank on sorted list.```python
#!/usr/bin/env python3
"""logtally: tally NDJSON log records from stdin."""

import argparse
import json
import sys
from datetime import datetime, timezone
from collections import defaultdict

VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}


def parse_ts(s):
    """Parse an ISO-8601 timestamp; return an aware datetime or None."""
    if not isinstance(s, str):
        return None
    try:
        dt = datetime.fromisoformat(s.replace("Z", "+00:00"))
    except ValueError:
        return None
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt


def percentile(sorted_vals, p):
    """Nearest-rank percentile on a pre-sorted list."""
    if not sorted_vals:
        return None
    n = len(sorted_vals)
    rank = max(1, -(-n * p // 100))  # ceil(n * p / 100), min 1
    return sorted_vals[rank - 1]


def main():
    ap = argparse.ArgumentParser(prog="logtally")
    ap.add_argument("--since", help="drop records with ts earlier than this ISO timestamp")
    args = ap.parse_args()

    since = parse_ts(args.since) if args.since else None
    if args.since and since is None:
        print(f"logtally: invalid --since timestamp: {args.since}", file=sys.stderr)
        return 2

    # stats[service] = {"levels": {level: count}, "latencies": [floats]}
    stats = defaultdict(lambda: {"levels": defaultdict(int), "latencies": []})
    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")
        if level not in VALID_LEVELS or not isinstance(service, str) or not service:
            malformed += 1
            continue
        ts = parse_ts(rec.get("ts"))
        if ts is None:
            malformed += 1
            continue
        if since is not None and ts < since:
            continue

        s = stats[service]
        s["levels"][level] += 1
        lat = rec.get("latency_ms")
        if isinstance(lat, (int, float)) and not isinstance(lat, bool):
            s["latencies"].append(float(lat))

    for service in sorted(stats):
        s = stats[service]
        lats = sorted(s["latencies"])
        p50 = percentile(lats, 50)
        p95 = percentile(lats, 95)
        counts = ", ".join(f"{lvl}={s['levels'].get(lvl, 0)}" for lvl in ("DEBUG", "INFO", "WARN", "ERROR"))
        print(f"service={service} {counts} n_latency={len(lats)} p50={p50} p95={p95}")

    if malformed:
        print(f"malformed lines: {malformed}", file=sys.stderr)
    return 0


if __name__ == "__main__":
    sys.exit(main())
```

**Percentile method:** I sort all latency values per service and use the nearest-rank definition — the p-th percentile is the value at rank ⌈n·p/100⌉ (clamped to at least 1). I chose it because it's simple, deterministic, requires no interpolation, and always returns an actual observed value, which is usually what you want for latency reporting.

**Edge cases a test suite should cover:**
1. A line that is valid JSON but not an object (e.g., `"42"` or `null`), or missing/invalid `ts`, `level`, or `service` — must be counted as malformed, not crash.
2. `latency_ms` present but of the wrong type (string, boolean, null) — must be ignored for percentiles while the record still counts toward level tallies.
3. `--since` boundary behavior: a record with `ts` exactly equal to the `--since` value should be included, and naive (timezone-less) timestamps mixed with `Z`-suffixed ones must compare correctly.

Autres runs de ce modèle sur ce matériel