Teste de velocidade
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
Tempo até o primeiro token
276ms
Total
190tok/s
VRAM de pico
23GB
Tamanho do contexto
128K
Profundidade KV
0
Tamanho do lote
1
Concorrência
1
Consumo de energia
390W
Verificação
Execução verificadaComando de inicialização
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
- Quantidade
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
Engine
- Engine
- llama.cpp
- Versão
- 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
- Backend
- cuda
- TP
- 1
- Camadas de GPU
- 99
- KV cache
- q4_0
- Cache de prefixo
- sim
- Máx. seqs em execução
- 1
- Flash Attn
- sim
- Spec decode
- ativado
Configuração da execução
- Contexto
- 131.072 tokens
- Profundidade
- 0 tokens
- Tamanho do batch
- 1
- Tokens de prompt
- 231
- Prefill tok/s
- 837.8 tok/s
- Consumo de energia
- 390 W
- Tokens de saída
- 512
- Notas
- 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.
Decodificação especulativa
- Método
- DSpine (draft-dflash)
- Aceitos por etapa
- 7,04 tokens
- Taxa de aceitação
- 40%
- Tokens de rascunho
- 1.082
- Tokens aceitos
- 436
Evidências capturadas
- Hash do prompt (SHA-256)
- a737db738bd4…
Amostra do 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.
Amostra de saída · 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': {Mais execuções deste modelo neste hardware
- 133tok/sllama.cpp · dspine fork, commit d493f84 (Ajay9o9/llama.cpp) · GGUF UD-Q4_K_Mcontexto 128K · profundidade 0 · lote 1Execução verificadaSandberg · 8 de nov. de 2026
- 82.7tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XLcontexto 24K · profundidade 42 · lote 1Execução verificadachiming · 4 de set. de 2026
- 81.9tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XLcontexto 24K · profundidade 42 · lote 1Execução verificadachiming · 4 de set. de 2026
- 80.4tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XLcontexto 24K · profundidade 42 · lote 1Execução verificadachiming · 4 de set. de 2026
- 73.0tok/sbunn-llama · Q4_K_XLcontexto 2K · profundidade 1,044 · lote 1Lottolabs · 16 de ago. de 2026
- 64.8tok/sllama.cpp · v0.3.0-dev (build 1, commit d7bd3bf) · Q4_K_XLcontexto 24K · profundidade 42 · lote 1Execução verificadachiming · 4 de set. de 2026
- 54.5tok/sllama.cpp · llama.cpp mainline 22b8e31 (sm86+89) · Q8_0contexto 2K · profundidade 0 · lote 1fordp3p3 · 15 de ago. de 2026
- 52.7tok/sllama.cpp · llama.cpp mainline 22b8e31 (sm86+89) · Q8_0contexto 2K · profundidade 0 · lote 1fordp3p3 · 15 de ago. de 2026
- 51.6tok/sllama.cpp · llama.cpp custom build 9d57ce4 (0.1.0-dev, MTP) · Q8_0contexto 2K · profundidade 0 · lote 1fordp3p3 · 15 de ago. de 2026
- 51.5tok/sllama.cpp · Q6_K_XLcontexto 2K · profundidade 0 · lote 1GuilhermeCBR · 15 de ago. de 2026
