Devansh Batham commited on
Commit
39d1566
·
1 Parent(s): 7519c08

Add pre-quantization comparison

Browse files
README.md CHANGED
@@ -18,7 +18,7 @@ tags:
18
 
19
  nyx is a task-specialized Qwen3.5-35B-A3B model for Choice, Score, and Noul decisions. It combines task-specific adaptation with INT4 routed-expert storage and FP8 expert compute.
20
 
21
- ![Six classification benchmarks comparing nyx, Qwen/Qwen3.5-35B-A3B, and Jev](assets/nyx-vs-jev-benchmarks.png)
22
 
23
  ## Model
24
 
@@ -79,27 +79,40 @@ Wire compatibility does not mean behavioral identity: decisions, probabilities,
79
 
80
  ## Evaluation
81
 
82
- The frozen comparison used 2,277 identical requests across six public classification benchmarks at client concurrency 8. Every provider completed every case with zero errors and zero retries.
83
 
84
- | Benchmark | nyx INT4+FP8 | Qwen/Qwen3.5-35B-A3B | Jev 1.13 |
85
- |---|---:|---:|---:|
86
- | AG News | 84.75% | 85.75% | 86.50% |
87
- | TREC coarse | 92.00% | 94.00% | 93.00% |
88
- | CoLA | 79.00% | 79.75% | 77.75% |
89
- | RTE | 93.14% | 93.86% | 91.34% |
90
- | Emotion | 43.33% | 44.67% | 47.00% |
91
- | IMDb | 96.50% | 96.25% | 97.00% |
92
- | **Dataset-macro accuracy** | **81.45%** | **82.38%** | **82.10%** |
93
- | **Dataset-macro F1** | **81.06%** | **82.02%** | **81.85%** |
94
- | **Pooled accuracy** | **82.96%** | **83.93%** | **83.62%** |
95
-
96
- | Timing | nyx INT4+FP8 | Qwen/Qwen3.5-35B-A3B | Jev 1.13 |
 
 
 
 
 
 
 
 
 
 
 
 
97
  |---|---:|---:|---:|
98
- | Backend inference median / p95 | 62.97 / 85.30 ms | 74.45 / 97.38 ms | not exposed |
99
- | Round trip median / p95 | 66.25 / 89.22 ms | 78.23 / 101.82 ms | 182.33 / 245.12 ms |
100
- | Throughput | 112.67 req/s | 95.58 req/s | 42.43 req/s |
 
101
 
102
- nyx and the original Qwen model ran on the same local MI325X/API stack. Jev ran over remote HTTPS on unmatched infrastructure, so its latency is descriptive rather than a controlled model-speed comparison. The local runtime used continuous batching with `max-running-requests=64`; the benchmark's eight concurrent callers limited this run to eight active requests. See [the evaluation record](benchmarks/random-six-report.md).
103
 
104
  ## Limitations
105
 
 
18
 
19
  nyx is a task-specialized Qwen3.5-35B-A3B model for Choice, Score, and Noul decisions. It combines task-specific adaptation with INT4 routed-expert storage and FP8 expert compute.
20
 
21
+ ![Six classification benchmarks comparing nyx and Jev](assets/nyx-vs-jev-benchmarks.png)
22
 
23
  ## Model
24
 
 
79
 
80
  ## Evaluation
81
 
82
+ The frozen comparison used 2,277 identical requests across six public classification benchmarks at client concurrency 8. Both models completed every case with zero errors and zero retries.
83
 
