速度测试模型基准评测租用报告硬件解码计算器组织ProAPI文档提交
语言
Actual Computer — Every computer, one endpoint

速度测试

Qwen4-35B-A3B-GGUF

RTX 3060 12GB ×3 · strata · q4_lite PR tree 22a9714 (Strata PR #7774), served via terminal/serve/server.py · UD-IQ4_XS

369sasasavic-dotcom已验证2026年12月4日已验证运行

解码

106tok/s

预填充

369tok/s

首个 token 延迟

683ms

总计

109tok/s

峰值 VRAM

9.4GB

上下文长度

256K

KV 深度

0

批大小

1

并发数

1

功耗

241W

验证

已验证运行

启动命令

python3 serve/server.py --engine strata --port 8098 --host 0.0.0.0 --config q4lite-8098.json  # strata q4_lite tree @22a9714 (Strata PR #7774 port of qwen4exp 35B-A3B); engine args: --pack pack-trunk40-iq4xs --native trunk40-iq4xs.gguf --ple-gguf Qwen4-35B-A3B-UD-IQ4_XS-00002-of-00002.gguf --expert-cache auto --prefill 4096 --max-context 262144 --kv q4_0 --spec 4 --mtp MTP/rt --vram-reserve-mib 512 --gpu 0,1,2 --serve --layer-split 12,26 --split-device 1,2

Theoretical memory ceiling

446.8–447.6 tok/s

360 GB/s memory bandwidth (spec sheet) · 32.06 GB model weights · 4.5-bit KV cache · 1–252 tokens of context

Includes speculative decoding: 2.50 tokens accepted per model step on average (178.6–178.9 steps/s) · measured 42.4 steps/s

24–24%

of the ceiling reached

Medium confidence

The fastest this hardware's memory could serve a single request; real runs are slower. Model details from Qwen/Qwen4-35B-A3B; size from UD-IQ4_XS estimate. Hardware source · Open calculator

模型

GPU
RTX 3060
数量
3
VRAM
12 GB
OS
Ubuntu 24.04

引擎

引擎
strata
版本
q4_lite PR tree 22a9714 (Strata PR #7774), served via terminal/serve/server.py
Build
linux-x86_64-cuda12-sm86
量化
UD-IQ4_XS
后端
cuda
TP
1
KV 缓存
q4_0
Spec decode
已启用
MTP
已启用

运行配置

上下文
262,144 个 token
深度
0 个 token
批量大小
1
提示词 token
252
预填 tok/s
368.8 tok/s
功耗
241 W (71 + 61 + 109 W)
输出 token
6842
备注
3x RTX 3060 12GB (36 GB VRAM), layer split 12/14/14; tensor parallel 1, so no all-reduce. qwen4exp 35B-A3B: 40 trunk layers + 1 MTP block, 256 experts top-8 (+1 shared), ~3.8B active per token. UD-IQ4_XS of unsloth/Qwen4-35B-A3B-GGUF; the 2-file layout keeps the ~11.5 GB engram (file 2) in page cache via lazy tensor reads, not VRAM. 262144 context with q4_0 KV. Strata cannot run the shipped 0.2.19 CLI on this pack (it rejects the 'qwen4' tokenizer rule), so serving is the PR tree's own terminal/serve/server.py. MTP drafter on; draft and accepted counts reported so the decode ceiling can be scaled by mean accepted length.

推测解码

方法
MTP drafter (runtime sidecar), --spec 4
每步接受数
2.5 个 token
接受率
72%
草稿 token
5,724
已接受 token
4,107

已记录的证据

提示词哈希(SHA-256)
a737db738bd4…
提示词样本 · 760 chars
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
## `logtally`

```python
#!/usr/bin/env python3
"""logtally — summarize newline-delimited JSON log records read from stdin.

Each input line must be a JSON object with:
    ts          ISO-8601 timestamp string (required)
    level       DEBUG | INFO | WARN | ERROR (required, case-insensitive)
    service     non-empty string (required)
    latency_ms  non-negative finite number (optional)

Usage:
    cat app.log | logtally
    logtally --since 2024-05-01T00:00:00Z < app.log
"""

from __future__ import annotations

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

LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
REQUIRED_FIELDS = ("ts", "level", "service")
MAX_REASON_LEN = 72


class MalformedRecord(ValueError):
    """A line could not be interpreted as a log record."""


# --------------------------------------------------------------------------
# parsing / validation
# --------------------------------------------------------------------------

def parse_timestamp(value):
    """Parse an ISO-8601 string into an aware UTC datetime.

    Naive timestamps are assumed to be UTC. A trailing 'Z' is accepted even on
    Python < 3.11, where datetime.fromisoformat() rejects it.
    """
    if not isinstance(value, str):
        raise MalformedRecord("ts is not a string")
    text = value.strip()
    if not text:
        raise MalformedRecord("ts is empty")
    if text[-1] in ("Z", "z"):
        text = text[:-1] + "+00:00"
    try:
        dt = datetime.fromisoformat(text)
    except ValueError as exc:
        raise MalformedRecord(f"unparseable ts: {value!r}") from exc
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt.astimezone(timezone.utc)


def parse_record(line):
    """Validate one line. Returns (service, level, ts, latency_or_None)."""
    try:
        obj = json.loads(line)
    except json.JSONDecodeError as exc:
        raise MalformedRecord(f"invalid JSON: {exc.msg}") from exc
    except RecursionError as exc:  # pathological nesting
        raise MalformedRecord("invalid JSON: nesting too deep") from exc

    if not isinstance(obj, dict):
        raise MalformedRecord("record is not a JSON object")

    for field in REQUIRED_FIELDS:
        if field not in obj:
            raise MalformedRecord(f"missing field {field!r}")

    level = obj["level"]
    if not isinstance(level, str) or level.strip().upper() not in LEVELS:
        raise MalformedRecord(f"unknown level: {level!r}")

    service = obj["service"]
    if not isinstance(service, str) or not service.strip():
        raise MalformedRecord("service must be a non-empty string")

    ts = parse_timestamp(obj["ts"])

    latency = None
    if "latency_ms" in obj and obj["latency_ms"] is not None:
        raw = obj["latency_ms"]
        # bool is a subclass of int; True is not a latency.
        if isinstance(raw, bool) or not isinstance(raw, (int, float)):
            raise MalformedRecord("latency_ms is not a number")
        if not math.isfinite(raw):
            raise MalformedRecord("latency_ms is not finite")
        if raw < 0:
            raise MalformedRecord("latency_ms is negative")
        latency = float(raw)

    return service.strip(), level.strip().upper(), ts, latency


# --------------------------------------------------------------------------
# aggregation
# --------------------------------------------------------------------------

class ServiceStats:
    __slots__ = ("counts", "latencies")

    def __init__(self):
        self.counts = Counter({level: 0 for level in LEVELS})
        self.latencies = []  # exact samples; see note on memory in the write-up

    @property
    def total(self):
        return sum(self.counts.values())


def summarize(lines, since=None):
    """Consume an iterable of text lines; never raises on bad input.

    Returns (stats_by_service, malformed_reasons, lines_seen, dropped_by_since).
    """
    stats = 

该模型在此硬件上的更多运行