速度测试
Hy4-flash-GGUF
RTX PRO 6000 Blackwell Workstation Edition 96GB ×2 · llama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M
解码
145tok/s
预填充
968tok/s
首个 token 延迟
239ms
总计
171tok/s
峰值 VRAM
—
上下文长度
64K
KV 深度
0
批大小
1
并发数
1
功耗
—
验证
已验证运行启动命令
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 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.
模型
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- 数量
- 2
- VRAM
- 96 GB
- OS
- Ubuntu 24.04.5 LTS
引擎
- 引擎
- llama.cpp
- 版本
- 2cbca389f + hy4-flash-spark.patch
- Commit
- 2cbca389f
- 量化
- Q4_K_M
- 后端
- cuda
- TP
- 2
- GPU 层
- 999
- 最大运行序列数
- 1
- Flash Attn
- 是
- Spec decode
- 已启用
- MTP
- 已启用
运行配置
- 上下文
- 65,536 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 231
- 预填 tok/s
- 968.3 tok/s
- 输出 token
- 1062
- 修订版本
- e018c8840ac12d367365c9c18b8368e980841a59
- 备注
- 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 4 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). 274 verify steps, 3.87 tokens/step, 26.7 ms/step.
推测解码
- 方法
- MTP
- 每步接受数
- 3.87 个 token
- 接受率
- 72%
- 草稿 token
- 1,096
- 已接受 token
- 787
已记录的证据
- 提示词哈希(SHA-256)
- a737db738bd4…
提示词样本 · 826 chars
[LocalMaxxing cache-bust nonce: de9c157d51e0a2ccf85b42187af9d299] 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.
输出样本 · 4,000 chars
```python
#!/usr/bin/env python3
"""logtally - tally JSON log records from stdin by service and level."""
import argparse
import json
import math
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")
text = value.strip()
if text.endswith(("Z", "z")):
text = text[:-1] + "+00:00"
return datetime.fromisoformat(text)
def percentile(sorted_values, q):
"""Linear-interpolation percentile on a pre-sorted list (q in [0, 1])."""
if not sorted_values:
return None
if len(sorted_values) == 1:
return sorted_values[0]
pos = (len(sorted_values) - 1) * q
lo = math.floor(pos)
hi = math.ceil(pos)
if lo == hi:
return sorted_values[lo]
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="Ignore records with ts earlier than this timestamp.",
)
args = parser.parse_args(argv)
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: {level: 0 for level in LEVELS})
latencies = defaultdict(list)
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) or not service:
raise ValueError("service is not a non-empty string")
if since is not None and ts < since:
continue
counts[service][level] += 1
if "latency_ms" in record and record["latency_ms"] is not None:
latency = record["latency_ms"]
if isinstance(latency, bool) or not isinstance(latency, (int, float)):
raise ValueError("latency_ms is not a number")
if not math.isfinite(latency):
raise ValueError("latency_ms is not finite")
latencies[service].append(latency)
except (ValueError, TypeError, KeyError, json.JSONDecodeError):
malformed += 1
for service in sorted(counts):
c = counts[service]
values = sorted(latencies.get(service, []))
p50 = percentile(values, 0.50)
p95 = percentile(values, 0.95)
print(f"service: {service}")
for level in LEVELS:
print(f" {level:<5} {c[level]}")
print(f" p50 {'-' if p50 is None else f'{p50:.3f}'}")
print(f" p95 {'-' if p95 is None else f'{p95:.3f}'}")
print(f"malformed: {malformed}")
return 0
if __name__ == "__main__":
sys.exit(main())
```
I computed p50/p95 by sorting each service’s latency values and using linear interpolation between the two neighboring ranks at positions `(n-1)*q`, which is the same method used by NumPy’s default percentile. I chose it because it is deterministic, needs only the standard library, and behaves sensibly for small sample sizes instead of snapping to the nearest observation.
Edge cases a unit test suite should cover:
- Empty input and input containing only blank lines, producing zero counts and `malform该模型在此硬件上的更多运行
- 148tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 145tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 145tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 140tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 122tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 120tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 108tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 108tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 94.2tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
- 87.9tok/sllama.cpp · v2cbca389f + hy4-flash-spark.patch · Q4_K_M上下文 64K · 深度 0 · 批大小 1已验证运行puretensor · 2026年11月18日
