速度測試模型基準評測租用報告硬體解碼計算器組織ProAPI文件提交
語言
Actual Computer — Every computer, one endpoint

速度測試

Qwen4-35B-A3B

RTX 3090 24GB ×6 · vllm · vllm-qwen4 · BF16

jareddotinfo已驗證2026年12月5日已驗證執行

解碼

193tok/s

預填

2.3ktok/s

首個 token 延遲

107ms

總計

236tok/s

峰值 VRAM

119.3GB

上下文長度

1024K

KV 深度

0

批次大小

1

並行數

1

功耗

1,083W

驗證

已驗證執行

啟動命令

vllm serve Qwen/Qwen4-35B-A3B --trust-remote-code --dtype bfloat16 -tp 2 -pp 3 --max-model-len 1048576 --gpu-memory-utilization 0.94 --enable-prefix-caching --kv-cache-dtype auto --engram-config.cpu_offload true --disable-custom-all-reduce --speculative-config '{"method":"mtp","num_speculative_tokens":1,"index_share_for_mtp_iteration":true,"draft_lm_head_quantization":"nvfp4"}'

Theoretical memory ceiling

548.1–548.9 tok/s

1,872.4 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 16-bit KV cache · 1–251 tokens of context

Includes speculative decoding: 1.83 tokens accepted per model step on average (299.7–300.2 steps/s) · measured 105.5 steps/s

35–35%

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 BF16 estimate. Hardware source · Open calculator

模型

GPU
RTX 3090
數量
6
VRAM
24 GB
OS
Ubuntu 26.04.1 LTS

引擎

引擎
vllm
版本
vllm-qwen4
Build
vllm-qwen4-6x3090-bf16-tp2pp3-nvlink4-mtp1-v2
量化
BF16
後端
cuda
TP
2
KV 快取
bfloat16
GPU mem util
0.94
Prefix caching
是
Spec decode
已啟用
MTP
已啟用

執行設定

上下文
1,048,576 個 token
深度
0 個 token
批次大小
1
提示詞 token
251
預填 tok/s
2,328.6 tok/s
功耗
1,083 W (170 + 176 + 168 + 173 + 197 + 199 W)
輸出 token
1024
提交工具
lmx v0.1.68 speed-test submit
備註
6x RTX 3090 (TP=2 x PP=3 across 3 direct NVLink4 pairs, DDR4-2667 8-channel pinned UVA BF16 PLE offload). Full unquantized BF16 Qwen4-35B-A3B + 1M native BF16 KV (~1.28M KV pool) + PP-safe direct TP2 NVLink4 collectives (VLLM_TP2_NVLINK=1) + built-in MTP (k=1, drafter-only NVFP4 lm_head) + VLLM_GREEDY_LOCAL_ARGMAX=1 + SM86 fused HyperConnection + VLLM_FAST_TEXT_EMBEDS=1 + VLLM_USE_RUST_FRONTEND=1. Target weights and logits 100% unquantized BF16.

推測解碼

方法
MTP
每步接受數
1.83 個 token
接受率
83%
草稿 token
560
已接受 token
464

已記錄的證據

提示詞雜湊(SHA-256)
a737db738bd4…
提示詞樣本 · 826 chars
[LocalMaxxing cache-bust nonce: 26777547ec5cbb0055b4ad7a835fc42a]
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.
輸出樣本 · 3,426 chars
The user wants a CLI tool. Let me write clean, complete code.

Key design decisions:
- Read stdin line by line, parse JSON, validate fields.
- Accumulate per-service counts by level, and latency samples. For percentiles, storing all samples could be memory-heavy; but for a small tool, we could use a bounded approach. Let's mention: we store samples in a list per service (simple, exact), but note an alternative. Actually better: implement exact percentiles with sorted list at the end — simple and correct. But mention memory. Maybe offer reservoir? Keep it simple but note the tradeoff. I'll store all samples and sort at the end — exact, deterministic. Mention that for huge streams you'd swap in a t-digest or fixed-bucket histogram.

Percentile method: nearest-rank on the sorted sample, with the "ceiling" definition: rank = ceil(p/100 * n), clamped to [1, n]. Explain why: it's the standard definition used by monitoring systems (e.g., Prometheus histogram_quantile-ish / simple), requires no interpolation assumptions, always returns an observed value, and is monotone/stable. Note that linear interpolation (numpy default) can produce values never observed and differs between tools.

Edge cases for tests:
1. Empty input / no latency samples at all → p50/p95 should be None, not crash or divide by zero.
2. Single sample → p50 == p95 == that value.
3. Malformed lines: invalid JSON, non-dict JSON (e.g., `[1,2]` or `"str"`), missing required fields, wrong types (level not in enum, latency_ms as string/bool/negative/NaN), unknown level.
4. `--since` boundary: records exactly at the timestamp included or excluded (define: drop records strictly earlier, i.e., keep ts >= since). Also timezone-aware vs naive timestamps, 'Z' suffix, mixed offsets.
5. Duplicate/extra fields, unicode service names, very large latency.

Let me write the code carefully.

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

from __future__ import annotations

import argparse
import json
import math
import sys
from collections import Counter, defaultdict
from dataclasses import dataclass, field
from datetime import datetime, timezone
from typing import Any, Iterable, Iterator, Optional

LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")


@dataclass
class ServiceStats:
    counts: Counter = field(default_factory=Counter)
    latencies: list[float] = field(default_factory=list)

    def add(self, level: str, latency: Optional[float]) -> None:
        self.counts[level] += 1
        if latency is not None:
            self.latencies.append(latency)


def percentile(sorted_values, p):
    """Nearest-rank percentile. `sorted_values` must be sorted ascending, non-empty."""
    n = len(sorted_values)
    if n == 0:
        return None
    if not 0.0 <= p <= 100.0:
        raise ValueError(...)
    rank = math.ceil(p / 100.0 * n)
    rank = min(max(rank, 1), n)
    return sorted_values[rank - 1]
```

Careful with float: p=95, n=20 → 0.95*20 = 19.000000000000004? Let's check: 95/100 = 0.95, 0.95*20 = 19.0 exactly? 0.95 is not exactly representable; 0.95*20 = 19.000000000000004 possibly. ceil → 20. Hmm that would give the max instead of 19. Let's compute: 0.95 in binary ≈ 0.95000000000000002220446049250313. Times 20 = 19.0000000000000004440892098500626 → rounds to nearest double: 19.000000000000004 (since spacing near 19 is 2^-48*16 ≈ 3.55e-15). Actually 19.00000000

此模型在此硬體上的更多執行