Uji kecepatanModelTolok UkurSewaLaporanHardwareKalkulator decodeOrganisasiProDokumen APIKirim
Bahasa
Actual Computer — Every computer, one endpoint

Uji kecepatan

Qwen4-35B-A3B-GGUF

RTX PRO 6000 Blackwell Workstation Edition 96GB · llama.cpp · UD-Q8_K_XL

guitaripodTerverifikasi4 Des 2026Run terverifikasi

Decode

149tok/s

Prefill

2.3ktok/s

Waktu ke token pertama

109ms

Total

215tok/s

VRAM puncak

63,5GB

Panjang konteks

256K

Kedalaman KV

0

Ukuran batch

1

Konkurensi

1

Konsumsi daya

246W

Verifikasi

Run terverifikasi

Luncurkan perintah

/mnt/nvme8tb/llama-build/llama.cpp-qwen4/build/bin/llama-server --host 127.0.0.1 --port ${PORT} -ngl 999 --flash-attn on --jinja --threads 8 -m /mnt/nvme8tb/llama-models/Qwen4-35B-A3B-GGUF/UD-Q8_K_XL/Qwen4-35B-A3B-UD-Q8_K_XL-00001-of-00002.gguf --ctx-size 262144 --parallel 8 --kv-unified --batch-size 2048 --ubatch-size 512 --spec-type draft-mtp --spec-draft-n-max 2 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0.0

Theoretical memory ceiling

1,577.9–1,585.1 tok/s

1,792 GB/s memory bandwidth (spec sheet) · 40.53 GB model weights · 16-bit KV cache · 1–251 tokens of context

Includes speculative decoding: 2.13 tokens accepted per model step on average (740.3–743.6 steps/s) · measured 69.7 steps/s

9–9%

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

Hardware

GPU
RTX PRO 6000 Blackwell Workstation Edition
Menghitung
1
VRAM
96 GB
OS
linux

Engine

Engine
llama.cpp
Quant
UD-Q8_K_XL
Bagian belakang
cuda
GPU layers
999
Potongan yang sudah diisi sebelumnya
512
Flash Attn
ya
Dekode spesifikasi
aktif
MTP
aktif

Jalankan konfigurasi

Konteks
Token 262.144
Kedalaman
Token 0
Ukuran kumpulan
1
Token yang cepat
251
Isi awal tok/s
2,299.2 tok/s
Konsumsi daya
246 W
Token keluaran
512
Catatan
blackwall 2.6.0, run 20261204-085952-qwen4-35b-a3b-think-gguf: canonical prompt, single request, greedy, the server's default reasoning effort.

Decoding spekulatif

Metode
MTP
Diterima per langkah
2,13 token
Tingkat penerimaan
57%
Token draf
479
Token diterima
271

Bukti terekam

Hash prompt (SHA-256)
a737db738bd4…
Sampel 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.
Sampel output · 2,159 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 counts per (service, level), collect latency samples per service.
- Percentiles: I'll implement a nearest-rank / linear interpolation method. Let me pick "linear interpolation between closest ranks" (the same as numpy's default, R-7) — but for streaming, storing all latencies could be memory heavy. I should mention that. Options: reservoir sampling or exact storage. For a small tool, exact storage is fine but I should note memory. Actually let me be honest about the tradeoff and store exact samples, with a note. Or implement a bounded approach.

Hmm, the requirement says "never crash the program" for malformed lines. Let me be careful about robustness:
- JSON decode errors
- non-dict records
- missing/invalid fields
- invalid level
- latency_ms that's a bool (bool is subclass of int in Python — should reject), NaN/inf, negative
- ts parse failures
- --since parse failure → should error out clearly (exit code 2) rather than crash with traceback
- Broken pipe handling (e.g., `| head`) — worth handling
- Unicode errors on stdin

Percentile method: I'll use linear interpolation (R-7 / numpy default) on sorted samples. Explain why: standard, matches numpy/pandas so results are comparable, and for p95 with small n it degrades gracefully. Also mention nearest-rank alternative.

Edge cases for tests: three of them.

Let me write the code.

```python
#!/usr/bin/env python3
"""logtally - aggregate newline-delimited JSON log records from stdin."""

from __future__ import annotations

import argparse
import json
import math
import sys
from collections import defaultdict
from dataclasses import dataclass, field
from datetime import datetime, timezone
from typing import Any, Iterable, Iterator

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

Parsing timestamps: ISO-8601. Python 3.11+ `datetime.fromisoformat` handles 'Z'. For older versions, need to replace 'Z' with '+00:00'. I'll write a helper that handles both, and normalizes naive timestamps to UTC (assume UTC)

Run lain dari model ini di hardware ini