Test szybkości
GLM-5.3-Flash
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · llama.cpp · b10908 (PR #27754 @ d94f44e79 + local kpool can_reuse patch) · UD-IQ4_XS
Dekodowanie
103tok/s
Prefill
288tok/s
Czas do pierwszego tokenu
779ms
Łącznie
116tok/s
Szczytowe VRAM
—
Długość kontekstu
192K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
—
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
llama-server -m GLM-5.3-Flash-UD-IQ4_XS-00001-of-00005.gguf -md GLM-5.3-Flash-DFlash2-Q8_0.gguf --spec-type draft-dflash -ngld 999 --spec-draft-n-max 3 -ngl 999 -ts 51/49 -t 16 -fa on -c 196608 -np 4 -kvu -ctk q8_0 -ctv q8_0 --load-mode dio -b 4096 -ub 1024 --reasoning-effort low --reasoning-budget 24576
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.
Sprzęt
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- Liczba
- 2
- VRAM
- 96 GB
- OS
- Windows 11 Pro
Silnik
- Silnik
- llama.cpp
- Wersja
- b10908 (PR #27754 @ d94f44e79 + local kpool can_reuse patch)
- Build
- cuda-13.3 sm_86;120a, Windows
- Commit
- d94f44e79
- Quant
- UD-IQ4_XS
- Backend
- cuda
- Warstwy GPU
- 999
- KV cache
- q8_0
- Prefill chunk
- 1024
- Flash Attn
- tak
- Spec decode
- włączone
Konfiguracja uruchomienia
- Kontekst
- 196 608 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 224
- Prefill tok/s
- 287.7 tok/s
- Tokeny wyjściowe
- 1004
- Notatki
- Native Windows 11 llama-server (CUDA 13.3, built for sm_120a), 2x RTX PRO 6000 Workstation at stock 600 W, driver 616.92, layer split 51/49 (tensor split not supported for glm5next in llama.cpp). Server runs 4 slots; measured with 1 request. Reasoning effort low (server default). GPU 0 also drives the desktop and hosts small side models (embeddings/reranker). Draft: Anbeeld/GLM-5.3-Flash-DFlash2-GGUF Q8_0.
Dekodowanie spekulatywne
- Metoda
- DFlash2
- Akceptowane na krok
- 3,18 tokenów
- Współczynnik akceptacji
- 73%
- Tokeny szkicu
- 938
- Zaakceptowane tokeny
- 683
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: f69e2c823b603205e4f767c55997decc] 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.
Próbka odpowiedzi · 3,800 chars
Write the tool.```python
#!/usr/bin/env python3
"""logtally: tally NDJSON log records by service and level, with latency percentiles."""
import argparse
import json
import sys
from datetime import datetime, timezone
from math import ceil
VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}
def parse_ts(value):
"""Parse an ISO-8601 timestamp; return an aware datetime or None."""
if not isinstance(value, str):
return None
try:
dt = datetime.fromisoformat(value.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 of a pre-sorted list."""
if not sorted_vals:
return None
idx = max(0, ceil(p / 100 * len(sorted_vals)) - 1)
return sorted_vals[idx]
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!r}", file=sys.stderr)
return 2
# stats[service][level] -> count; latencies[service] -> list of floats
stats = {}
latencies = {}
malformed = 0
dropped_since = 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
ts = parse_ts(rec.get("ts"))
level = rec.get("level")
service = rec.get("service")
if ts is None or level not in VALID_LEVELS or not isinstance(service, str):
malformed += 1
continue
if since is not None and ts < since:
dropped_since += 1
continue
svc = stats.setdefault(service, {lv: 0 for lv in VALID_LEVELS})
svc[level] += 1
lat = rec.get("latency_ms")
if isinstance(lat, (int, float)) and not isinstance(lat, bool):
latencies.setdefault(service, []).append(float(lat))
for service in sorted(stats):
counts = stats[service]
print(f"service: {service}")
for lv in ("DEBUG", "INFO", "WARN", "ERROR"):
print(f" {lv}: {counts[lv]}")
lats = sorted(latencies.get(service, []))
if lats:
p50 = percentile(lats, 50)
p95 = percentile(lats, 95)
print(f" p50 latency_ms: {p50:g}")
print(f" p95 latency_ms: {p95:g}")
else:
print(" p50 latency_ms: n/a")
print(" p95 latency_ms: n/a")
print(f"malformed lines: {malformed}")
if since is not None:
print(f"dropped by --since: {dropped_since}")
return 0
if
…
exit(main())
```
**Percentile method:** I sort each service's latency list and use the nearest-rank definition — the value at index `ceil(p/100 · n) − 1` — which is simple, deterministic, requires no interpolation, and always returns an actual observed value, which is usually what you want for latency reporting. It's O(n log n) per service, fine for a CLI tool.
**Edge cases a test suite should cover:**
1. A line that is valid JSON but not an object (e.g., `"just a string"` or `[1,2]`), or missing/invalid `ts`, `level`, or `service` — must increment the malformed count, not crash.
2. Records with `latency_ms` absent, `null`, a string, or a boolean (booleans are ints in Python, so they must be explicitly excluded) — percentiles should ignore them and print `n/a` if none remain.
3. `--siWięcej przebiegów tego modelu na tym sprzęcie
- 137tok/svllm · v0.1.dev20111+g7f1e92bec.d20260827 · EXL3-3.5bpwkontekst 256K · głębokość 0 · partia 1Zweryfikowany przebiegRarri · 20 wrz 2026
- 80.0tok/sllama.cpp · b10908 (PR #27754 @ d94f44e79 + local kpool can_reuse patch) · UD-IQ4_XSkontekst 192K · głębokość 0 · partia 1Zweryfikowany przebiegmarcintrochimiak · 27 paź 2026
