Uji kecepatanModelTolok UkurSewaLaporanHardwareKalkulator decodeOrganisasiProDokumen APIKirim
Bahasa
Actual Computer — Every computer, one endpoint

Uji kecepatan

Qwen3.5-27B-AWQ-4bit

RTX 3090 24GB · vllm · v0.32.0 · AWQ 4-bit

SandbergTerverifikasi31 Okt 2026Run terverifikasi

Decode

43.6tok/s

Prefill

1.6ktok/s

Waktu ke token pertama

147ms

Total

62.6tok/s

VRAM puncak

20,6GB

Panjang konteks

64K

Kedalaman KV

0

Ukuran batch

1

Konkurensi

1

Konsumsi daya

348W

Verifikasi

Run terverifikasi

Luncurkan perintah

vllm serve cyankiwi/Qwen3.5-27B-AWQ-4bit --max-model-len 65536 --gpu-memory-utilization 0.94 --max-num-seqs 29 --enable-prefix-caching --trust-remote-code --language-model-only --kv-cache-dtype int4_per_token_head --attention-backend TRITON_ATTN --max-cudagraph-capture-size 16

Theoretical memory ceiling

65.4–65.4 tok/s

936.2 GB/s memory bandwidth (spec sheet) · 14.00 GB model weights · 4-bit KV cache · 1–233 tokens of context

67–67%

of the ceiling reached

Medium confidence

The fastest this hardware's memory could serve a single request; real runs are slower. Model details from cyankiwi/Qwen3.5-27B-AWQ-4bit; size from AWQ 4-bit estimate. Hardware source · Open calculator

Hardware

GPU
RTX 3090
Menghitung
1
VRAM
24 GB
OS
Ubuntu 24.04.5

Engine

Engine
vllm
Versi
0.32.0
Build
vllm/vllm-openai:v0.32.0-x86_64
Quant
AWQ 4-bit
Bagian belakang
cuda
TP
1
Tembolok KV
int4_per_token_head
utilitas mem GPU
0.94
Cache awalan
ya
Seq run maksimal
29
Attn
TRITON_ATTN

Jalankan konfigurasi

Konteks
Token 65.536
Kedalaman
Token 0
Ukuran kumpulan
1
Token yang cepat
233
Isi awal tok/s
1,590.6 tok/s
Konsumsi daya
348 W
Token keluaran
512
Catatan
Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: none. KV cache: int4_per_token_head. 1x RTX 3090 24GB (Zagitta/gpu-unlock), 350 W limit (VBIOS max), PCIe Gen4 x16 | AMD Ryzen 9 7900X 12C | 32 GB DDR5 | Ubuntu 24.04.5, NVIDIA driver 595.99.02. Method: LocalMaxxing canonical prompt code-v1, batch 1, streaming, temperature 0, 512 output tokens (ignore_eos), cache-bust nonce so every prefill is cold, thinking off. Median of 5 runs (range 43.6-43.6 tok/s). tokSOut = (completion - 1) / time after first token.

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,975 chars
```python
#!/usr/bin/env python3
"""
logtally: A command-line tool to aggregate JSON log records from stdin.
"""

import argparse
import json
import sys
from collections import defaultdict
from datetime import datetime
from typing import List, Dict, Any, Optional

def parse_args():
    parser = argparse.ArgumentParser(description="Tally log records from stdin.")
    parser.add_argument("--since", type=str, help="ISO-8601 timestamp to filter records (inclusive).")
    return parser.parse_args()

def parse_timestamp(ts_str: str) -> Optional[datetime]:
    """Parses an ISO-8601 string, handling common variations."""
    try:
        # Handle 'Z' suffix by replacing with +00:00 for fromisoformat compatibility
        if ts_str.endswith('Z'):
            ts_str = ts_str[:-1] + '+00:00'
        return datetime.fromisoformat(ts_str)
    except (ValueError, TypeError):
        return None

def calculate_percentile(data: List[float], percentile: float) -> Optional[float]:
    """
    Calculates the percentile using the linear interpolation method.
    Returns None if the list is empty.
    """
    if not data:
        return None
    
    sorted_data = sorted(data)
    n = len(sorted_data)
    
    # Calculate the index
    # Using the "exclusive" method (common in many stats libraries) or simple linear interpolation
    # Formula: index = (percentile / 100) * (n - 1)
    index = (percentile / 100) * (n - 1)
    
    lower_idx = int(index)
    upper_idx = lower_idx + 1
    
    if upper_idx >= n:
        return sorted_data[-1]
    
    fraction = index - lower_idx
    return sorted_data[lower_idx] + fraction * (sorted_data[upper_idx] - sorted_data[lower_idx])

def main():
    args = parse_args()
    
    # Filter threshold
    since_dt = None
    if args.since:
        since_dt = parse_timestamp(args.since)
        if since_dt is None:
            print(f"Error: Invalid --since timestamp format: {args.since}", file=sys.stderr)
            sys.exit(1)

Run lain dari model ini di hardware ini