witcheer commited on
Commit
7cee010
·
verified ·
1 Parent(s): 9fdfcdc

Add Nemotron-3-Nano-30B-A3B benchmark report

Browse files
reports/nemotron-3-nano-30b-a3b-ud-q4-k-xl.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Benchmark Report: Nemotron-3-Nano-30B-A3B (UD-Q4_K_XL)
2
+
3
+ **Date:** 2026-06-04
4
+ **Author:** WITCHEER
5
+ **Platform:** NVIDIA GeForce RTX 5090 Benchmark Rig (capsule)
6
+
7
+ ---
8
+
9
+ ## Model
10
+
11
+ | Field | Value |
12
+ |-------|-------|
13
+ | Model | Nemotron-3-Nano-30B-A3B |
14
+ | Parameters | 31.58 B (moe (3b active)) |
15
+ | Architecture | Hybrid Mamba-2 + MoE |
16
+ | Quantization | UD-Q4_K_XL |
17
+ | File size | 21.27 GiB |
18
+ | Engine | llama.cpp (CUDA 12.8 (patched)) |
19
+
20
+ ## Hardware
21
+
22
+ | Component | Spec |
23
+ |-----------|------|
24
+ | GPU | NVIDIA GeForce RTX 5090 |
25
+ | CPU | AMD Ryzen 5 9600 |
26
+ | RAM | 64GB DDR5-5600 |
27
+ | OS | Ubuntu 26.04 LTS |
28
+ | CUDA | 12.8 (patched) |
29
+
30
+ ---
31
+
32
+ ## Quality Benchmarks
33
+
34
+ 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%.
35
+
36
+ ### Summary
37
+
38
+ | Benchmark | Score | Metric |
39
+ |-----------|------:|--------|
40
+ | **MMLU** | **74.52%** | accuracy |
41
+ | **ARC-Challenge** | **89.93%** | accuracy |
42
+ | **HellaSwag** | **75.62%** | accuracy |
43
+ | **HumanEval** | **80.49%** | pass@1 |
44
+ | **GSM8K** | **90.52%** | exact_match |
45
+
46
+ ### MMLU Breakdown by Category
47
+
48
+ | Category | Score | Correct / Total |
49
+ |----------|------:|----------------:|
50
+ | Stem | 70.01% | 1,055 / 1,507 |
51
+ | Humanities | 74.65% | 1,181 / 1,582 |
52
+ | Social Sciences | 84.82% | 1,402 / 1,653 |
53
+ | Other | 69.93% | 1,586 / 2,268 |
54
+
55
+ *Sampled at 50% (seed 42)*
56
+
57
+ ---
58
+
59
+ ## Speed Benchmarks
60
+
61
+ Measured with `llama-bench`. All layers GPU-offloaded (`-ngl 99`).
62
+
63
+ ### Prompt Processing (tokens/s)
64
+
65
+ | Context Length | Speed | +/-sigma |
66
+ |---------------:|------:|---------:|
67
+ | 128 | 4,377 | 56.9 |
68
+ | 512 | 10,645 | 51.3 |
69
+ | 2048 | 10,235 | 58.1 |
70
+ | 4096 | 9,936 | 28.7 |
71
+ | 8192 | 9,408 | 25.6 |
72
+ | 16384 | 8,498 | 24.9 |
73
+
74
+ ### Generation (tokens/s)
75
+
76
+ | Metric | Speed | +/-sigma |
77
+ |--------|------:|---------:|
78
+ | tg128 | 369.6 | 1.6 |
79
+
80
+ Peak VRAM: 23.3 GB (loads fully in 32 GB at `-ngl 99`, no offload).
81
+
82
+ ---
83
+
84
+ ## Findings
85
+
86
+ - **First Mamba-hybrid model on this rig.** Nemotron-3-Nano-30B-A3B pairs Mamba-2 sequence layers with a sparse MoE (3 B active of 31.6 B). Every other model on the board is a pure transformer.
87
+ - **Highest generation throughput measured here: 369.6 t/s.** It edges the previous fastest models, gpt-oss-20B (367.4 t/s) and Nemotron-Cascade-2-30B-A3B (350.8 t/s). The linear-attention component is doing real work on the decode path.
88
+ - **Speed without a quality edge.** At the same ~368 t/s tier, gpt-oss-20B scores +5 on the 5-task average (87.4 vs 82.2) and +14 on HumanEval (94.5 vs 80.5). On one RTX 5090, reasoning off, the Mamba hybrid's throughput does not translate into a quality-per-token advantage over the transformer MoEs.
89
+ - **Solid standalone reasoning, weaker knowledge.** GSM8K 90.5% and ARC-Challenge 89.9% are strong for a 3 B-active model at Q4. The gap to the field is in knowledge recall (MMLU 74.5) and code (HumanEval 80.5).
90
+
91
+ ### Note on HumanEval scoring
92
+
93
+ HumanEval was re-scored after fixing a code-extraction bug in this rig's harness. Nemotron-3-Nano emits function bodies in an absolute-indentation format: the first statement at column 0, but every subsequent line already at its true 4-space-based indentation. The harness assumed a fully-relative body and added a uniform 4-space indent to every line, over-indenting lines 2+ and failing **119 of 164** tasks with `IndentationError` -- understating the score as **20.73%**.
94
+
95
+ The assembler now generates candidate assemblies (full-function, verbatim, relative, absolute-first-line-dropped) and returns the first that `compile()`s, yielding the corrected **80.49% (132/164)**. The remaining 32 failures are genuine model errors (typos, missing imports, wrong logic), not harness artifacts. Fix and regression test: `lib/evals/humaneval.py`, `tests/test_humaneval_extract.py`.
96
+
97
+ ![Speed vs quality](chart-nemotron-speed-vs-quality.png)
98
+
99
+ ---
100
+
101
+ ## Methodology
102
+
103
+ ### Evaluation Framework
104
+
105
+ Custom generative evaluators built for this rig. All benchmarks run through llama-server's `/v1/chat/completions` endpoint.
106
+
107
+ - **Scoring:** Generative evaluation (not loglikelihood)
108
+ - **Thinking:** disabled
109
+ - **MCQ scoring:** First valid letter extracted from response (A/B/C/D)
110
+ - **Sampling:** 50% of dataset used
111
+ - **Temperature:** 0 (deterministic)
112
+ - **Max tokens:** 2,048 (4,096 for HumanEval)
113
+ - **GPU offload:** All layers (`-ngl 99`)
114
+
115
+ ---
116
+
117
+ *Benchmarked by WITCHEER on the RTX 5090 Benchmark Rig. Source: [github.com/notwitcheer/llm-bench-rig/blob/main/reports/nemotron-3-nano-30b-a3b-ud-q4-k-xl.md](https://github.com/notwitcheer/llm-bench-rig/blob/main/reports/nemotron-3-nano-30b-a3b-ud-q4-k-xl.md). Dataset: [huggingface.co/datasets/witcheer/rtx-5090-benchmarks/blob/main/reports/nemotron-3-nano-30b-a3b-ud-q4-k-xl.md](https://huggingface.co/datasets/witcheer/rtx-5090-benchmarks/blob/main/reports/nemotron-3-nano-30b-a3b-ud-q4-k-xl.md).*