Test szybkości
Qwen4-35B-A3B-GGUF
Radeon AI Pro R9700 32GB · llama.cpp · b12992+pr33412+pr33695 · UD-Q3_K_XL
Dekodowanie
145tok/s
Prefill
847tok/s
Czas do pierwszego tokenu
298ms
Łącznie
164tok/s
Szczytowe VRAM
20,5GB
Długość kontekstu
32K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
—
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
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,367.4–1,375.4 tok/s
640 GB/s memory bandwidth (spec sheet) · 19.36 GB model weights · 8.5-bit KV cache · 1–250 tokens of context
Includes speculative decoding: 3.04 tokens accepted per model step on average (450.3–452.9 steps/s) · measured 47.8 steps/s
11–11%
of the ceiling reached
High confidenceThe 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
Sprzęt
- GPU
- Radeon AI Pro R9700
- Liczba
- 1
- VRAM
- 32 GB
- OS
- Linux Mint 22.3
Silnik
- Silnik
- llama.cpp
- Wersja
- b12992+pr33412+pr33695
- Repository
- https://github.com/ggml-org/llama.…
- Build
- llama.cpp-b12992-vulkan-pr33412-33683-33695-33702-33701-mesa26.3.1
- Commit
- a274a3948fa5
- Quant
- UD-Q3_K_XL
- Backend
- vulkan
- Warstwy GPU
- 99
- KV cache
- q8_0
- Prefill chunk
- 512
- Flash Attn
- tak
- Spec decode
- włączone
Konfiguracja uruchomienia
- Kontekst
- 32 768 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 250
- Prefill tok/s
- 846.8 tok/s
- Tokeny wyjściowe
- 1536
- Rewizja
- 93903a4ac761af2b3f55e5f42e42a5264031f542
- Przesłano przez
- lmx v0.1.69 speed-test submit
- Notatki
- 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=0. Peak VRAM 20.45 GB (19.05 GiB). Zero swap, zero kernel GPU faults.
Dekodowanie spekulatywne
- Metoda
- DFlash2
- Akceptowane na krok
- 3,04 tokenów
- Współczynnik akceptacji
- 41%
- Tokeny szkicu
- 2526
- Zaakceptowane tokeny
- 1029
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: 74762c71efef4d58cb5bd86f22cf871e] 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.
Próbka odpowiedzi · 3,903 chars
The user wants a CLI tool. Let me write clean, well-structured code using only stdlib.
Key design decisions:
- Read stdin line by line, parse JSON, validate schema.
- Track malformed lines with reasons (count by reason category).
- `--since` flag: parse ISO timestamp, drop records earlier. Need to handle timezone-aware vs naive comparison.
- Percentiles: p50 and p95 of latency_ms per service. Need to decide method. Options: nearest-rank, linear interpolation (numpy default), etc. I'll implement linear interpolation on sorted data (the "R-7" / numpy default method) since it's standard and gives smooth results. Actually, for a streaming tool, storing all latencies per service could be memory heavy. But it's a small tool; I could store sorted lists. Alternatively use a fixed-size histogram. Let me be honest about the tradeoff: I'll store latencies in a list per service and sort at the end — simple and exact. But mention memory consideration. Actually, maybe better: keep it simple and exact, note that for huge volumes you'd swap in a t-digest or histogram.
Hmm, but "never crash the program" — also handle broken pipe, KeyboardInterrupt, etc.
Let me think about validation:
- Record must be a JSON object (dict).
- `ts` must be a string parseable as ISO-8601.
- `level` must be one of the four (case? I'll accept exact uppercase, maybe normalize case-insensitively but report unknown levels as malformed? Better: treat unknown level as malformed with reason "bad_level"). Hmm — is an unknown level "malformed"? I'd say yes, it's a record that doesn't conform to the schema. I'll count it as malformed with a reason.
- `service` must be a non-empty string.
- `latency_ms` optional; if present must be a number (int/float, not bool), finite, and >= 0. If it's a string like "12.5", that's malformed? Or coerce? I'd say malformed — strict. Actually maybe be lenient: accept numeric strings? No, strict is cleaner and testable. But I shoul
…
reading stdin (fail fast). That's not "crashing" — it's a clean error.
Timezone handling: if `--since` is naive, assume UTC. If record ts is naive, assume UTC. Compare aware datetimes. If a record's ts is unparseable → malformed.
Also: what about records with ts before `since` — dropped, not malformed. Count them as "dropped_by_since".
Output format: something readable. Maybe:
```
service count DEBUG INFO WARN ERROR p50 p95
api-gateway 1234 ...
```
Let me produce a table plus a summary. Also support `--json` output? Not required, keep it focused but maybe add `-o json`. The requirements say "prints, per service, ...". I'll add a `--json` flag as a small nicety — actually, keep scope tight but it's cheap and useful. I'll include it; it's a small addition. Hmm, the instruction says "small command-line tool". I'll include `--json` since it's ~10 lines and genuinely useful for piping. Let me include it but kee
…
== 0:
return None
if n == 1:
return sorted_values[0]
h = (n - 1) * q
lo = math.floor(h)
hi = math.ceil(h)
if lo == hi:
return sorted_values[lo]
return sorted_values[lo] + (h - lo) * (sorted_values[hi] - sorted_values[lo])
```
Parsing timestamp:
```python
def parse_ts(value):
if not isinstance(value, str):
raise ValueError("ts is not a string")
text = value.strip()
if text.endswith(("Z", "z")):
text = text[:-1] + "+00:00"
dt = datetime.fromisoformat(text)
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
```
Note: Python 3.11+ `fromisoformat` handles 'Z' natively; the manual replacement keeps it working on 3.7–3.10. Good to mention.
Record validation:
```python
class Malformed(Exception):
def __init__(self, reason):
self.reason = reason
```
```python
def parse_record(line):
"""Return (record_dict, None) or (None, reason)."""
try:
obj = jsonWięcej przebiegów tego modelu na tym sprzęcie
- 197tok/sllama.cpp · b12992+pr33412+pr33695 · UD-Q3_K_XLkontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegjr95 · 4 gru 2026
- 130tok/sllama.cpp · b12992+pr33412+pr33695 · UD-Q3_K_XLkontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegjr95 · 4 gru 2026
- 121tok/sllama.cpp · b12992+pr33412+pr33702 · UD-Q3_K_XLkontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegjr95 · 4 gru 2026
- 95.6tok/sllama.cpp · b12969-74e7f44650e264c311e777cd894e24f9847dc050 · UD-IQ4_XSkontekst 16K · głębokość 0 · partia 1Zweryfikowany przebiegcheezz · 4 gru 2026