84
+ | Benchmark | nyx INT4+FP8 | Jev 1.13 |
85
+ |---|---:|---:|
86
+ | AG News | 84.75% | 86.50% |
87
+ | TREC coarse | 92.00% | 93.00% |
88
+ | CoLA | 79.00% | 77.75% |
89
+ | RTE | 93.14% | 91.34% |
90
+ | Emotion | 43.33% | 47.00% |
91
+ | IMDb | 96.50% | 97.00% |
92
+ | **Dataset-macro accuracy** | **81.45%** | **82.10%** |
93
+ | **Dataset-macro F1** | **81.06%** | **81.85%** |
94
+ | **Pooled accuracy** | **82.96%** | **83.62%** |
95
+
96
+ | Timing | nyx INT4+FP8 | Jev 1.13 |
97
+ |---|---:|---:|
98
+ | Backend inference median / p95 | 62.97 / 85.30 ms | not exposed |
99
+ | Round trip median / p95 | 66.25 / 89.22 ms | 182.33 / 245.12 ms |
100
+ | Throughput | 112.67 req/s | 42.43 req/s |
101
+
102
+ nyx ran on a local MI325X/API stack. Jev ran over remote HTTPS on unmatched infrastructure, so its latency is descriptive rather than a controlled model-speed comparison. The local runtime used continuous batching with `max-running-requests=64`; the benchmark's eight concurrent callers limited this run to eight active requests. See [the evaluation record](benchmarks/random-six-report.md).
103
+
104
+ ### Before quantization
105
+
106
+ The shared H1 development slice below compares the official Qwen base in BF16, the pre-quantization `nyx` BF16 checkpoint, and Jev 1.13.0 on the same 1,500 scored cases with identical labels and task semantics.
107
+
108
+ | H1 task | Qwen base BF16 | `nyx` BF16 | Jev 1.13.0 |
109
  |---|---:|---:|---:|
110
+ | Comment triage | 295/500 (59.00%) | **462/500 (92.40%)** | 455/500 (91.00%) |
111
+ | Report completeness | 439/500 (87.80%) | **488/500 (97.60%)** | 468/500 (93.60%) |
112
+ | Broad assets, exact set | 285/500 (57.00%) | **298/500 (59.60%)** | 284/500 (56.80%) |
113
+ | **Overall** | **1,019/1,500 (67.93%)** | **1,248/1,500 (83.20%)** | **1,207/1,500 (80.47%)** |
114
 
115
+ This is authored development evidence, not an independent public holdout. Qwen and `nyx` ran locally in BF16 on the same MI325X/SGLang stack; Jev ran through its remote API, so latency is intentionally omitted from this table. See the [pre-quantization evaluation record](benchmarks/prequant-h1.md).
116
 
117
  ## Limitations
118
 
assets/nyx-vs-jev-benchmarks.png CHANGED

Git LFS Details

  • SHA256: be441ddc5889c5d625580b190d38d37038240a180a6b20dc02ba98322caac637
  • Pointer size: 132 Bytes
  • Size of remote file: 1.46 MB

Git LFS Details

  • SHA256: 9ce0a836719964925223bc94e29a299aebfe01b81c85fc85866e05dac101ee47
  • Pointer size: 132 Bytes
  • Size of remote file: 1.36 MB
benchmarks/prequant-h1.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Pre-quantization H1 comparison
2
+
3
+ This record isolates the exact intersection shared by three completed evaluations: the official `Qwen/Qwen3.5-35B-A3B` base in BF16, the pre-quantization `nyx` BF16 checkpoint, and Jev 1.13.0.
4
+
5
+ ## Results
6
+
7
+ | Task | Cases | Qwen base BF16 | `nyx` BF16 | Jev 1.13.0 |
8
+ |---|---:|---:|---:|---:|
9
+ | Comment triage | 500 | 295 (59.00%) | 462 (92.40%) | 455 (91.00%) |
10
+ | Report completeness | 500 | 439 (87.80%) | 488 (97.60%) | 468 (93.60%) |
11
+ | Broad assets, exact set | 500 | 285 (57.00%) | 298 (59.60%) | 284 (56.80%) |
12
+ | **Overall** | **1,500** | **1,019 (67.93%)** | **1,248 (83.20%)** | **1,207 (80.47%)** |
13
+
14
+ ## Protocol
15
+
16
+ - The intersection contains comment fixtures 501–1000 plus all 500 authored report fixtures, scored once for completeness and once for broad-asset exact-set classification.
17
+ - Case IDs and expected labels were matched across the three result sets. All 1,500 expected labels matched exactly; no case was excluded after matching.
18
+ - Qwen and `nyx` used BF16 before any FP8 or INT4 conversion, the same AMD Instinct MI325X, the same SGLang/API stack, and server concurrency 8.
19
+ - The base was the official `Qwen/Qwen3.5-35B-A3B` revision `59d61f3ce65a6d9863b86d2e96597125219dc754`.
20
+ - Jev was evaluated as `jev-1.13.0` through its remote API with the same typed requests, prompts, thresholds, and reference labels. Because the serving infrastructure differs, this record makes no speed comparison.
21
+
22
+ ## Scope
23
+
24
+ These are synthetic, authored H1 development fixtures with known scenario-family overlap. They are useful for measuring task adaptation on this workload, but they are not an independent public holdout and do not establish general model superiority.
benchmarks/random-six-report.md CHANGED
@@ -1,32 +1,32 @@
1
- # Six public classification benchmarks: nyx vs Qwen vs Jev
2
 
