速度测试
Qwen4-35B-A3B-FP8
RTX 3090 24GB ×4 · vllm · vllm-qwen4 · FP8
解码
302tok/s
预填充
2.2ktok/s
首个 token 延迟
114ms
总计
364tok/s
峰值 VRAM
86.7GB
上下文长度
512K
KV 深度
0
批大小
1
并发数
1
功耗
943W
验证
已验证运行启动命令
vllm serve Qwen/Qwen4-35B-A3B-FP8 --trust-remote-code --dtype bfloat16 -tp 4 --max-model-len 524288 --gpu-memory-utilization 0.94 --enable-prefix-caching --kv-cache-dtype auto --engram-config.cpu_offload true --disable-custom-all-reduce --speculative-config '{"method":"dflash","model":"RadixArk/Qwen4-35B-A3B-Dflash2","num_speculative_tokens":7}'Theoretical memory ceiling
3,329.5–3,344.7 tok/s
3,744.8 GB/s memory bandwidth (spec sheet) · 57.00 GB model weights · 16-bit KV cache · 1–251 tokens of context
Includes speculative decoding: 3.03 tokens accepted per model step on average (1,098.5–1,103.6 steps/s) · measured 99.5 steps/s
9–9%
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-FP8; size from FP8 estimate. Hardware source · Open calculator
模型
- GPU
- RTX 3090
- 数量
- 4
- VRAM
- 24 GB
- OS
- Ubuntu 26.04.1 LTS
引擎
- 引擎
- vllm
- 版本
- vllm-qwen4
- Repository
- https://github.com/vllm-project/vl…
- Build
- vllm-qwen4-dflash2-nvlink4-sm86-turbo-v2-bf16kv
- 量化
- FP8
- 后端
- cuda
- TP
- 4
- KV 缓存
- bfloat16
- GPU mem util
- 0.94
- 前缀缓存
- 是
- Spec decode
- 已启用
运行配置
- 上下文
- 524,288 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 251
- 预填 tok/s
- 2,186.0 tok/s
- 功耗
- 943 W (231 + 235 + 241 + 237 W)
- 输出 token
- 1024
- 提交工具
- lmx v0.1.68 speed-test submit
- 备注
- 4x RTX 3090 (TP=4 across 2x NVLink4 pairs bridged via PCIe Gen4, 330W/GPU, DDR4-2667 8-channel pinned UVA PLE offload). Qwen4-35B-A3B-FP8 (W8A16 Marlin MoE) + BF16 KV (512K context, ~741K KV pool) + RadixArk/Qwen4-35B-A3B-Dflash2 (k=7) + vllm-nvlink-pair-comm hierarchical TP4 collectives + drafter-only NVFP4 lm_head + VLLM_GREEDY_LOCAL_ARGMAX=1 + VLLM_FUSED_TOPK_AG=1 + SM86 fused HyperConnection + VLLM_FAST_TEXT_EMBEDS=1 + VLLM_USE_RUST_FRONTEND=1. Target weights and logits untouched.
推测解码
- 方法
- DFlash2
- 每步接受数
- 3.03 个 token
- 接受率
- 29%
- 草稿 token
- 2,368
- 已接受 token
- 687
已记录的证据
- 提示词哈希(SHA-256)
- a737db738bd4…
提示词样本 · 826 chars
[LocalMaxxing cache-bust nonce: ee400e8ea9c52dc27daac3f4e5aa4ea0] 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,950 chars
The user wants a CLI tool. Let me write clean, well-structured code using only stdlib.
Key design decisions:
- Streaming parse line by line, never crash.
- Percentile method: nearest-rank on sorted list (ceil(p*n) index), which is simple and deterministic. Or linear interpolation. I'll pick nearest-rank and explain.
- `--since` filtering with timezone-aware vs naive handling.
- Malformed counting: distinguish reasons (bad JSON, missing fields, bad level, bad ts, bad latency).
Let me write it.
Structure:
- `parse_args`
- `parse_since` — parse ISO timestamp, handle 'Z', handle naive/aware mismatch.
- `Record` dataclass or just accumulate into dict.
- `LEVELS` ordering.
- Percentile function.
- Output formatting: table.
Edge cases for `--since`: comparing naive vs aware datetimes raises TypeError. Handle by normalizing: if `since` is aware and record ts is naive, assume UTC; if since is naive and record is aware, drop tzinfo from since... Better: normalize both to UTC-aware. If naive, assume UTC.
Also handle `ts` that fails to parse → malformed.
Percentile: nearest-rank. For p50 with n=1 → index ceil(0.5*1)=1 → element 0. Good. Guard n=0.
Let me also add `--json` output? Not required. Keep it focused but maybe add a small `--top`? No, keep to requirements. Maybe add `-o json` — no, avoid scope creep. Actually a small amount of extra polish is fine but let's keep it tight and correct.
Let me write the code.
```python
#!/usr/bin/env python3
"""logtally - summarize newline-delimited JSON log records on stdin."""
from __future__ import annotations
import argparse
import json
import math
import sys
from collections import defaultdict
from dataclasses import dataclass, field
from datetime import datetime, timezone
from typing import Any, Iterable, Iterator, Optional
LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")
LEVEL_SET = frozenset(LEVELS)
MALFORMED_REASONS = (
"empty_line",
"not_json_object",
"bad_json",
"missing_field",
"bad_level",
"bad_timestamp",
"bad_latency",
)
```
Hmm, `bad_latency` — should a record with a non-numeric latency be malformed (dropped) or just have latency ignored? I think: if `latency_ms` is present but not a finite number, treat the record as malformed? That's harsh. Better: treat it as malformed-ish but count separately as "bad_latency" and still... Hmm. Simpler and defensible: a record with a present-but-invalid `latency_ms` is malformed and counted, because it signals a producer bug. But then we lose the count by level. Alternative: keep the record, ignore the latency, and count a separate `bad_latency` warning counter. I'll go with: keep the record for level counts, ignore the latency, and increment a separate `ignored_latency` counter. Actually that muddies "malformed lines must be counted". Let me make it explicit and configurable-free: invalid latency → record is still tallied by level, latency ignored, and a distinct counter `latency_ignored` is reported. I'll document it. Hmm, but s
…
mm, but then a single bad field kills the whole record's level tally.
Decision: I'll treat schema violations as malformed (dropped + counted by reason), and document that choice clearly, plus note the alternative. Actually — let me reconsider once more. The most useful behavior for a log tool: don't throw away data because of one bad field. But the requirement explicitly says "Malformed lines must be counted and reported at the end, never crash." It doesn't say what counts as malformed.
I'll implement: strict schema validation → malformed. But I'll add a `--lenient` flag? No. Keep it simple: strict, documented, with reason breakdown. That's clean and testable. Hmm, but negative latency? Treat negative as malformed too? I'd say negative latency is suspicious → malformed. NaN/Infinity → malformed (json allows NaN/Infinity by default in Python's json! `json.loads('{"a": NaN}')` works). So must guard with math.isfinite.
Also bool is i该模型在此硬件上的更多运行
- 320tok/svllm · vllm-qwen4 · FP8上下文 512K · 深度 0 · 批大小 1已验证运行jareddotinfo · 2026年12月5日
- 277tok/svllm · FP8上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 272tok/svllm · vllm-qwen4 · FP8上下文 1024K · 深度 0 · 批大小 1已验证运行jareddotinfo · 2026年12月5日
- 270tok/svllm · vllm-qwen4 · FP8上下文 1024K · 深度 0 · 批大小 1已验证运行jareddotinfo · 2026年12月5日
- 254tok/svllm · FP8上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 254tok/svllm · FP8上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 239tok/svllm · FP8上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 236tok/svllm · FP8上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 229tok/svllm · FP8上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
- 227tok/svllm · FP8上下文 2K · 深度 0 · 批大小 1jareddotinfo · 2026年12月5日
