Datasets:
Download reports/gemma-4-31b-it-q6-k.md from witcheer/rtx-5090-benchmarks: direct link, hf CLI and curl.
- Browser
- Download file 2.83 kB
-
https://huggingface.co/datasets/witcheer/rtx-5090-benchmarks/resolve/a4c0c3980cb0ec9a797fcafcdfbd3d992ac1f5ab/reports/gemma-4-31b-it-q6-k.md
- Command line
-
hf download hf://datasets/witcheer/rtx-5090-benchmarks@a4c0c3980cb0ec9a797fcafcdfbd3d992ac1f5ab/reports/gemma-4-31b-it-q6-k.md
-
curl -L -o gemma-4-31b-it-q6-k.md https://huggingface.co/datasets/witcheer/rtx-5090-benchmarks/resolve/a4c0c3980cb0ec9a797fcafcdfbd3d992ac1f5ab/reports/gemma-4-31b-it-q6-k.md
Benchmark Report: gemma-4-31B-it (Q6_K)
Date: 2026-06-04
Author: WITCHEER
Platform: NVIDIA GeForce RTX 5090 Benchmark Rig (capsule)
Model
| Field | Value |
|---|---|
| Model | gemma-4-31B-it |
| Parameters | 30.70 B (dense) |
| Quantization | Q6_K |
| File size | 23.47 GiB |
| Engine | llama.cpp (CUDA 12.8 (patched)) |
Hardware
| Component | Spec |
|---|---|
| GPU | NVIDIA GeForce RTX 5090 |
| CPU | AMD Ryzen 5 9600 |
| RAM | 64GB DDR5-5600 |
| OS | Ubuntu 26.04 LTS |
| CUDA | 12.8 (patched) |
Quality Benchmarks
All benchmarks use generative evaluation via llama-server chat completions. Multiple-choice tasks (MMLU, ARC, HellaSwag) use letter extraction instead of loglikelihood scoring -- results are internally consistent for model comparison but absolute scores may differ from logprob-based evaluations by 5-15%.
Summary
| Benchmark | Score | Metric |
|---|---|---|
| MMLU | 87.82% | accuracy |
| ARC-Challenge | 97.61% | accuracy |
| HellaSwag | 91.95% | accuracy |
| HumanEval | 96.34% | pass@1 |
| GSM8K | 97.50% | exact_match |
MMLU Breakdown by Category
| Category | Score | Correct / Total |
|---|---|---|
| Stem | 87.52% | 1,319 / 1,507 |
| Humanities | 90.01% | 1,424 / 1,582 |
| Social Sciences | 92.86% | 1,535 / 1,653 |
| Other | 82.80% | 1,878 / 2,268 |
Sampled at 50% (seed 42)
Speed Benchmarks
Measured with llama-bench. All layers GPU-offloaded (-ngl 99).
Prompt Processing (tokens/s)
| Context Length | Speed | +/-sigma |
|---|---|---|
| 128 | 2,509 | 127.0 |
| 512 | 2,939 | 25.6 |
| 2048 | 2,752 | 1.5 |
| 4096 | 2,660 | 1.9 |
| 8192 | 2,525 | 1.3 |
| 16384 | 2,325 | 1.6 |
Generation (tokens/s)
| Metric | Speed | +/-sigma |
|---|---|---|
| tg128 | 53.0 | 0.0 |
Methodology
Evaluation Framework
Custom generative evaluators built for this rig. All benchmarks run through llama-server's /v1/chat/completions endpoint.
- Scoring: Generative evaluation (not loglikelihood)
- Thinking: disabled
- MCQ scoring: First valid letter extracted from response (A/B/C/D)
- Sampling: 50% of dataset used
- Temperature: 0 (deterministic)
- Max tokens: 2,048
- GPU offload: All layers (
-ngl 99)
Benchmarked by WITCHEER on the RTX 5090 Benchmark Rig. Source: github.com/notwitcheer/llm-bench-rig/blob/main/reports/gemma-4-31b-it-q6-k.md. Dataset: huggingface.co/datasets/witcheer/rtx-5090-benchmarks/blob/main/reports/gemma-4-31b-it-q6-k.md.