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

Test de vitesse

Qwen4-35B-A3B-GGUF

Radeon AI Pro R9700 32GB · llama.cpp · b12969-74e7f44650e264c311e777cd894e24f9847dc050 · UD-IQ4_XS

cheezzVérifié4 déc. 2026Exécution vérifiée

Décodage

95.6tok/s

Prefill

1.1ktok/s

Délai jusqu'au premier token

226ms

Total

116tok/s

VRAM max

18,8Go

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 --model Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf --alias Qwen4-35B-A3B-UD-IQ4_XS --ctx-size 16384 --parallel 1 --n-gpu-layers 99 --device Vulkan1 --override-tensor '^per_layer_token_embd\.weight$=CPU' --flash-attn on --batch-size 512 --ubatch-size 128 --threads 8 --poll 0 --fit off --jinja --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --repeat-penalty 1.0 --presence-penalty 0.0 --seed 42 --samplers 'penalties;top_k;top_p;min_p;temperature' --no-webui --offline --cache-ram 0 --log-verbosity 4 --spec-type none --chat-template-kwargs '{"enable_thinking":true,"preserve_thinking":true}'

Theoretical memory ceiling

527.0–529.1 tok/s

640 GB/s memory bandwidth (spec sheet) · 20.52 GB model weights · 16-bit KV cache · 1–239 tokens of context

18–18%

of the ceiling reached

High 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 unsloth/Qwen4-35B-A3B-GGUF/UD-IQ4_XS/Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf. Hardware source · Open calculator

Matériel

GPU
Radeon AI Pro R9700
Nombre
1
VRAM
32 GB
OS
Fedora Linux 44

Moteur

Moteur
llama.cpp
Version
b12969-74e7f44650e264c311e777cd894e24f9847dc050
Build
Official b12969 Ubuntu x64 Vulkan release; isolated Qwen4; Mesa RADV 26.2.8
Commit
74e7f44650e264c311e777cd894e24f9847dc050
Quant
UD-IQ4_XS
Backend
vulkan
GPU layers
42
Prefix caching
non
Chunk prefill
128
Flash Attn
oui

Configuration du run

Contexte
16 384 tokens
Profondeur
0 tokens
Taille de batch
1
Tokens de prompt
239
Prefill tok/s
1,061.1 tok/s
Tokens de sortie
1024
Révision
0813a7b787906bca5b033be7a99fc952497374c5
Notes
Canonical code-v1; temperature 0; 2 warmups + 5 timed; 1024 native completion tokens with ignore_eos; batch/concurrency 1; cache_prompt=false and per-request leading nonce; zero native cache hits. Published row is timed-5, the median decode run (all five included). TTFT is client time to first streamed reasoning or content delta; native throughput includes reasoning; no independent reasoning token split. Native reasoning: {"arm":"ON","controls":{"chat_template_kwargs":{"enable_thinking":true,"preserve_thinking":true}}}. Model artifact SHA-256: 513d029c8c267ee07c9d6742dd9958629bb73d4046604524ce3a6734b813120c, 419b93856e79a6f2338160d98d3b6b75042c57786af92c3010405b7b808dc4b4. Model license: Apache-2.0. Both original Unsloth shards; n-gram tensor explicitly CPU-mapped, 42/42 layers on GPU. Not an MTP or speculative run.

Preuves capturées

Empreinte du prompt (SHA-256)
a737db738bd4…
Extrait du prompt · 760 chars
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 · 3,920 chars
The user wants a CLI tool. Let me write clean code.

Note: the "LocalMaxxing cache-bust nonce" prefix is just noise; ignore it.

Let me write the tool.

Design:
- argparse with --since
- read stdin line by line
- parse JSON, validate fields
- collect per service: counts by level, latency list
- malformed count with reasons maybe
- print report

Percentiles: use sorted list, nearest-rank method (ceil(p*n)) — simple, deterministic, no interpolation. Or use statistics.quantiles. I'll implement nearest-rank and explain.

Edge cases: empty input, all records malformed, single record, ties, latency zero/negative, --since invalid, timezone-naive vs aware comparison, duplicate timestamps, huge memory.

Let me write code carefully.

Validation: ts must parse via datetime.fromisoformat (Python 3.11+ handles 'Z'; for older, replace 'Z' with '+00:00'). Handle naive vs aware comparison: normalize to UTC — if naive, assume UTC.

Level must be one of the four; otherwise malformed? I'd count as malformed with reason "bad level". Or count under "UNKNOWN"? Requirement says level is one of those; treat invalid as malformed.

latency_ms: must be a number (int/float, not bool), non-negative? If negative or non-finite, treat as malformed? I'll treat non-numeric as malformed; negative as... I'll accept but note. Simpler: require number and finite; negative accepted but flagged? Keep it: require int/float and not bool, and finite. Negative → malformed (invalid latency). Hmm, that could be debatable. I'll treat negative as malformed with reason, and document.

Actually to be safe: treat non-finite or negative as malformed. Document it.

Output format:

```
service        count  DEBUG INFO WARN ERROR   p50     p95
api            120    10    80    20   10     12.3    45.6
```

Plus totals and malformed summary.

Let me write it.

Also handle: line that's blank → skip silently (not malformed). Trailing whitespace.

Also handle KeyboardInterrupt gracefully? Not needed.

Also `--since` invalid → error exit 2.

Write percentile function:

```python
def percentile(sorted_vals, p):
    if not sorted_vals:
        return None
    if p <= 0: return sorted_vals[0]
    if p >= 100: return sorted_vals[-1]
    rank = math.ceil(p/100 * len(sorted_vals))
    rank = max(1, min(rank, len(sorted_vals)))
    return sorted_vals[rank-1]
```

Memory: storing all latencies per service. Could use a bounded approach but fine; mention streaming alternative.

Let me write the full code with a `main(argv)` and `if __name__ == "__main__"`.

Also add `--json` output? Not required. Keep focused but maybe add nothing extra.

I'll include a small self-test? No, just code + explanation.

Write the code.

```python
#!/usr/bin/env python3
"""logtally - summarize 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, Dict, List, Optional, Tuple

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

ServiceStats class with counts dict, latencies list.

Parsing function returns (record, error) tuple.

Let me write parse_ts:

```python
def parse_ts(value: Any) -> Optional[datetime]:
    if not isinstance(value, str):
        return None
    text = value.strip()
    if not text:
        return None
    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.astimezone(timezone.utc)
```

Note: fromisoformat in <3.11 doesn't accept 'Z' — handled. Also doesn't accept some formats; fine.

Main loop:

```python
for lineno, raw in enumerate(sys.stdin, 1):
    line = raw.strip()
    if not line:
        continue
    total += 1
    try:
        rec = json.loads

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