Tests de vitesseModèlesÉvaluations comparativesLocationsRapportsMatérielCalculateur de décodageOrganisationsProDocs APIEnvoyer
Langue
Actual Computer — Every computer, one endpoint

Test de vitesse

Qwen3-235B-A22B-Instruct-2507

RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB ×2 · llama.cpp · b8070 · Q4_K_M

puretensorVérifié22 oct. 2026Exécution vérifiée

Décodage

72.9tok/s

Prefill

702tok/s

Délai jusqu'au premier token

326ms

Total

87.5tok/s

VRAM max

—

Longueur de contexte

16K

Profondeur KV

0

Taille de lot

1

Concurrence

1

Consommation

—

Vérification

Exécution vérifiée

Commande de lancement

llama-server -m Qwen3-235B-A22B-Instruct-2507-Q4_K_M.gguf -ngl 999 -sm layer -c 16384 -fa on --jinja -np 1 -t 32 (CUDA_VISIBLE_DEVICES=2,3)

Theoretical memory ceiling

288.6–289.6 tok/s

3,584 GB/s memory bandwidth (spec sheet) · 132.19 GB model weights · 16-bit KV cache · 1–229 tokens of context

25–25%

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/Qwen3-235B-A22B-Instruct-2507; size from Q4_K_M estimate. Hardware source · Open calculator

Matériel

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

Moteur

Moteur
llama.cpp
Version
b8070
Commit
cc45f2ada
Quant
Q4_K_M
Backend
cuda
TP
2
GPU layers
999
Flash Attn
oui

Configuration du run

Contexte
16 384 tokens
Profondeur
0 tokens
Taille de batch
1
Tokens de prompt
229
Prefill tok/s
702.3 tok/s
Tokens de sortie
1010
Notes
PureTensor lab, tensor-core: RTX PRO 6000 Blackwell Max-Q (300 W) cards on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. Host P2P settings (amd_iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Thinking off. llama.cpp b8070 (cc45f2ada), CUDA, all layers on 2 GPUs, layer split, flash attention, one slot, no speculative decoding. GGUF Q4_K_M of Qwen3-235B-A22B-Instruct-2507 (Ollama library build), served directly by llama.cpp. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmups.

Preuves capturées

Empreinte du prompt (SHA-256)
a737db738bd4…
Extrait du prompt · 826 chars
[LocalMaxxing cache-bust nonce: 7368278cb9846114c1dfcdb06d4702d5]
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.
Extrait de sortie · 4,000 chars
```python
#!/usr/bin/env python3
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
import bisect

def parse_args():
    parser = argparse.ArgumentParser(description="Tally log records by service and level, compute latency percentiles.")
    parser.add_argument('--since', type=str, help='ISO timestamp to filter logs (inclusive)')
    return parser.parse_args()

def main():
    args = parse_args()
    since_dt = None
    if args.since:
        try:
            since_dt = datetime.fromisoformat(args.since.replace('Z', '+00:00'))
        except ValueError as e:
            print(f"Error: Invalid ISO timestamp format for --since: {e}", file=sys.stderr)
            sys.exit(1)

    log_stats = defaultdict(lambda: {
        'counts': defaultdict(int),
        'latencies': []
    })
    malformed_count = 0

    for line_num, line in enumerate(sys.stdin, 1):
        line = line.strip()
        if not line:
            continue
        try:
            record = json.loads(line)
            ts_str = record.get('ts')
            level = record.get('level')
            service = record.get('service')

            # Validate required fields
            if not all(k in record for k in ['ts', 'level', 'service']):
                malformed_count += 1
                continue

            # Validate level
            if level not in ['DEBUG', 'INFO', 'WARN', 'ERROR']:
                malformed_count += 1
                continue

            # Parse timestamp
            try:
                ts = datetime.fromisoformat(ts_str.replace('Z', '+00:00'))
            except ValueError:
                malformed_count += 1
                continue

            # Filter by --since
            if since_dt and ts < since_dt:
                continue

            # Tally level count
            log_stats[service]['counts'][level] += 1

            # Collect latency if present
            latency = record.get('latency_ms')
            if latency is not None and isinstance(latency, (int, float)) and latency >= 0:
                # Use bisect to maintain sorted order for efficient percentile computation
                bisect.insort(log_stats[service]['latencies'], latency)

        except json.JSONDecodeError:
            malformed_count += 1
        except Exception:
            malformed_count += 1

    # Print results
    for service in sorted(log_stats.keys()):
        stats = log_stats[service]
        counts = stats['counts']
        latencies = stats['latencies']
        print(f"Service: {service}")
        for level in ['DEBUG', 'INFO', 'WARN', 'ERROR']:
            if counts[level] > 0:
                print(f"  {level}: {counts[level]}")
        if latencies:
            p50 = percentile(latencies, 50)
            p95 = percentile(latencies, 95)
            print(f"  Latency p50: {p50:.2f}ms")
            print(f"  Latency p95: {p95:.2f}ms")
        else:
            print("  Latency: no data")

    if malformed_count > 0:
        print(f"\nMalformed lines: {malformed_count}", file=sys.stderr)

def percentile(sorted_list, p):
    """Compute percentile of a sorted list using nearest-rank method."""
    if not sorted_list:
        return 0.0
    k = int((p / 100) * len(sorted_list))
    k = max(1, k)  # At least 1-based index
    return float(sorted_list[k - 1])

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

### Percentile Computation Explanation

I computed percentiles using the **nearest-rank method** (also known as the "N+1" method simplified), where the p-th percentile is the value at the k-th position in the sorted list with `k = ceil(p/100 * n)`. I used `int(p/100 * n)` and clamped to at least 1 to avoid index errors. This method is simple, deterministic, and works well for small to medium datasets without requiring interpolation, which aligns with typical log analysis expectations.

### Edge Cases for Unit Tests

1. **Empty input or no valid records**: Ensure the tool handles no input grace

Autres runs de ce modèle sur ce matériel