速度測試
Qwen3.8-27B-GGUF
RTX 3090 24GB · llama.cpp · dspine fork, commit d493f84 (Ajay9o9/llama.cpp) · GGUF UD-Q4_K_M
解碼
141tok/s
預填
838tok/s
首個 token 延遲
276ms
總計
190tok/s
峰值 VRAM
23GB
上下文長度
128K
KV 深度
0
批次大小
1
並行數
1
功耗
390W
驗證
已驗證執行啟動命令
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
模型
- GPU
- RTX 3090
- 數量
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
引擎
- 引擎
- llama.cpp
- 版本
- 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
- 量化
- GGUF UD-Q4_K_M
- 後端
- cuda
- TP
- 1
- GPU 層
- 99
- KV 快取
- q4_0
- Prefix caching
- 是
- Max running seqs
- 1
- Flash Attn
- 是
- Spec decode
- 已啟用
執行設定
- 上下文
- 131,072 個 token
- 深度
- 0 個 token
- 批次大小
- 1
- 提示詞 token
- 231
- 預填 tok/s
- 837.8 tok/s
- 功耗
- 390 W
- 輸出 token
- 512
- 備註
- 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.
推測解碼
- 方法
- DSpine (draft-dflash)
- 每步接受數
- 7.04 個 token
- 接受率
- 40%
- 草稿 token
- 1,082
- 已接受 token
- 436
已記錄的證據
- 提示詞雜湊(SHA-256)
- a737db738bd4…
提示詞樣本 · 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.
輸出樣本 · 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': {此模型在此硬體上的更多執行
- 133tok/sllama.cpp · dspine fork, commit d493f84 (Ajay9o9/llama.cpp) · GGUF UD-Q4_K_M上下文 128K · 深度 0 · 批次 1已驗證執行Sandberg · 2026年11月8日
- 82.7tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XL上下文 24K · 深度 42 · 批次 1已驗證執行chiming · 2026年9月4日
- 81.9tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XL上下文 24K · 深度 42 · 批次 1已驗證執行chiming · 2026年9月4日
- 80.4tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XL上下文 24K · 深度 42 · 批次 1已驗證執行chiming · 2026年9月4日
- 73.0tok/sbunn-llama · Q4_K_XL上下文 2K · 深度 1,044 · 批次 1Lottolabs · 2026年8月16日
- 64.8tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XL上下文 24K · 深度 42 · 批次 1已驗證執行chiming · 2026年9月4日
- 54.5tok/sllama.cpp · llama.cpp mainline 22b8e31 (sm86+89) · Q8_0上下文 2K · 深度 0 · 批次 1fordp3p3 · 2026年8月15日
- 52.7tok/sllama.cpp · llama.cpp mainline 22b8e31 (sm86+89) · Q8_0上下文 2K · 深度 0 · 批次 1fordp3p3 · 2026年8月15日
- 51.6tok/sllama.cpp · llama.cpp custom build 9d57ce4 (0.1.0-dev, MTP) · Q8_0上下文 2K · 深度 0 · 批次 1fordp3p3 · 2026年8月15日
- 51.5tok/sllama.cpp · Q6_K_XL上下文 2K · 深度 0 · 批次 1GuilhermeCBR · 2026年8月15日
