Speed testsModelsBenchmarksRentalsReportsHardwareDecode calculatorOrganizationsProAPI DocsSubmit
Language
Actual Computer — Every computer, one endpoint

Speed test

Qwen4-35B-A3B-FP8

RTX 3090 24GB ×4 · vllm · vllm-qwen4 · FP8

jareddotinfoVerifiedDec 5, 2026Verified run

Decode

302tok/s

Prefill

2.2ktok/s

Time to first token

114ms

Total

364tok/s

Peak VRAM

86.7GB

Context length

512K

KV depth

0

Batch size

1

Concurrency

1

Power draw

943W

Verification

Verified run

Launch command

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 confidence

The 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

Hardware

GPU
RTX 3090
Count
4
VRAM
24 GB
OS
Ubuntu 26.04.1 LTS

Engine

Engine
vllm
Version
vllm-qwen4
Build
vllm-qwen4-dflash2-nvlink4-sm86-turbo-v2-bf16kv
Quant
FP8
Backend
cuda
TP
4
KV cache
bfloat16
GPU mem util
0.94
Prefix caching
yes
Spec decode
enabled

Run config

Context
524,288 tokens
Depth
0 tokens
Batch size
1
Prompt tokens
251
Prefill tok/s
2,186.0 tok/s
Power draw
943 W (231 + 235 + 241 + 237 W)
Output tokens
1024
Submitted with
lmx v0.1.68 speed-test submit
Notes
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.

Speculative decoding

Method
DFlash2
Accepted per step
3.03 tokens
Acceptance rate
29%
Draft tokens
2,368
Accepted tokens
687

Captured evidence

Prompt hash (SHA-256)
a737db738bd4…
Prompt sample · 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.
Output sample · 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

More runs of this model on this hardware