Pruebas de velocidadModelosEvaluaciones comparativasAlquileresInformesHardwareCalculadora de decodificaciónOrganizacionesProDocs de APIEnviar
Idioma
Actual Computer — Every computer, one endpoint

Prueba de velocidad

Qwen4-35B-A3B

RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×4 · vllm · v0.1.dev26393+gf247de72b · BF16

puretensorVerificado4 dic 2026Ejecución verificada

Decodificación

353tok/s

Prefill

8.1ktok/s

Tiempo hasta el primer token

31ms

Total

367tok/s

VRAM máxima

—

Longitud de contexto

1024K

Profundidad KV

0

Tamaño de lote

1

Concurrencia

1

Consumo de energía

—

Verificación

Ejecución verificada

Comando de lanzamiento

docker run --gpus all --ipc=host -e VLLM_USE_RUST_FRONTEND=1 vllm/vllm-openai:qwen4 /models/Qwen4-35B-A3B --served-model-name Qwen/Qwen4-35B-A3B --trust-remote-code --enable-prefix-caching --tensor-parallel-size 4 --gpu-memory-utilization 0.85 --max-model-len auto --disable-flashinfer-autotune --kv-cache-dtype nvfp4 --attention-config.indexer_kv_dtype fp8 --enable-auto-tool-choice --tool-call-parser qwen4 --reasoning-parser qwen4 --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}'

Theoretical memory ceiling

2,971.6–2,973.2 tok/s

7,168 GB/s memory bandwidth (spec sheet) · 114.00 GB model weights · 4-bit KV cache · 1–247 tokens of context

Includes speculative decoding: 2.63 tokens accepted per model step on average (1,129.8–1,130.4 steps/s) · measured 134.1 steps/s

12–12%

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

Hardware

GPU
RTX PRO 6000 Blackwell Max-Q Workstation Edition
Cantidad
4
VRAM
96 GB
OS
Ubuntu 26.04.1 LTS

Motor

Motor
vllm
Versión
0.1.dev26393+gf247de72b
Build
vllm/vllm-openai:qwen4 (sha256:63a160daa7b2c7eac713d2097c6d84d52d4ccf9a935788acdd610a563d39d286)
Commit
f247de72b
Quant
BF16
Backend
cuda
TP
4
KV cache
nvfp4
GPU mem util
0.85
Prefix caching
sí
Spec decode
activado
MTP
activado

Configuración de ejecución

Contexto
1.048.576 tokens
Profundidad
0 tokens
Tamaño de batch
1
Tokens del prompt
247
Prefill tok/s
8,069.8 tok/s
Tokens de salida
6056
Revisión
c06f0c19
Notas
PureTensor lab: four RTX PRO 6000 Blackwell Max-Q cards (325 W limit) on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. One model instance split across the four cards with tensor parallel 4; this is not a published recipe configuration (the vLLM recipe lists one GPU, TP1). Host P2P settings (amd_iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Image pinned by digest. A small embedding server (12 GB) stayed loaded on GPU 0 and was idle. MTP speculative decoding, 3 draft tokens. Thinking ON (reasoning_effort=high); output includes the reasoning trace. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s). 2302 verify steps, 2.63 tokens/step, 7.5 ms/step.

Decodificación especulativa

Método
MTP
Aceptados por paso
2,63 tokens
Tasa de aceptación
54 %
Tokens de borrador
6906
Tokens aceptados
3753

Evidencia capturada

Hash del prompt (SHA-256)
a737db738bd4…
Muestra del prompt · 826 chars
[LocalMaxxing cache-bust nonce: 28dbfd9cd7dfcee0da5d53f92d230ae0]
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.
Muestra de salida · 4,000 chars
The user wants a CLI tool. Let me write clean, well-structured code using only stdlib.

Key design decisions:
- Streaming parse with json.loads, catch exceptions.
- Percentiles: I'll implement a "nearest-rank / linear interpolation" method. Let me pick linear interpolation between closest ranks (the "R-7" method used by numpy default), which is standard and well-defined. Actually for a log tool, I should explain the choice. Let me implement the standard "linear interpolation of the closest ranks" (numpy's default, R-7) since it's what people expect from p50/p95 and it's stable/deterministic. But storing all latencies per service could be memory heavy — I should mention that. Alternatively use a bounded approach. Let me be honest: I'll keep all latencies in a list per service (simple, exact), and note the memory tradeoff plus a possible t-digest alternative. Actually, better: mention that for very high volume you'd swap in a t-digest or fixed-bucket histogram, but exactness is preferable for correctness.

Hmm, but a thoughtful implementation might avoid unbounded memory. Let me keep it simple and exact, and note the tradeoff. That's honest engineering.

- `--since`: parse ISO timestamp, drop earlier records. Need to handle timezone-aware vs naive comparison. Use datetime.fromisoformat, and normalize: if naive, assume UTC. Records with unparseable ts → malformed.
- Malformed counting: count lines that fail JSON parse, fail schema validation, and count them by reason. Report at end to stderr probably — better to stderr so stdout stays parseable. Let me print the report to stderr and the tally to stdout. Actually the requirement says "reported at the end". I'll print summary to stderr and mention it. Hmm, maybe safer: print stats to stdout, malformed report to stderr. I'll do that and explain.

Let me also handle:
- Blank lines: skip, not malformed? I'd count them as skipped-blank, not malformed. Let's count separately.
- level normalization: uppercase, must be in set.
- latency_ms: must be int/float, not bool, non-negative, finite. Reject NaN/inf.
- ts must be present and parseable.

Percentile function:

```python
def percentile(sorted_values, q):
    n = len(sorted_values)
    if n == 0:
        return None
    if n == 1:
        return sorted_values[0]
    pos = (n - 1) * q
    lo = math.floor(pos)
    hi = math.ceil(pos)
    if lo == hi:
        return sorted_values[int(pos)]
    frac = pos - lo
    return sorted_values[lo] * (1 - frac) + sorted_values[hi] * frac
```

That's R-7.

Also add `--json` output option? Keep scope tight but maybe useful. The requirements don't ask. I'll add a small `--json` flag since it's cheap and useful... Actually, keep it focused; extra features add risk. I'll add it minimally — it's genuinely useful for a log tool. Hmm, "small command-line tool". I'll include `--json` as a one-liner-ish addition. Let me include it, it's low risk.

Let me write the code.

```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 defaultdict
from datetime import datetime, timezone
from typing import Any, Iterable, Iterator, NamedTuple

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

Structure:

```python
class Record(NamedTuple):
    service: str
    level: str
    latency_ms: float | None
```

Parsing:

```python
def parse_timestamp(raw: Any) -> datetime | None:
    if not isinstance(raw, str):
        return None
    text = raw.strip()
    if text.endswith(("Z", "z")):
        text = text[:-1] + "+00:00"
    try:
        dt = datetime.fromisoformat(text)
    except ValueError:
        return None
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    return dt
```

Note: Python 3.11+ fromisoformat handles 'Z'. The manual replacement keeps 3.9/3.10 compat.

Validation of record:

```python
def parse_record(line) -> tuple[Record|None

Más ejecuciones de este modelo en este hardware