速度測試
Qwen4-35B-A3B-GGUF
Radeon AI Pro R9700 32GB · llama.cpp · b12992+pr33412+pr33695 · UD-Q3_K_XL
解碼
130tok/s
預填
797tok/s
首個 token 延遲
317ms
總計
148tok/s
峰值 VRAM
20.5GB
上下文長度
32K
KV 深度
0
批次大小
1
並行數
1
功耗
—
驗證
已驗證執行啟動命令
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 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
模型
- GPU
- Radeon AI Pro R9700
- 數量
- 1
- VRAM
- 32 GB
- OS
- Linux Mint 22.3
引擎
- 引擎
- llama.cpp
- 版本
- 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
- 量化
- UD-Q3_K_XL
- 後端
- vulkan
- GPU 層
- 99
- KV 快取
- q8_0
- Prefill chunk
- 512
- Flash Attn
- 是
- Spec decode
- 已啟用
執行設定
- 上下文
- 32,768 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 252
- 預填 tok/s
- 797.1 tok/s
- 輸出 token
- 1536
- 修訂版本
- 93903a4ac761af2b3f55e5f42e42a5264031f542
- 提交工具
- lmx v0.1.69 speed-test submit
- 備註
- 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.
推測解碼
- 方法
- DFlash2
- 每步接受數
- 2.75 個 token
- 接受率
- 35%
- 草稿 token
- 2,793
- 已接受 token
- 975
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 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.
輸出樣本 · 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此模型在此硬體上的更多執行
- 197tok/sllama.cpp · b12992+pr33412+pr33695 · UD-Q3_K_XL上下文 32K · 深度 0 · 批次 1已驗證執行jr95 · 2026年12月4日
- 145tok/sllama.cpp · b12992+pr33412+pr33695 · UD-Q3_K_XL上下文 32K · 深度 0 · 批次 1已驗證執行jr95 · 2026年12月4日
- 121tok/sllama.cpp · b12992+pr33412+pr33702 · UD-Q3_K_XL上下文 32K · 深度 0 · 批次 1已驗證執行jr95 · 2026年12月4日
- 95.6tok/sllama.cpp · b12969-74e7f44650e264c311e777cd894e24f9847dc050 · UD-IQ4_XS上下文 16K · 深度 0 · 批次 1已驗證執行cheezz · 2026年12月4日
