Test di velocitàModelliValutazioni comparativeNoleggiReportHardwareCalcolatore di decodificaOrganizzazioniProDocumentazione APIInvia
Lingua
Actual Computer — Every computer, one endpoint

Test di velocità

Qwen4-35B-A3B-GGUF

Radeon AI Pro R9700 32GB · llama.cpp · b12992+pr33412+pr33695 · UD-Q3_K_XL

jr95Verificato4 dic 2026Esecuzione verificata

Decodifica

130tok/s

Prefill

797tok/s

Tempo al primo token

317ms

Totale

148tok/s

VRAM di picco

20,5GB

Lunghezza del contesto

32K

Profondità KV

0

Dimensione batch

1

Concorrenza

1

Consumo energetico

—

Verifica

Esecuzione verificata

Comando di avvio

llama-server -m Qwen4-35B-A3B-UD-Q3_K_XL-00001-of-00002.gguf -np 1 -ngl 99 -fa on -c 32768 -ctk q8_0 -ctv q8_0 --load-mode mmap --lazy-mode auto -ot per_layer_token_embd=CPU --fit off --jinja -b 2048 -ub 512 -t 4 -tb 12 --cache-ram 0 --no-context-shift -md dflash2-Qwen4-35B-A3B-Q8_0.gguf -ngld 99 --spec-type draft-dflash2 --spec-draft-n-max 5 --spec-draft-p-min 0 -ctkd q8_0 -ctvd q8_0

Theoretical memory ceiling

1,270.7–1,277.6 tok/s

640 GB/s memory bandwidth (spec sheet) · 19.36 GB model weights · 8.5-bit KV cache · 1–252 tokens of context

Includes speculative decoding: 2.75 tokens accepted per model step on average (462.8–465.4 steps/s) · measured 47.4 steps/s

10–10%

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

Hardware

GPU
Radeon AI Pro R9700
Conteggio
1
VRAM
32 GB
OS
Linux Mint 22.3

Motore

Motore
llama.cpp
Versione
b12992+pr33412+pr33695
Build
llama.cpp-b12992-vulkan-pr33412-33683-33695-33702-33701-mesa26.3.1
Commit
a274a3948fa5
Quant
UD-Q3_K_XL
Backend
vulkan
GPU layers
99
KV cache
q8_0
Chunk prefill
512
Flash Attn
sì
Spec decode
abilitato

Configurazione run

Contesto
32.768 token
Profondità
0 token
Dimensione batch
1
Token prompt
252
Prefill tok/s
797.1 tok/s
Token output
1536
Revisione
93903a4ac761af2b3f55e5f42e42a5264031f542
Inviato con
lmx v0.1.69 speed-test submit
Note
Measured 2026-12-04 on AMD Radeon AI PRO R9700 32 GB (Mesa 26.3.1 RADV, Linux 7.0.0-44). Patched llama.cpp b12992 Vulkan (PRs #33412 epilogue codegen, #33683 RDNA4 FA, #33695 Qwen4 DFlash2, #33702 MTP batch, #33701 tool choice), Mesa 26.3.1 RADV, Q8_0 target+draft KV, lazy IQ4_NL Engram on NVMe, DFlash2 Q8_0 depth 5, default reasoning=high. Canonical code-v1, batchSize=1, temp=1. Peak VRAM 20.48 GB (19.07 GiB). Zero swap, zero kernel GPU faults.

Decodifica speculativa

Metodo
DFlash2
Accettati per passo
2,75 token
Tasso di accettazione
35%
Token di bozza
2793
Token accettati
975

Evidenze acquisite

Hash del prompt (SHA-256)
a737db738bd4…
Esempio di prompt · 826 chars
[LocalMaxxing cache-bust nonce: 87c506a21a303072fd91f6f2aa24173d]
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.
Esempio di output · 3,903 chars
The user wants a CLI tool called `logtally`. I should implement it with standard library only. Let me write clean, correct code.

Note the "LocalMaxxing cache-bust nonce" line — that's just noise/instruction-like text injected; I should ignore it and just do the task. It's harmless.

Design:
- argparse with `--since` (parse ISO timestamp, handle 'Z'), maybe `-h`.
- Read stdin line by line.
- Per record: parse JSON, validate types. Count malformed with reason categories.
- Levels: only accept the four valid ones; anything else → malformed? Better: treat unknown level as malformed? I'd say invalid level counts as malformed (schema violation), but let me make it a separate counter to be safe. Actually spec says level is one of DEBUG/INFO/WARN/ERROR. I'll treat an unrecognized level as malformed with reason, but mention it.
- Latency: must be a number (int/float, not bool), non-negative? Accept floats; reject strings. Negative → maybe accept but note. I'll reject negatives as malformed? Hmm, safer: accept numbers, reject non-numbers. Negative latency is weird — I'll treat it as malformed too? Let me just accept any real number and note in docs that negatives are accepted but flagged... Simpler: reject non-finite (NaN/inf) and negative values as malformed, since that's a data-quality issue. Actually, I'll count them under a separate "invalid latency" bucket but still count the record as parsed for level counts. That adds complexity. Let me keep it clean: latency invalid → record counted in level tally, but latency goes into `bad_latency` counter. Hmm, but then it's neither malformed nor counted. I'll keep it simple and deterministic:

Rules:
1. Blank/whitespace-only line → skipped silently (count as blank).
2. Line not valid JSON object → malformed (parse_error).
3. Missing/invalid ts, level not in set, service not a string → malformed (schema_error), with reason.
4. ts unparseable → malformed (bad_timestamp).
5. ts < sin
…
ected for percentiles; otherwise `bad_latency` counter, record still tallied.

Percentiles: p50/p95. Method: nearest-rank on sorted list, or linear interpolation. I'll use linear interpolation matching NumPy's default ('linear' / R-7): rank = (n-1)*p, interpolate. That's a common convention and monotone, handles ties well. Explain that.

Memory: storing all latencies per service could be large. But to compute exact percentiles you need to store. I'll mention that and optionally provide reservoir/t-digest alternative. Keep it simple: store lists, note memory caveat. Maybe I could sort per service at the end.

Output format: human-readable table plus maybe `--json` flag for machine output. Keep it small but useful. I'll add `--json` flag as a small extra.

Let me write the code.

```python
#!/usr/bin/env python3
"""logtally - summarize newline-delimited JSON logs from stdin."""

from __future__ import annotations

import argparse
impor
…
ontinue
        try:
            obj = json.loads(line)
        except json.JSONDecodeError:
            yield lineno, None, "json"
            continue
        if not isinstance(obj, dict):
            yield lineno, None, "json"  # not an object
            continue
        yield lineno, obj, None
```

Then validation function returns (service, level, ts, latency, reason).

Let me write `classify`.

```python
def parse_record(obj, since):
    """Return (service, level, ts, latency, error_reason)."""
```

Simpler: write a function that raises a `BadLine` exception with a reason. Use a small custom exception.

Code:

```python
class BadLine(Exception):
    def __init__(self, reason, detail=""):
        super().__init__(reason)
        self.reason = reason
        self.detail = detail
```

Then in main loop:

```python
try:
    service, level, when, latency = validate(obj)
except BadLine as exc:
    bad[exc.reason] += 1
    continue
if since is not None and when < since:
    dropped += 1

Altri run di questo modello su questo hardware