स्पीड टेस्टमॉडलबेंचमार्करेंटलरिपोर्टहार्डवेयरडिकोड कैलकुलेटरसंगठनProAPI दस्तावेज़सबमिट करें
भाषा
Actual Computer — Every computer, one endpoint

स्पीड टेस्ट

gemma-4-E4B-it

RTX 3090 24GB · vllm · v0.32.0 · BF16

Sandbergसत्यापित30 अक्टू॰ 2026

डिकोड

77.3tok/s

प्रीफ़िल

11.3ktok/s

पहले टोकन तक का समय

20ms

कुल

112tok/s

पीक VRAM

17.5GB

कॉन्टेक्स्ट लंबाई

112K

KV गहराई

0

बैच आकार

1

समवर्तीता

1

बिजली खपत

416W

सत्यापन

असत्यापित — प्रयोगात्मक परिणाम

सत्यापित रन एक मानक टेस्ट प्रॉम्प्ट का उपयोग करते हैं और परिणाम जाँचने के लिए पर्याप्त डेटा दर्ज करते हैं।

  • The reported 77.3 tok/s is above the estimated maximum of 58.5 tok/s for this model on RTX 3090.

Launch command

vllm serve google/gemma-4-e4b-it --max-model-len 114688 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code --language-model-only

Theoretical memory ceiling

58.4–58.5 tok/s

936.2 GB/s memory bandwidth (spec sheet) · 16.00 GB model weights · 16-bit KV cache · 1–230 tokens of context

132–132%

of the ceiling reached

Medium confidence

The fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-E4B-it; size from BF16 estimate. Hardware source · Open calculator

हार्डवेयर

GPU
RTX 3090
Count
1
VRAM
24 GB
OS
Ubuntu 24.04.5

इंजन

इंजन
vllm
Version
0.32.0
Build
vllm/vllm-openai:v0.32.0-x86_64
Quant
BF16
Backend
cuda
TP
1
KV cache
auto
GPU mem util
0.94
Prefix caching
हाँ
Max running seqs
128

Run config

Context
1,14,688 tokens
गहराई
0 tokens
Batch size
1
Prompt tokens
230
Prefill tok/s
11.3K tok/s
विद्युत खपत
416 W
Output tokens
512
नोट्स
Untuned out-of-the-box baseline (same server config as our LMX matrix for this model). Spec decode: none. KV cache: auto (bf16). 1x RTX 3090 24GB (Zagitta/gpu-unlock), 420 W limit, PCIe Gen3 x16 | Intel Core i7-9700K 8C | 32 GB DDR4 | Ubuntu 24.04.5, NVIDIA driver 580.178.04. 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 77.2-77.3 tok/s). tokSOut = (completion - 1) / time after first token.

दर्ज साक्ष्य

प्रॉम्प्ट हैश (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,946 chars
Here is the implementation of the `logtally` command-line tool.

```python
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
import statistics

# --- Data Structures ---

class LogRecord:
    """Represents a parsed log entry."""
    def __init__(self, ts: datetime, level: str, service: str, latency_ms: float = None):
        self.ts = ts
        self.level = level
        self.service = service
        self.latency_ms = latency_ms

# --- Core Logic ---

def parse_log_line(line: str) -> tuple[LogRecord | None, bool]:
    """
    Parses a single JSON line into a LogRecord.
    Returns (LogRecord, is_valid)
    """
    try:
        data = json.loads(line.strip())
        
        # Basic validation
        if not all(k in data for k in ['ts', 'level', 'service']):
            return None, False

        # Parse timestamp
        try:
            ts = datetime.fromisoformat(data['ts'].replace('Z', '+00:00'))
        except ValueError:
            return None, False

        # Validate level
        valid_levels = {'DEBUG', 'INFO', 'WARN', 'ERROR'}
        level = data['level'].upper()
        if level not in valid_levels:
            return None, False

        # Parse latency (optional)
        latency = None
        if 'latency_ms' in data and isinstance(data['latency_ms'], (int, float)):
            latency = float(data['latency_ms'])

        return LogRecord(ts, level, data['service'], latency), True

    except json.JSONDecodeError:
        return None, False
    except Exception:
        # Catch any other unexpected parsing errors
        return None, False

def calculate_percentile(data: list[float], percentile: float) -> float:
    """
    Calculates the specified percentile of a list of numbers.
    Uses the nearest-rank method (common for small datasets).
    """
    if not data:
        return 0.0
    
    data_sorted = sorted(data)
    k = (len(data_

इस हार्डवेयर पर इस मॉडल के और runs