3
  Frozen paired cohort: **2,277 cases**; SHA-256 `046a38c24747fd724003aca7e5f1d1b6e148d599092222361c0717ecff84ecad`; client concurrency 8; every failure counts as wrong.
4
 
5
- | Dataset | Cases | nyx INT4+FP8 | Qwen/Qwen3.5-35B-A3B | Jev 1.13 |
6
- |---|---:|---:|---:|---:|
7
- | AG News | 400 | 84.75% (339/400) | 85.75% (343/400) | 86.50% (346/400) |
8
- | TREC coarse | 500 | 92.00% (460/500) | 94.00% (470/500) | 93.00% (465/500) |
9
- | CoLA | 400 | 79.00% (316/400) | 79.75% (319/400) | 77.75% (311/400) |
10
- | RTE | 277 | 93.14% (258/277) | 93.86% (260/277) | 91.34% (253/277) |
11
- | Emotion | 300 | 43.33% (130/300) | 44.67% (134/300) | 47.00% (141/300) |
12
- | IMDb | 400 | 96.50% (386/400) | 96.25% (385/400) | 97.00% (388/400) |
13
-
14
- | Aggregate | nyx INT4+FP8 | Qwen/Qwen3.5-35B-A3B | Jev 1.13 |
15
  |---|---:|---:|---:|
16
- | Dataset-macro accuracy | 81.45% | 82.38% | 82.10% |
17
- | Dataset-macro F1 | 81.06% | 82.02% | 81.85% |
18
- | Pooled micro accuracy | 82.96% | 83.93% | 83.62% |
 
 
 
 
 
 
 
 
 
19
 
20
  ## Paired comparison
21
 
22
- Exact two-sided McNemar tests use identical case-level predictions. Qwen-only versus nyx-only correct cases were 63 to 41 (`p=0.03896`); Jev-only versus nyx-only were 76 to 61 (`p=0.23154`); Qwen-only versus Jev-only were 66 to 59 (`p=0.59168`). None crosses the Bonferroni-adjusted threshold of `0.0167` for three comparisons.
23
 
24
- | Timing | nyx INT4+FP8 | Qwen/Qwen3.5-35B-A3B | Jev 1.13 |
25
- |---|---:|---:|---:|
26
- | Backend inference median / p95 | 62.97 / 85.30 ms | 74.45 / 97.38 ms | not exposed |
27
- | Round trip median / p95 | 66.25 / 89.22 ms | 78.23 / 101.82 ms | 182.33 / 245.12 ms |
28
- | Wall time | 20,209 ms | 23,824 ms | 53,666 ms |
29
- | Throughput | 112.67 req/s | 95.58 req/s | 42.43 req/s |
30
 
31
  ## Method and caveats
32
 
@@ -34,5 +34,5 @@ Exact two-sided McNemar tests use identical case-level predictions. Qwen-only ve
34
  - AG News, CoLA, Emotion, and IMDb are fixed class-stratified samples; TREC test and RTE validation are complete.
35
  - Every request contained one Choice question. Eight asynchronous clients used persistent HTTP/1.1 connections. The local SGLang runtime used continuous batching with `max-running-requests=64`, while client concurrency limited this run to eight active requests.
36
  - Backend inference is parsed from the local `Server-Timing` header. Jev did not expose server timing.
