Uji kecepatan
Qwen4-35B-A3B
RTX 3090 24GB ×6 · vllm · vllm-qwen4 · BF16
Decode
193tok/s
Prefill
2.3ktok/s
Waktu ke token pertama
107ms
Total
236tok/s
VRAM puncak
119,3GB
Panjang konteks
1024K
Kedalaman KV
0
Ukuran batch
1
Konkurensi
1
Konsumsi daya
1.083W
Verifikasi
Run terverifikasiLuncurkan perintah
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
Hardware
- GPU
- RTX 3090
- Menghitung
- 6
- VRAM
- 24 GB
- OS
- Ubuntu 26.04.1 LTS
Engine
- Engine
- vllm
- Versi
- vllm-qwen4
- Repository
- https://github.com/vllm-project/vl…
- Build
- vllm-qwen4-6x3090-bf16-tp2pp3-nvlink4-mtp1-v2
- Quant
- BF16
- Bagian belakang
- cuda
- TP
- 2
- Tembolok KV
- bfloat16
- utilitas mem GPU
- 0.94
- Cache awalan
- ya
- Dekode spesifikasi
- aktif
- MTP
- aktif
Jalankan konfigurasi
- Konteks
- Token 1.048.576
- Kedalaman
- Token 0
- Ukuran kumpulan
- 1
- Token yang cepat
- 251
- Isi awal tok/s
- 2,328.6 tok/s
- Konsumsi daya
- 1,083 W (170 + 176 + 168 + 173 + 197 + 199 W)
- Token keluaran
- 1024
- Dikirim dengan
- lmx v0.1.68 speed-test submit
- Catatan
- 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.
Decoding spekulatif
- Metode
- MTP
- Diterima per langkah
- 1,83 token
- Tingkat penerimaan
- 83%
- Token draf
- 560
- Token diterima
- 464
Bukti terekam
- Hash prompt (SHA-256)
- a737db738bd4…
Sampel prompt · 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.
Sampel output · 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.00000000Run lain dari model ini di hardware ini
- 513tok/svllm · v0.1.dev26393+gf247de72b · INT4_W4A16Konteks 256K · kedalaman 562,006 · batch 1lulakien · 4 Des 2026
- 187tok/svllm · BF16Konteks 2K · kedalaman 0 · batch 1jareddotinfo · 5 Des 2026
- 185tok/svllm · BF16Konteks 2K · kedalaman 0 · batch 1jareddotinfo · 5 Des 2026
- 185tok/svllm · vllm-qwen4 · BF16Konteks 1024K · kedalaman 0 · batch 1Run terverifikasijareddotinfo · 5 Des 2026
- 182tok/svllm · BF16Konteks 2K · kedalaman 0 · batch 1jareddotinfo · 5 Des 2026
- 169tok/svllm · BF16Konteks 2K · kedalaman 0 · batch 1jareddotinfo · 5 Des 2026
- 167tok/svllm · BF16Konteks 2K · kedalaman 0 · batch 1jareddotinfo · 5 Des 2026
- 160tok/svllm · BF16Konteks 2K · kedalaman 0 · batch 1jareddotinfo · 5 Des 2026
