速度测试
Qwen4-35B-A3B
RTX 3090 24GB ×6 · vllm · vllm-qwen4 · BF16
解码
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 confidenceThe 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
- Repository
- https://github.com/vllm-project/vl…
- Build
- vllm-qwen4-6x3090-bf16-tp2pp3-nvlink4-mtp1-v2
- 量化
- BF16
- 后端
- cuda
- TP
- 2
- KV 缓存
- bfloat16
- GPU mem util
- 0.94
- 前缀缓存
- 是
- 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该模型在此硬件上的更多运行
- 513tok/svllm · v0.1.dev26393+gf247de72b · INT4_W4A16上下文 256K · 深度 562,006 · 批大小 1lulakien · 2026年12月4日
- 187tok/svllm · BF16上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 185tok/svllm · BF16上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 185tok/svllm · vllm-qwen4 · BF16上下文 1024K · 深度 0 · 批大小 1已验证运行jareddotinfo · 2026年12月5日
- 182tok/svllm · BF16上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 169tok/svllm · BF16上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 167tok/svllm · BF16上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 160tok/svllm · BF16上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