37
- - nyx and the original Qwen model ran locally on the same AMD Instinct MI325X and API stack. Jev ran over remote HTTPS on unmatched infrastructure, so cross-service latency is descriptive only.
38
- - Public-benchmark pretraining contamination is unknown for all three models. This finite suite does not establish universal classification quality.
 
1
+ # Six public classification benchmarks: nyx vs Jev
2
 
3
  Frozen paired cohort: **2,277 cases**; SHA-256 `046a38c24747fd724003aca7e5f1d1b6e148d599092222361c0717ecff84ecad`; client concurrency 8; every failure counts as wrong.
4
 
5
+ | Dataset | Cases | nyx INT4+FP8 | Jev 1.13 |
 
 
 
 
 
 
 
 
 
6
  |---|---:|---:|---:|
7
+ | AG News | 400 | 84.75% (339/400) | 86.50% (346/400) |
8
+ | TREC coarse | 500 | 92.00% (460/500) | 93.00% (465/500) |
9
+ | CoLA | 400 | 79.00% (316/400) | 77.75% (311/400) |
10
+ | RTE | 277 | 93.14% (258/277) | 91.34% (253/277) |
11
+ | Emotion | 300 | 43.33% (130/300) | 47.00% (141/300) |
12
+ | IMDb | 400 | 96.50% (386/400) | 97.00% (388/400) |
13
+
14
+ | Aggregate | nyx INT4+FP8 | Jev 1.13 |
15
+ |---|---:|---:|
16
+ | Dataset-macro accuracy | 81.45% | 82.10% |
17
+ | Dataset-macro F1 | 81.06% | 81.85% |
18
+ | Pooled micro accuracy | 82.96% | 83.62% |
19
 
20
  ## Paired comparison
21
 
22
+ The exact two-sided McNemar test uses identical case-level predictions. Jev-only versus nyx-only correct cases were 76 to 61 (`p=0.23154`).
23
 
24
+ | Timing | nyx INT4+FP8 | Jev 1.13 |
25
+ |---|---:|---:|
26
+ | Backend inference median / p95 | 62.97 / 85.30 ms | not exposed |
27
+ | Round trip median / p95 | 66.25 / 89.22 ms | 182.33 / 245.12 ms |
28
+ | Wall time | 20,209 ms | 53,666 ms |
29
+ | Throughput | 112.67 req/s | 42.43 req/s |
30
 
31
  ## Method and caveats
32
 
 
34
  - AG News, CoLA, Emotion, and IMDb are fixed class-stratified samples; TREC test and RTE validation are complete.
35
  - Every request contained one Choice question. Eight asynchronous clients used persistent HTTP/1.1 connections. The local SGLang runtime used continuous batching with `max-running-requests=64`, while client concurrency limited this run to eight active requests.
36
  - Backend inference is parsed from the local `Server-Timing` header. Jev did not expose server timing.
37
+ - nyx ran locally on an AMD Instinct MI325X and API stack. Jev ran over remote HTTPS on unmatched infrastructure, so cross-service latency is descriptive only.
38
+ - Public-benchmark pretraining contamination is unknown for both models. This finite suite does not establish universal classification quality.
benchmarks/summary.json CHANGED
@@ -5,26 +5,21 @@
5
  "concurrency": 8,
6
  "errors": {
7
  "nyx-int4fp8": 0,
8
- "qwen-qwen3.5-35b-a3b": 0,
9
  "jev-1.13": 0
10
  },
11
  "dataset_macro_accuracy": {
12
  "nyx-int4fp8": 0.8145402125952668,
13
- "qwen-qwen3.5-35b-a3b": 0.8237991375852386,
14
  "jev-1.13": 0.8209762334536702
15
  },
16
  "pooled_accuracy": {
17
  "nyx-int4fp8": 0.8296003513394817,
18
- "qwen-qwen3.5-35b-a3b": 0.839262187088274,
19
  "jev-1.13": 0.8361879666227492
20
  },
21
  "paired_mcnemar_two_sided_p": {
22
- "nyx-int4fp8_vs_qwen-qwen3.5-35b-a3b": 0.03895793340131187,
23
- "nyx-int4fp8_vs_jev-1.13": 0.23153716588439505,
24
- "qwen-qwen3.5-35b-a3b_vs_jev-1.13": 0.591683927094163
25
  },
