Test di velocità
Hy4-flash-GGUF
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · llama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M
Decodifica
81.4tok/s
Prefill
1.1ktok/s
Tempo al primo token
211ms
Totale
98.7tok/s
VRAM di picco
—
Lunghezza del contesto
64K
Profondità KV
0
Dimensione batch
1
Concorrenza
1
Consumo energetico
—
Verifica
Esecuzione verificataComando di avvio
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"}' 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
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- Conteggio
- 2
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
Motore
- Motore
- llama.cpp
- Versione
- 2cbca389f + hy4-flash-spark.patch
- Commit
- 2cbca389f
- Quant
- Q4_K_M
- Backend
- cuda
- TP
- 2
- GPU layers
- 999
- Max running seqs
- 1
- Flash Attn
- sì
Configurazione run
- Contesto
- 65.536 token
- Profondità
- 0 token
- Dimensione batch
- 1
- Token prompt
- 232
- Prefill tok/s
- 1,098.6 tok/s
- Token output
- 1001
- Revisione
- e018c8840ac12d367365c9c18b8368e980841a59
- Note
- 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). No vendor fusion switches. no speculative decoding. 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).
Evidenze acquisite
- Hash del prompt (SHA-256)
- a737db738bd4…
Esempio di prompt · 826 chars
[LocalMaxxing cache-bust nonce: 5adb59e83214c47d4b77f1314d5bcbd1] 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 · 4,000 chars
```python
#!/usr/bin/env python3
"""logtally - tally JSON log records from stdin by service and level."""
import argparse
import json
import sys
from collections import defaultdict
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] + (sorted_values[hi] - sorted_values[lo]) * frac
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--since", metavar="ISO_TIMESTAMP",
help="drop records with ts earlier than this")
args = parser.parse_args()
since = None
if args.since is not None:
try:
since = parse_ts(args.since)
except ValueError as exc:
parser.error(f"invalid --since timestamp: {exc}")
counts = defaultdict(lambda: defaultdict(int))
latencies = defaultdict(list)
malformed = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
rec = json.loads(line)
if not isinstance(rec, dict):
raise ValueError("record is not an object")
ts = parse_ts(rec["ts"])
level = rec["level"]
service = rec["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")
if since is not None and ts < since:
continue
except (ValueError, KeyError, TypeError, json.JSONDecodeError):
malformed += 1
continue
counts[service][level] += 1
if "latency_ms" in rec and rec["latency_ms"] is not None:
try:
latencies[service].append(float(rec["latency_ms"]))
except (TypeError, ValueError):
# A bad latency value makes this record malformed; roll back
# the level count we just incremented.
counts[service][level] -= 1
malformed += 1
for service in sorted(counts):
parts = [f"service={service}"]
parts.extend(f"{level}={counts[service][level]}" for level in LEVELS)
vals = sorted(latencies[service])
p50 = percentile(vals, 0.50)
p95 = percentile(vals, 0.95)
parts.append(f"p50={'-' if p50 is None else f'{p50:.3f}'}")
parts.append(f"p95={'-' if p95 is None else f'{p95:.3f}'}")
print(" ".join(parts))
print(f"malformed={malformed}")
if __name__ == "__main__":
main()
```
I used linear interpolation between the two nearest ranks (`q * (n - 1)`), the same method as NumPy’s default percentile, because it gives stable, well-defined results for small samples and avoids the ambiguity of picking a single “nearest” element. Sorting once per service keeps it O(n log n) with no dependencies beyond the standard library.
Edge cases a unit test suite should cover:
- Empty input (including blank lines only) → no service rows, `malformed=0`.
- Malformed records mixed with valid ones (bad JSON, missing `ts`, unknown level, non-numeric `latency_ms`) → counted in `malformed` without crashing.
- `--since` filtering with mixed timezone offsets and `Z`-suffixed timestamps, including a rAltri run di questo modello su questo hardware
- 148tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 145tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 145tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 145tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 140tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 122tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 120tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 108tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 108tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
- 94.2tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_MContesto 64K · profondità 0 · batch 1Esecuzione verificatapuretensor · 18 nov 2026
