Uji kecepatan
Qwen3.8-27B-GGUF
RTX 3090 24GB · llama.cpp · dspine fork, commit d493f84 (Ajay9o9/llama.cpp) · GGUF UD-Q4_K_M
Decode
141tok/s
Prefill
838tok/s
Waktu ke token pertama
276ms
Total
190tok/s
VRAM puncak
23GB
Panjang konteks
128K
Kedalaman KV
0
Ukuran batch
1
Konkurensi
1
Konsumsi daya
390W
Verifikasi
Run terverifikasiLuncurkan perintah
llama-server -m Qwen3.8-27B-UD-Q4_K_M.gguf -md Qwen3.8-27B-DSpine-b16-Q8_0-bf16bridge.gguf --spec-type draft-dflash --spec-draft-n-max 15 -ngl 99 -c 131072 -np 1 -fa on --cache-type-k q4_0 --cache-type-v q4_0 --jinja
Theoretical memory ceiling
351.2–351.8 tok/s
936.2 GB/s memory bandwidth (spec sheet) · 16.56 GB model weights · 4.5-bit KV cache · 1–231 tokens of context
Includes speculative decoding: 7.04 tokens accepted per model step on average (49.9–49.9 steps/s) · measured 20.0 steps/s
40–40%
of the ceiling reached
High confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from unsloth/Qwen3.8-27B-GGUF; size from unsloth/Qwen3.8-27B-GGUF/Qwen3.8-27B-UD-Q4_K_M.gguf. Hardware source · Open calculator
Hardware
- GPU
- RTX 3090
- Menghitung
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
Engine
- Engine
- llama.cpp
- Versi
- dspine fork, commit d493f84 (Ajay9o9/llama.cpp)
- Repository
- https://github.com/Ajay9o9/llama.c…
- Build
- source build d493f841b20241606c47a4e0537d3c786b5cf50b, GGML_CUDA=ON, CMAKE_CUDA_ARCHITECTURES=86, CUDA 12.9
- Quant
- GGUF UD-Q4_K_M
- Bagian belakang
- cuda
- TP
- 1
- GPU layers
- 99
- Tembolok KV
- q4_0
- Cache awalan
- ya
- Seq run maksimal
- 1
- Flash Attn
- ya
- Dekode spesifikasi
- aktif
Jalankan konfigurasi
- Konteks
- Token 131.072
- Kedalaman
- Token 0
- Ukuran kumpulan
- 1
- Token yang cepat
- 231
- Isi awal tok/s
- 837.8 tok/s
- Konsumsi daya
- 390 W
- Token keluaran
- 512
- Catatan
- Rig: Phantex: Intel Core i7-9700K, 32 GB DDR4, Ubuntu 24.04.5, driver 580.178.04, PCIe Gen3 x16. 1x RTX 3090 24 GB (sm_86), power limit 420 W. Engine: llama.cpp built from Ajay9o9's dspine branch (commit d493f84, one commit on upstream llama.cpp adding the DSpine drafter graph), CUDA 12.9, sm_86. BF16/FP16 tensor-core rate unlocked with the open-source gpu-unlock kernel module (Zagitta/gpu-unlock; outputs bit-identical to stock in our checks). Target: unsloth's Qwen3.8-27B UD-Q4_K_M GGUF, all layers on GPU, flash attention, q4_0 K/V cache, 131,072-token context, 1 slot. Speculative decoding: Tencent's DSpine drafter (tencent/Qwen3.8-27B-DSpine-b16, Apache-2.0; a DFlash-style block drafter, 5 layers, block 16), converted with the fork's convert_hf_to_gguf.py and quantized to Q8_0 with llama-quantize, which keeps the dspine_* bridge projections in BF16; up to 15 draft tokens per step. Thanks to Tencent for DSpine, Ajay9o9 for the llama.cpp port, unsloth for the GGUF and the ggml-org llama.cpp team. Method: LocalMaxxing canonical prompt code-v1, batch 1, streaming, temperature 0, 512 output tokens (ignore_eos), cold prefill, thinking off. Median of 5 runs (range 136.3-146.9 tok/s). tokSOut = (completion - 1) / time after first token. gpuPowerWatts: mean per-card board power over the config's runs (nvidia-smi 2 s). peakVramGb: sum of per-card peaks.
Decoding spekulatif
- Metode
- DSpine (draft-dflash)
- Diterima per langkah
- 7,04 token
- Tingkat penerimaan
- 40%
- Token draf
- 1.082
- Token diterima
- 436
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 · 1,837 chars
```python
#!/usr/bin/env python3
"""logtally: A small command-line tool to tally log records from stdin."""
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
def parse_iso8601(ts_str):
"""Parse an ISO-8601 timestamp string to a datetime object."""
# Handle common ISO-8601 formats
# Python 3.7+ fromisoformat handles most cases, but let's be robust
try:
# Handle 'Z' suffix by replacing with '+00:00'
if ts_str.endswith('Z'):
ts_str = ts_str[:-1] + '+00:00'
return datetime.fromisoformat(ts_str)
except (ValueError, TypeError):
return None
def compute_percentile(sorted_data, percentile):
"""
Compute the given percentile (0-100) from a sorted list of numbers.
Uses the linear interpolation method (same as numpy's default 'linear').
"""
if not sorted_data:
return None
if len(sorted_data) == 1:
return sorted_data[0]
# Rank: (n-1) * p/100
n = len(sorted_data)
rank = (n - 1) * (percentile / 100.0)
lower = int(rank)
upper = lower + 1
if upper >= n:
return sorted_data[-1]
fraction = rank - lower
return sorted_data[lower] + fraction * (sorted_data[upper] - sorted_data[lower])
def main():
parser = argparse.ArgumentParser(description="Tally log records from stdin.")
parser.add_argument(
'--since',
type=str,
default=None,
help='Only include records with ts >= this ISO-8601 timestamp'
)
args = parser.parse_args()
since_dt = None
if args.since:
since_dt = parse_iso8601(args.since)
if since_dt is None:
print("Error: Invalid --since timestamp", file=sys.stderr)
sys.exit(1)
# Data structures
# service -> { 'levels': {Run lain dari model ini di hardware ini
- 133tok/sllama.cpp · dspine fork, commit d493f84 (Ajay9o9/llama.cpp) · GGUF UD-Q4_K_MKonteks 128K · kedalaman 0 · batch 1Run terverifikasiSandberg · 8 Nov 2026
- 82.7tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XLKonteks 24K · kedalaman 42 · batch 1Run terverifikasichiming · 4 Sep 2026
- 81.9tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XLKonteks 24K · kedalaman 42 · batch 1Run terverifikasichiming · 4 Sep 2026
- 80.4tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XLKonteks 24K · kedalaman 42 · batch 1Run terverifikasichiming · 4 Sep 2026
- 73.0tok/sbunn-llama · Q4_K_XLKonteks 2K · kedalaman 1,044 · batch 1Lottolabs · 16 Agu 2026
- 64.8tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XLKonteks 24K · kedalaman 42 · batch 1Run terverifikasichiming · 4 Sep 2026
- 54.5tok/sllama.cpp · llama.cpp mainline 22b8e31 (sm86+89) · Q8_0Konteks 2K · kedalaman 0 · batch 1fordp3p3 · 15 Agu 2026
- 52.7tok/sllama.cpp · llama.cpp mainline 22b8e31 (sm86+89) · Q8_0Konteks 2K · kedalaman 0 · batch 1fordp3p3 · 15 Agu 2026
- 51.6tok/sllama.cpp · llama.cpp custom build 9d57ce4 (0.1.0-dev, MTP) · Q8_0Konteks 2K · kedalaman 0 · batch 1fordp3p3 · 15 Agu 2026
- 51.5tok/sllama.cpp · Q6_K_XLKonteks 2K · kedalaman 0 · batch 1GuilhermeCBR · 15 Agu 2026
