速度テストモデルベンチマークレンタルレポートハードウェアデコード計算機組織ProAPIドキュメント送信
言語
Actual Computer — Every computer, one endpoint

速度テスト

gemma-4-E4B-it

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

Sandberg検証済み2026/10/31

デコード

77.4tok/s

プリフィル

11.5ktok/s

最初のトークンまでの時間

20ms

合計

112tok/s

ピーク VRAM

22.7GB

コンテキスト長

128K

KV 深度

0

バッチサイズ

1

同時実行数

1

消費電力

415W

検証

未検証 — 実験的な結果

検証済みの実行は標準テストプロンプトを使い、結果を確認できるだけのデータを記録しています。

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

起動コマンド

vllm serve google/gemma-4-e4b-it --max-model-len 131072 --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
数
1
VRAM
24 GB
OS
Ubuntu 24.04.5

エンジン

エンジン
vllm
バージョン
0.32.0
Build
vllm/vllm-openai:v0.32.0-x86_64
量子化
BF16
バックエンド
cuda
TP
1
KVキャッシュ
auto
GPUメモリ使用率
0.94
プレフィックスキャッシュ
はい
最大実行シーケンス数
128

実行設定

コンテキスト
131,072 トークン
深度
0 トークン
バッチサイズ
1
プロンプトトークン
230
プリフィル tok/s
11.5K tok/s
消費電力
415 W
出力トークン
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.3-77.4 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,822 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 ServiceStats:
    """Holds aggregated statistics for a single service."""
    def __init__(self):
        # {level: count}
        self.level_counts = defaultdict(int)
        # List of latencies for percentile calculation
        self.latencies = []

    def add_record(self, record):
        """Updates stats based on a parsed log record."""
        level = record['level']
        self.level_counts[level] += 1
        
        if 'latency_ms' in record and record['latency_ms'] is not None:
            self.latencies.append(record['latency_ms'])

    def calculate_percentiles(self):
        """Calculates p50 and p95 for recorded latencies."""
        if not self.latencies:
            return None, None
        
        # Sort the latencies to calculate percentiles
        sorted_latencies = sorted(self.latencies)
        n = len(sorted_latencies)
        
        # Calculate index for p50 (median) and p95
        # Using the nearest-rank method (common for small datasets)
        p50_index = int(0.50 * n)
        p95_index = int(0.95 * n)
        
        # Ensure indices are within bounds (especially for n=1)
        p50 = sorted_latencies[min(p50_index, n - 1)]
        p95 = sorted_latencies[min(p95_index, n - 1)]
        
        return p50, p95

    def get_report(self):
        """Generates the formatted report for this service."""
        p50, p95 = self.calculate_percentiles()
        
        report = {"level_counts": dict(self.level_counts)}
        
        if p50 is not None:
            report["latency_p50"] = f"{p50:.2f}ms"
            report["latency_

このハードウェアでのこのモデルの他の実行