Kiểm tra tốc độ
Qwen4-35B-A3B-GGUF
RTX PRO 6000 Blackwell Workstation Edition 96GB · llama.cpp · UD-Q8_K_XL
Decode
149tok/s
Prefill
2.3ktok/s
Thời gian đến token đầu tiên
109ms
Tổng
215tok/s
VRAM đỉnh
63,5GB
Độ dài ngữ cảnh
256K
Độ sâu KV
0
Kích thước batch
1
Đồng thời
1
Công suất tiêu thụ
246W
Xác minh
Lượt chạy đã xác minhLệnh khởi chạy
/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.0Theoretical 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 confidenceThe 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
Phần cứng
- GPU
- RTX PRO 6000 Blackwell Workstation Edition
- Số lượng
- 1
- VRAM
- 96 GB
- OS
- linux
Engine
- Engine
- llama.cpp
- Quant
- UD-Q8_K_XL
- Backend
- cuda
- GPU layers
- 999
- Prefill chunk
- 512
- Flash Attn
- có
- Spec decode
- bật
- MTP
- bật
Cấu hình chạy
- Context
- 262.144 tokens
- Độ sâu
- 0 tokens
- Kích thước batch
- 1
- Prompt tokens
- 251
- Prefill tok/s
- 2,299.2 tok/s
- Công suất tiêu thụ
- 246 W
- Output tokens
- 512
- Ghi chú
- blackwall 2.6.0, run 20261204-085952-qwen4-35b-a3b-think-gguf: canonical prompt, single request, greedy, the server's default reasoning effort.
Giải mã suy đoán
- Phương pháp
- MTP
- Được chấp nhận mỗi bước
- 2,13 token
- Tỷ lệ chấp nhận
- 57%
- Token nháp
- 479
- Token được chấp nhận
- 271
Bằng chứng đã ghi
- Mã băm prompt (SHA-256)
- a737db738bd4…
Mẫu 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.
Mẫu đầu ra · 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)Các lượt chạy khác của mô hình này trên phần cứng này
- 165tok/sllama.cpp · UD-Q8_K_XLNgữ cảnh 256K · độ sâu 0 · batch 1Lượt chạy đã xác minhguitaripod · 4 thg 12, 2026
- 153tok/sllama.cpp · UD-Q8_K_XLNgữ cảnh 256K · độ sâu 0 · batch 1Lượt chạy đã xác minhguitaripod · 4 thg 12, 2026
- 143tok/sllama.cpp · UD-Q8_K_XLNgữ cảnh 256K · độ sâu 0 · batch 1Lượt chạy đã xác minhguitaripod · 5 thg 12, 2026
- 136tok/sllama.cpp · UD-Q8_K_XLNgữ cảnh 256K · độ sâu 0 · batch 1Lượt chạy đã xác minhguitaripod · 4 thg 12, 2026
- 129tok/sllama.cpp · UD-Q8_K_XLNgữ cảnh 256K · độ sâu 0 · batch 1Lượt chạy đã xác minhguitaripod · 5 thg 12, 2026
