Kiểm tra tốc độMô hìnhĐánh giá chuẩnCho thuêBáo cáoPhần cứngMáy tính decodeTổ chứcProTài liệu APIGửi
Ngôn ngữ
Actual Computer — Every computer, one endpoint

Kiểm tra tốc độ

Qwen4-35B-A3B-GGUF

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

jr95Đã xác minh4 thg 12, 2026Lượt chạy đã xác minh

Decode

130tok/s

Prefill

797tok/s

Thời gian đến token đầu tiên

317ms

Tổng

148tok/s

VRAM đỉnh

20,5GB

Độ dài ngữ cảnh

32K

Độ sâu KV

0

Kích thước batch

1

Đồng thời

1

Công suất tiêu thụ

—

Xác minh

Lượt chạy đã xác minh

Lệnh khởi chạy

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

Phần cứng

GPU
Radeon AI Pro R9700
Số lượng
1
VRAM
32 GB
OS
Linux Mint 22.3

Engine

Engine
llama.cpp
Phiên bản
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
Prefill chunk
512
Flash Attn
có
Spec decode
bật

Cấu hình chạy

Context
32.768 tokens
Độ sâu
0 tokens
Kích thước batch
1
Prompt tokens
252
Prefill tok/s
797.1 tok/s
Output tokens
1536
Revision
93903a4ac761af2b3f55e5f42e42a5264031f542
Gửi bằng
lmx v0.1.69 speed-test submit
Ghi chú
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.

Giải mã suy đoán

Phương pháp
DFlash2
Được chấp nhận mỗi bước
2,75 token
Tỷ lệ chấp nhận
35%
Token nháp
2.793
Token được chấp nhận
975

Bằng chứng đã ghi

Mã băm prompt (SHA-256)
a737db738bd4…
Mẫu 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.
Mẫu đầu ra · 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

Các lượt chạy khác của mô hình này trên phần cứng này