속도 테스트
gemma-4-12B-it-qat-w4a16-ct
RTX 3090 24GB · vllm · v0.32.0 · W4A16
디코드
86.0tok/s
프리필
4.5ktok/s
첫 토큰까지의 시간
52ms
합계
124tok/s
최대 VRAM
22.5GB
컨텍스트 길이
256K
KV 깊이
0
배치 크기
1
동시성
1
소비 전력
415W
검증
검증된 실행실행 명령
vllm serve google/gemma-4-12B-it-qat-w4a16-ct --max-model-len 262144 --gpu-memory-utilization 0.94 --max-num-seqs 128 --enable-prefix-caching --trust-remote-code --language-model-only
Theoretical memory ceiling
153.7–156.0 tok/s
936.2 GB/s memory bandwidth (spec sheet) · 6.00 GB model weights · 16-bit KV cache · 1–234 tokens of context
55–56%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-12B-it-qat-w4a16-ct; size from W4A16 estimate. Hardware source · Open calculator
모델
- GPU
- RTX 3090
- 개수
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04.5
엔진
- 엔진
- vllm
- 버전
- 0.32.0
- Repository
- https://github.com/vllm-project/vl…
- Build
- vllm/vllm-openai:v0.32.0-x86_64
- 양자화
- W4A16
- 백엔드
- cuda
- TP
- 1
- KV 캐시
- auto
- GPU 메모리 사용률
- 0.94
- 프리픽스 캐싱
- 예
- 최대 실행 시퀀스
- 128
실행 설정
- 컨텍스트
- 262,144 토큰
- 깊이
- 0 토큰
- 배치 크기
- 1
- 프롬프트 토큰
- 234
- 프리필 tok/s
- 4,520.9 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 85.9-86.0 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,960 chars
```python
import sys
import json
import argparse
from datetime import datetime
from collections import defaultdict
from typing import Dict, List
def parse_iso_datetime(dt_str: str) -> datetime:
# Handles common ISO formats; handles 'Z' suffix by replacing with +00:00
return datetime.fromisoformat(dt_str.replace('Z', '+00:00'))
def main():
parser = argparse.ArgumentParser(description="Tally log records by service and level.")
parser.add_argument("--since", help="ISO-8601 timestamp to filter records after.")
args = parser.parse_args()
since_dt = None
if args.since:
since_dt = parse_iso_datetime(args.since)
# Structure: {service: {level: count, "latencies": [list]}}
stats = defaultdict(lambda: {"counts": defaultdict(int), "latencies": []})
malformed_count = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
record = json.loads(line)
# Validate required fields
if not all(k in record for k in ("ts", "level", "service")):
malformed_count += 1
continue
# Filter by time
current_ts = parse_iso_datetime(record["ts"])
if since_dt and current_ts < since_dt:
continue
service = record["service"]
level = record["level"]
stats[service]["counts"][level] += 1
if "latency_ms" in record and isinstance(record["latency_ms"], (int, float)):
stats[service]["latencies"].append(record["latency_ms"])
except (json.JSONDecodeError, ValueError, KeyError):
malformed_count += 1
# Output results
for service, data in sorted(stats.items()):
print(f"Service: {service}")
for level in ["DEBUG", "INFO", "WARN", "ERROR"]:
count = data["counts"].get(level, 0)
print(이 하드웨어에서 이 모델의 다른 실행
- 85.9tok/svllm · v0.32.0 · W4A16컨텍스트 256K · 깊이 0 · 배치 1검증된 실행Sandberg · 2026. 10. 30.
- 83.7tok/svllm · v0.32.0 · W4A16컨텍스트 256K · 깊이 0 · 배치 1검증된 실행Sandberg · 2026. 10. 30.
- 83.5tok/svllm · v0.32.0 · W4A16컨텍스트 256K · 깊이 0 · 배치 1검증된 실행Sandberg · 2026. 10. 30.
- 71.8tok/svllm · v0.32.0 · W4A16컨텍스트 256K · 깊이 0 · 배치 1검증된 실행Sandberg · 2026. 10. 29.
- 71.4tok/svllm · v0.32.0 · W4A16컨텍스트 256K · 깊이 0 · 배치 1검증된 실행Sandberg · 2026. 10. 29.
- 69.7tok/svllm · v0.32.0 · W4A16컨텍스트 256K · 깊이 0 · 배치 1검증된 실행Sandberg · 2026. 10. 30.
- 69.3tok/svllm · v0.32.0 · W4A16컨텍스트 256K · 깊이 0 · 배치 1검증된 실행Sandberg · 2026. 10. 30.
