Testes de velocidadeModelosAvaliações comparativasAluguéisRelatóriosHardwareCalculadora de decodeOrganizaçõesProDocs da APIEnviar
Idioma
Actual Computer — Every computer, one endpoint

Teste de velocidade

gemma-4-31B-it

RTX PRO 6000 Blackwell Workstation Edition 96GB · vllm · v0.33.0rc1.dev320+g335dd77b0 · BF16

puretensorVerificado1 de nov. de 2026Execução verificada

Decode

24.4tok/s

Prefill

2.8ktok/s

Tempo até o primeiro token

89ms

Total

30.9tok/s

VRAM de pico

—

Tamanho do contexto

32K

Profundidade KV

0

Tamanho do lote

1

Concorrência

1

Consumo de energia

—

Verificação

Execução verificada

Comando de inicialização

docker run -d --name maxxloop-g1 --gpus '"device=1"' --ipc=host -p 127.0.0.1:8663:8000 -v /mnt/storage/models/hf:/models:ro -v /mnt/storage/maxxloop/cache-g1:/root/.cache  vllm/vllm-openai:nightly-335dd77b09161c5d63139b4e7ae51bb9928305b1 --model /models/google__gemma-4-31B-it --served-model-name gemma-4-31b-it --trust-remote-code --max-model-len 32768 --gpu-memory-utilization 0.90 --language-model-only

Theoretical memory ceiling

27.1–27.2 tok/s

1,792 GB/s memory bandwidth (spec sheet) · 66.00 GB model weights · 16-bit KV cache · 1–245 tokens of context

90–90%

of the ceiling reached

Medium confidence

The fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-31B-it; size from BF16 estimate. Hardware source · Open calculator

Hardware

GPU
RTX PRO 6000 Blackwell Workstation Edition
Quantidade
1
VRAM
96 GB
OS
Ubuntu 24.04.5 LTS

Engine

Engine
vllm
Versão
0.33.0rc1.dev320+g335dd77b0
Build
vllm/vllm-openai@sha256:66f19872e759e7d74f0729c4c7068eaaf71bc8b35f613573c36062a81be8cb3d
Commit
335dd77b0
Quant
BF16
Backend
cuda
TP
1
KV cache
auto
GPU mem util
0.9
Cache de prefixo
sim
Prefill em chunks
sim

Configuração da execução

Contexto
32.768 tokens
Profundidade
0 tokens
Tamanho do batch
1
Tokens de prompt
245
Prefill tok/s
2,768.7 tok/s
Tokens de saída
904
Notas
PureTensor lab, fox-n0: one RTX PRO 6000 Blackwell Workstation Edition (600 W), the whole card, Threadripper 7970X, 256 GB RAM. Google's BF16 weights on upstream vLLM nightly (Docker), text-only (--language-model-only). Config found by our maxxloop tuning harness: one-variable sweeps, quality and degeneration gates, interleaved fresh-boot confirms. Engine defaults. Image vllm/vllm-openai@sha256:66f19872e759e7d74f0729c4c7068eaaf71bc8b35f613573c36062a81be8cb3d. CPU in a performance window (performance governor, C2 off, boost on). Thinking off. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmup(s).

Evidências capturadas

Hash do prompt (SHA-256)
a737db738bd4…
Amostra do prompt · 826 chars
[LocalMaxxing cache-bust nonce: bd8a121142f44bd8b287772b91c6a6a8]
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.
Amostra de saída · 3,135 chars
```python
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict

def parse_iso(ts_str):
    # Handles basic ISO-8601 formats (YYYY-MM-DDTHH:MM:SS...)
    return datetime.fromisoformat(ts_str.replace('Z', '+00:00'))

def main():
    parser = argparse.ArgumentParser(description="Tally log records from stdin.")
    parser.add_argument("--since", help="ISO-8601 timestamp to filter records")
    args = parser.parse_args()

    since_dt = parse_iso(args.since) if args.since else None
    
    # Data structure: { service_name: { "levels": { LEVEL: count }, "latencies": [] } }
    stats = defaultdict(lambda: {"levels": defaultdict(int), "latencies": []})
    malformed_count = 0

    for line in sys.stdin:
        line = line.strip()
        if not line:
            continue
        try:
            record = json.loads(line)
            
            # Filter by timestamp
            ts = parse_iso(record['ts'])
            if since_dt and ts < since_dt:
                continue
            
            service = record['service']
            level = record['level']
            
            stats[service]["levels"][level] += 1
            if 'latency_ms' in record and record['latency_ms'] is not None:
                stats[service]["latencies"].append(float(record['latency_ms']))
                
        except (json.JSONDecodeError, KeyError, ValueError):
            malformed_count += 1

    # Print results
    print(f"{'Service':<20} {'Level Counts':<30} {'p50':<10} {'p95':<10}")
    print("-" * 70)

    for service, data in sorted(stats.items()):
        # Format level counts: INFO:5,ERROR:2...
        lvl_str = ",".join([f"{k}:{v}" for k, v in sorted(data["levels"].items())])
        
        lats = sorted(data["latencies"])
        if lats:
            # Nearest-rank method for percentiles
            p50 = lats[int(len(lats) * 0.50)]
            p95 = lats[int(len(lats) * 0.95)] if len(lats) * 0.95 < len(lats) else lats[-1]
            p50_str, p95_str = f"{p50:.2f}", f"{p95:.2f}"
        else:
            p50_str, p95_str = "N/A", "N/A"

        print(f"{service:<20} {lvl_str:<30} {p50_str:<10} {p95_str:<10}")

    if malformed_count > 0:
        print(f"\nMalformed records skipped: {malformed_count}")

if __name__ == "__main__":
    main()
```

### Implementation Details
I used the **nearest-rank method** by sorting the latency list and accessing the index at the desired percentile. I chose this method because it is simple to implement using only the standard library and provides a representative value from the actual observed data without requiring complex interpolation.

### Unit Test Edge Cases
1. **Empty Input:** Ensure the tool handles an empty stdin without crashing or printing headers that imply data exists.
2. **Missing Latency:** Verify that services with records but no `latency_ms` fields correctly report "N/A" rather than 0 or crashing.
3. **Invalid Timestamps:** Test records with malformed ISO strings or missing `ts` keys to ensure they are counted as malformed and do not stop the processing of subsequent valid lines.

Mais execuções deste modelo neste hardware