26
  "limitations": [
27
- "Public benchmark contamination is unknown.",
28
  "Fixed samples are not complete official-suite scores except TREC test and RTE validation.",
29
  "Jev timing used unmatched remote infrastructure."
30
  ]
 
5
  "concurrency": 8,
6
  "errors": {
7
  "nyx-int4fp8": 0,
 
8
  "jev-1.13": 0
9
  },
10
  "dataset_macro_accuracy": {
11
  "nyx-int4fp8": 0.8145402125952668,
 
12
  "jev-1.13": 0.8209762334536702
13
  },
14
  "pooled_accuracy": {
15
  "nyx-int4fp8": 0.8296003513394817,
 
16
  "jev-1.13": 0.8361879666227492
17
  },
18
  "paired_mcnemar_two_sided_p": {
19
+ "nyx-int4fp8_vs_jev-1.13": 0.23153716588439505
 
 
20
  },
21
  "limitations": [
22
+ "Public benchmark contamination is unknown for both models.",
23
  "Fixed samples are not complete official-suite scores except TREC test and RTE validation.",
24
  "Jev timing used unmatched remote infrastructure."
25
  ]
release-manifest.json CHANGED
@@ -14,20 +14,24 @@
14
  "sha256": "94d30a32935469a150faba2820dfa13bd34c67ae5d2c8adb390778666a4a8443"
15
  },
16
  "README.md": {
17
- "bytes": 5924,
18
- "sha256": "8ecbfcee2f782aa962f160186671417a164c28971c405105ab2868b4d276eb9f"
19
  },
20
  "assets/nyx-vs-jev-benchmarks.png": {
21
- "bytes": 1461488,
22
- "sha256": "be441ddc5889c5d625580b190d38d37038240a180a6b20dc02ba98322caac637"
 
 
 
 
23
  },
24
  "benchmarks/random-six-report.md": {
25
- "bytes": 2708,
26
- "sha256": "5b45369ebb94520103352fa321bc053228aea5d607ad84e8af132e701f75f47e"
27
  },
28
  "benchmarks/summary.json": {
29
- "bytes": 984,
30
- "sha256": "f181fe2989e381edb2dc4695479591e3038679dffb7726f4a877c7849b6d9f3d"
31
  },
32
  "chat_template.jinja": {
33
  "bytes": 7756,
@@ -112,5 +116,5 @@
112
  },
113
  "format_version": 1,
114
  "repository": "devanshbatham/nyx",
115
- "total_bytes": 19679466775
116
  }
 
14
  "sha256": "94d30a32935469a150faba2820dfa13bd34c67ae5d2c8adb390778666a4a8443"
15
  },
16
  "README.md": {
17
+ "bytes": 6627,
18
+ "sha256": "c37620861bbcd51d63dcc298865a7ffe8f7257617c692a1ec55280a1486099e2"
19
  },
20
  "assets/nyx-vs-jev-benchmarks.png": {
21
+ "bytes": 1362162,
22
+ "sha256": "9ce0a836719964925223bc94e29a299aebfe01b81c85fc85866e05dac101ee47"
23
+ },
24
+ "benchmarks/prequant-h1.md": {
25
+ "bytes": 1708,
26
+ "sha256": "fab5d5d4db40d14a0ae6d877bbf1a5f2fa72f586d5b282d37ee2456c293c8fad"
27
  },
28
  "benchmarks/random-six-report.md": {
29
+ "bytes": 2183,
30
+ "sha256": "19dff7a297bd379897b393cb3601b91fe2ed9cfabfa6e5c8eaf38601d4a12ff1"
31
  },
32
  "benchmarks/summary.json": {
33
+ "bytes": 751,
34
+ "sha256": "90d3be0514f431979f75fba1d0ee43f47d5b7b5ce9ec3d8132a9929ca1492d33"
35
  },
36
  "chat_template.jinja": {
37
  "bytes": 7756,
 
116
  },
117
  "format_version": 1,
118
  "repository": "devanshbatham/nyx",
119
+ "total_bytes": 19679369102
120
  }