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

Uji kecepatan

Qwen4-35B-A3B-GGUF

RTX 3090 24GB · llama.cpp · b12681 + local patches (pi2 v7g) · UD-IQ4_XS

feveromoTerverifikasi4 Des 2026Run terverifikasi

Decode

202tok/s

Prefill

1.7ktok/s

Waktu ke token pertama

138ms

Total

—

VRAM puncak

22,6GB

Panjang konteks

192K

Kedalaman KV

0

Ukuran batch

1

Konkurensi

1

Konsumsi daya

—

Verifikasi

Run terverifikasi

Luncurkan perintah

llama-server --host 127.0.0.1 --port 8014 --n-gpu-layers all --fit off --no-context-shift --flash-attn on --batch-size 512 --threads 8 --threads-batch 8 --parallel 1 --cache-ram 0 --jinja --reasoning on --model Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf --ctx-size 196608 --cache-type-k q8_0 --cache-type-v q8_0 --ubatch-size 512 --ctx-checkpoints 8 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0.0 --repeat-penalty 1.0 --lazy-mode on --spec-type draft-mtp --spec-draft-n-max 2 --spec-draft-n-ubatch 16 --spec-draft-type-k q8_0 --spec-draft-type-v q8_0

Theoretical memory ceiling

1,622.2–1,629.9 tok/s

936.2 GB/s memory bandwidth (spec sheet) · 20.52 GB model weights · 8.5-bit KV cache · 1–250 tokens of context

Includes speculative decoding: 2.43 tokens accepted per model step on average (668.0–671.1 steps/s) · measured 83.2 steps/s

12–12%

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

Hardware

GPU
RTX 3090
Menghitung
1
VRAM
24 GB
OS
Ubuntu 26.04

Engine

Engine
llama.cpp
Versi
b12681 + local patches (pi2 v7g)
Commit
a13c9baa4
Quant
UD-IQ4_XS
Bagian belakang
cuda
GPU layers
99
Tembolok KV
q8_0
Potongan yang sudah diisi sebelumnya
512
Flash Attn
ya
Dekode spesifikasi
aktif
MTP
aktif

Jalankan konfigurasi

Konteks
Token 196.608
Kedalaman
Token 0
Ukuran kumpulan
1
Token yang cepat
250
Isi awal tok/s
1,719.3 tok/s
Token keluaran
512
Revisi
85a51187d937d87d799be9a10fa30732ee31432c
Catatan
Patched llama.cpp (local pi2 v7g branch: llama.cpp with Qwen4 PR #33626 cherry-picked, plus local CUDA patches: QSA gather attention for decode, raw q8_0 K/V in the int8 prefill FlashAttention kernel, qwen4exp decode kernel fusions, MoE mat-vec warp rows on sm_86). Not upstream master. 192K context loaded (196608), q8_0 KV, built-in MTP head with 2 draft tokens; n-gram drafting off for this test (it learns from earlier identical outputs, which would inflate repeated greedy runs). Engram table (shard 2) mmapped in host RAM via --lazy-mode on. Greedy, thinking off (chat_template_kwargs enable_thinking=false), 512 output tokens. Median of 3 runs after one warm-up; each request has a fresh cache-bust nonce (cache_n = 0). Peak VRAM is the llama-server process (nvidia-smi) at 192K context. RTX 3090 at its stock 350 W limit.

Decoding spekulatif

Metode
MTP
Diterima per langkah
2,43 token
Tingkat penerimaan
71%
Token draf
420
Token diterima
300

Bukti terekam

Hash prompt (SHA-256)
a737db738bd4…
Sampel prompt · 826 chars
[LocalMaxxing cache-bust nonce: 9763a897bed846548aed6b957b08dee8]
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,262 chars
```python
#!/usr/bin/env python3
"""logtally – aggregate newline-delimited JSON log records from stdin."""

import argparse
import json
import math
import sys
from collections import defaultdict
from datetime import datetime, timezone


# ---------------------------------------------------------------------------
# Percentile helpers
# ---------------------------------------------------------------------------

def percentile(sorted_data: list[float], p: float) -> float | None:
    """Return the *p*-th percentile (0-100) using linear interpolation.

    This is the "inclusive" method (equivalent to numpy's default /
    R type-7): the rank is  (n-1)*p/100, and we interpolate between the
    two surrounding values.
    """
    if not sorted_data:
        return None
    n = len(sorted_data)
    if n == 1:
        return sorted_data[0]
    rank = (n - 1) * (p / 100.0)
    lo = int(math.floor(rank))
    hi = int(math.ceil(rank))
    frac = rank - lo
    return sorted_data[lo] + frac * (sorted_data[hi] - sorted_data[lo])


# ---------------------------------------------------------------------------
# Record validation
# ---------------------------------------------------------------------------

VALID_LEVELS = {"DEBUG", "INFO", "WARN", "ERROR"}


def parse_record(raw: str) -> dict | None:
    """Try to parse *raw* into a valid log record.  Return None on failure."""
    try:
        obj = json.loads(raw)
    except (json.JSONDecodeError, ValueError):
        return None

    if not isinstance(obj, dict):
        return None

    # -- ts ------------------------------------------------------------------
    ts_str = obj.get("ts")
    if not isinstance(ts_str, str):
        return None
    try:
        ts = datetime.fromisoformat(ts_str)
    except (ValueError, TypeError):
        return None
    # normalise to aware UTC so comparisons always work
    if ts.tzinfo is None:
        ts = ts.replace(tzinfo=timezone.utc)

    # -- level ---------------------------------------------------------------
    level = obj.get("level")
    if not isinstance(level, str) or level not in VALID_LEVELS:
        return None

    # -- service -------------------------------------------------------------
    service = obj.get("service")
    if not

Run lain dari model ini di hardware ini