Snelheidstest
LFM2.5-8B-A1B
RTX PRO 6000 Blackwell Max-Q Workstation Edition 96GB · vllm · v0.26.0 · BF16
Decode
330tok/s
Prefill
12.1ktok/s
Tijd tot eerste token
18ms
Totaal
366tok/s
Piek-VRAM
—
Contextlengte
32K
KV-diepte
0
Batchgrootte
1
Gelijktijdigheid
1
Stroomverbruik
—
Verificatie
Geverifieerde runStartcommando
vllm serve LiquidAI/LFM2.5-8B-A1B --max-model-len 32768 --gpu-memory-utilization 0.90
Theoretical memory ceiling
894.8–896.0 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 16.00 GB model weights · 16-bit KV cache · 1–223 tokens of context
37–37%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from LiquidAI/LFM2.5-8B-A1B; size from BF16 estimate. Hardware source · Open calculator
Hardware
- GPU
- RTX PRO 6000 Blackwell Max-Q Workstation Edition
- Aantal
- 1
- VRAM
- 96 GB
- OS
- Ubuntu 26.04.1 LTS
Engine
- Engine
- vllm
- Versie
- 0.26.0
- Quant
- BF16
- Backend
- cuda
- TP
- 1
- GPU mem util
- 0.9
- Prefix caching
- ja
- Chunked prefill
- ja
Run config
- Context
- 32.768 tokens
- Diepte
- 0 tokens
- Batchgrootte
- 1
- Prompttokens
- 223
- Prefill tok/s
- 12.1K tok/s
- Outputtokens
- 2048
- Notities
- PureTensor lab, tensor-core: RTX PRO 6000 Blackwell Max-Q (300 W) cards on PCIe 5.0 x16, Threadripper PRO 9975WX, 512 GB DDR5. Host P2P settings (amd_iommu=off, NVIDIA P2P registry keys). CPU in a performance window (boost on, performance governor, C2 off). Thinking off. Stock vLLM 0.26.0 defaults, one card, BF16 weights, no speculative decoding. Batch 1, temperature 0, streamed; median of 5 runs after 2 warmups.
Vastgelegd bewijs
- Prompt-hash (SHA-256)
- a737db738bd4…
Promptvoorbeeld · 826 chars
[LocalMaxxing cache-bust nonce: 39c931562b19a8144b985a0c54ce99ad] 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.
Uitvoervoorbeeld · 4,000 chars
<think>
We need to produce answer: implement a small command-line tool in Python called logtally with described functionality, using only standard library. Then after the code, explain in two or three sentences how percentiles were computed and why that method was chosen, and list three edge cases a unit test suite should cover.
We must not add extra commentary beyond that. No markdown unless requested? The instruction says avoid formatting unless explicitly asked. The user didn't ask for markdown, but they gave code block example? They said "After the code, explain...". Usually we can provide plain text. But we might include code fences? The instruction says avoid formatting unless explicitly asked. So we should not use markdown formatting like triple backticks? That is formatting. However many solutions include code blocks. The instruction says "Do NOT use formatting (bold, italic, underline, markdown) unless explicitly asked by the user." So we must not use markdown. That means we cannot wrap code in triple backticks. We need to present code as plain text, maybe preceded by something like "def main(): ..." etc. Provide explanation after.
Thus we will output plain text with code lines, no markdown fences. Then explanation sentences, then list three edge cases separated by commas or semicolons? Probably each on its own line.
We need to ensure we meet all requirements:
- Reads newline-delimited JSON logs from stdin.
- For each service, compute count of records by level (DEBUG, INFO, WARN, ERROR). Also compute p50 and p95 of latency_ms across records where latency_ms present (ignore missing). Output per service: counts per level, and p50, p95.
- Malformed lines must be counted and reported at the end, never crash. So we can have a malformed counter.
- Support --since <ISO timestamp> flag that drops earlier records. So parse timestamps, compare.
- Use only standard library: json, argparse, datetime, collections.defaultdict, etc.
Implementation steps:
- Parse args: since_start (optional). Convert to datetime object.
- Read sys.stdin lines, iterate.
- For each line, strip; if empty skip.
- Try json.loads; if fails, increment malformed count.
- Validate required fields: ts, level, service. If missing, maybe treat as malformed? Not specified; could ignore or treat as malformed. Safer to treat as malformed.
- Determine if record's ts >= since_start (if provided). If not, skip.
- Keep data structures: dict mapping service -> {counts: Counter, latencies: list}. Or separate dicts.
- After processing, for each service compute sorted latencies list, then compute p50 = median of first half, p95 = median of second half. Since we need approximate percentile, we can use simple linear interpolation method: sort latencies, find indices low = len//2 -1, high = 3*len//2 -1, average values. Or use statistics.quantiles? Not allowed external libs. So implement manually.
- Output: maybe format like:
service_name:
DEBUG: 5
INFO: 12
WARN: 3
ERROR: 1
p50: X ms
p95: Y ms
Then after loop, print total malformed count.
Edge cases for unit tests: 1) Lines with missing required fields or invalid JSON should be counted as malformed and not affect other stats. 2) Records with same timestamp as since_start should be included. 3) Empty input file or no valid records should handle gracefully.
We'll write concise code.
Now produce final answer: first code block (plain text). Then explanation sentence(s) and list of three edge cases.
Make sure no markdown. Provide plain text.
Let's craft:
logtally.py
import sys, json, argparse, datetime
from collections import defaultdict, Counter
def parse_iso(tstr):
return datetime.datetime.fromisoformat(tstr)
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--since', help='cut off before this timestamp')
args = parser.parse_args()
since = None
if args.since:
try:
since = parse_iso(args.since)
except ValueError:
