Uji kecepatan
Hy4-flash-GGUF
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · llama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M
Decode
148tok/s
Prefill
1.0ktok/s
Waktu ke token pertama
230ms
Total
176tok/s
VRAM puncak
—
Panjang konteks
64K
Kedalaman KV
0
Ukuran batch
1
Konkurensi
1
Konsumsi daya
—
Verifikasi
Run terverifikasiLuncurkan perintah
GGML_SCHED_BATCH_HOST_INPUTS=0 GGML_CUDA_FUSE_HC_GATE=1 GGML_CUDA_FUSE_HC_CONSUMER=1 GGML_CUDA_REUSE_Q8=1 GGML_CUDA_CPY_F32_VEC=1 GGML_CUDA_MOE_CONCURRENT=1 GGML_CUDA_FA_576_WHOLE_TILES=0 llama-server --model Hy4-flash-Q4_K_M-00001-of-00002.gguf --ctx-size 65536 --parallel 1 --n-gpu-layers 999 --split-mode layer --tensor-split 3,7 --flash-attn on --jinja --chat-template-kwargs '{"reasoning_effort":"no_think"}' --spec-type draft-mtp --spec-draft-n-max 3 --threads 4 --threads-batch 4Theoretical 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
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- Menghitung
- 2
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
Engine
- Engine
- llama.cpp
- Versi
- 2cbca389f + hy4-flash-spark.patch
- Commit
- 2cbca389f
- Quant
- Q4_K_M
- Bagian belakang
- cuda
- TP
- 2
- GPU layers
- 999
- Seq run maksimal
- 1
- Flash Attn
- ya
- Dekode spesifikasi
- aktif
- MTP
- aktif
Jalankan konfigurasi
- Konteks
- Token 65.536
- Kedalaman
- Token 0
- Ukuran kumpulan
- 1
- Token yang cepat
- 233
- Isi awal tok/s
- 1,015.3 tok/s
- Token keluaran
- 1037
- Revisi
- e018c8840ac12d367365c9c18b8368e980841a59
- Catatan
- PureTensor lab, fox-n0: two RTX PRO 6000 Blackwell Workstation Edition cards (600 W limit; this run drew about 185 W and 300-350 W, so it is not GPU-bound), Threadripper 7970X, 256 GB DDR5. Tencent Hy4-flash (220B total, 12B active) as AngelSlim's Q4_K_M GGUF, llama.cpp at 2cbca389f plus AngelSlim's hy4-flash-spark.patch (architecture, CUDA fusion, MTP), built for sm_120 with CUDA 13.2. Layer split 30/70 across the two cards (no NVLink); the n-gram embedding table stays in host RAM (mmap). Vendor CUDA fusion switches on. MTP drafting with the model's built-in drafter (--spec-type draft-mtp, up to 3 draft tokens per step); draft counters are llama-server's own per-request figures. GPU0 is shared with other idle services. CPU in a performance window (performance governor, C2 off). Thinking off (reasoning_effort no_think). Day-of-release run, 2026-11-18. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 319 verify steps, 3.25 tokens/step, 21.9 ms/step.
Decoding spekulatif
- Metode
- MTP
- Diterima per langkah
- 3,25 token
- Tingkat penerimaan
- 75%
- Token draf
- 957
- Token diterima
- 717
Bukti terekam
- Hash prompt (SHA-256)
- a737db738bd4…
Sampel prompt · 826 chars
[LocalMaxxing cache-bust nonce: a7ee1b902d8439b26d98f7e64cd0f0cb] 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.
Sampel output · 4,000 chars
```python
#!/usr/bin/env python3
"""logtally - tally JSON log records from stdin by service and level."""
import argparse
import bisect
import json
import sys
from datetime import datetime
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
def parse_ts(value):
"""Parse an ISO-8601 timestamp, accepting a trailing Z."""
if not isinstance(value, str):
raise ValueError("ts is not a string")
if value.endswith("Z"):
value = value[:-1] + "+00:00"
dt = datetime.fromisoformat(value)
if dt.tzinfo is None:
dt = dt.replace(tzinfo=datetime.timezone.utc)
return dt
def percentile(sorted_values, q):
"""Linear-interpolation percentile on a sorted list (q in [0, 1])."""
if not sorted_values:
return None
if len(sorted_values) == 1:
return sorted_values[0]
pos = q * (len(sorted_values) - 1)
lo = int(pos)
hi = min(lo + 1, len(sorted_values) - 1)
frac = pos - lo
return sorted_values[lo] * (1 - frac) + sorted_values[hi] * frac
def main(argv=None):
parser = argparse.ArgumentParser(
prog="logtally",
description="Tally newline-delimited JSON log records from stdin.",
)
parser.add_argument(
"--since",
metavar="ISO_TIMESTAMP",
help="drop records with ts earlier than this timestamp",
)
args = parser.parse_args(argv)
try:
since = parse_ts(args.since) if args.since is not None else None
except ValueError as exc:
parser.error(f"invalid --since timestamp: {exc}")
services = {}
malformed = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
record = json.loads(line)
if not isinstance(record, dict):
raise ValueError("record is not an object")
ts = parse_ts(record["ts"])
level = record["level"]
service = record["service"]
if level not in LEVELS:
raise ValueError(f"unknown level: {level!r}")
if not isinstance(service, str):
raise ValueError("service is not a string")
latency = record.get("latency_ms")
if latency is not None and (
isinstance(latency, bool) or not isinstance(latency, (int, float))
):
raise ValueError("latency_ms is not a number")
if since is not None and ts < since:
continue
entry = services.setdefault(
service,
{"counts": {lvl: 0 for lvl in LEVELS}, "latencies": []},
)
entry["counts"][level] += 1
if latency is not None:
bisect.insort(entry["latencies"], latency)
except (ValueError, TypeError, KeyError, json.JSONDecodeError):
malformed += 1
for service in sorted(services):
entry = services[service]
counts = entry["counts"]
latencies = entry["latencies"]
p50 = percentile(latencies, 0.50)
p95 = percentile(latencies, 0.95)
print(f"service: {service}")
for level in LEVELS:
print(f" {level}: {counts[level]}")
print(f" p50_latency_ms: {'-' if p50 is None else f'{p50:g}'}")
print(f" p95_latency_ms: {'-' if p95 is None else f'{p95:g}'}")
print(f"malformed: {malformed}")
return 0
if __name__ == "__main__":
sys.exit(main())
```
I kept each service’s latencies in a sorted list via `bisect.insort`, then computed p50/p95 with linear interpolation between the two neighboring ranks (`q * (n - 1)`), which is the same method used by NumPy’s default percentile. That method is deterministic, needs no external dependencies, and avoids the ambiguity of “nearest rank” while still being simple enough for a small CLI.
Edge cases a unit test suite should cover:
- Blank lines, invalid JSON, missing fields, and unknown levels all increment `malformed` without aborting the run.Run lain dari model ini di hardware ini
- 145tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 145tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 145tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 140tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 122tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 120tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 108tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 108tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 94.2tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
- 87.9tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MKonteks 64K · kedalaman 0 · batch 1Run terverifikasipuretensor · 18 Nov 2026
