quantuminfer 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +30 -6
- package/results/ANALYSIS.md +4 -0
- package/results/res_glm_t1_j8_b300.json +340 -0
package/package.json
CHANGED
|
@@ -1,12 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quantuminfer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Installer and CLI bootstrap for quantumInfer, a quantum-inspired exact speculative LLM inference research engine",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
6
|
+
"bin": {
|
|
7
|
+
"quantuminfer": "./bin/quantuminfer.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"bin",
|
|
11
|
+
"engine",
|
|
12
|
+
"p27",
|
|
13
|
+
"c27",
|
|
14
|
+
"data",
|
|
15
|
+
"results",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE"
|
|
18
|
+
],
|
|
19
|
+
"keywords": [
|
|
20
|
+
"llm",
|
|
21
|
+
"inference",
|
|
22
|
+
"speculative-decoding",
|
|
23
|
+
"moe",
|
|
24
|
+
"fp8",
|
|
25
|
+
"cuda",
|
|
26
|
+
"modal"
|
|
27
|
+
],
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/Knihalani/quantumInfer.git"
|
|
31
|
+
},
|
|
10
32
|
"license": "MIT",
|
|
11
|
-
"engines": {
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=18"
|
|
35
|
+
}
|
|
12
36
|
}
|
package/results/ANALYSIS.md
CHANGED
|
@@ -85,6 +85,10 @@ Shape-specialized quantumInfer ratios against direct vLLM: 0.28x on code and 0.3
|
|
|
85
85
|
|
|
86
86
|
The decisive comparison is acceptance versus pass cost. quantumInfer matches or slightly exceeds vLLM's measured target-verified acceptance (5.20 versus 5.10 tokens/pass on code; 3.70 versus 3.47 on chat with the best chat shape), but vLLM executes a pass in roughly 9.7-10.1ms versus roughly 31.7-35.2ms for the research engine. In other words, acceptance is no longer the bottleneck; production kernel, collective, and runtime efficiency is. The highest-value follow-up is therefore to port the measurement-record tree proposers onto a vLLM-class optimized runtime rather than to widen the speculative tree blindly.
|
|
87
87
|
|
|
88
|
+
### Full-scale Jacobi T=1 result
|
|
89
|
+
|
|
90
|
+
D3/C16/W1 exact T=1 chat on 8x B300: J8 measured 87.7 tok/s at 2.87 tokens/pass versus the same-shape no-Jacobi control at 77.7 tok/s and 2.50 tokens/pass. Speed ratio 1.13x. Artifacts: `res_glm_t1_j8_b300.json` and `res_glm_t1_e0_b300.json`.
|
|
91
|
+
|
|
88
92
|
## External competitor reference points
|
|
89
93
|
|
|
90
94
|
These are published serving measurements, not controlled same-harness comparisons:
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
{
|
|
2
|
+
"model": "/vol/hf/hub/models--zai-org--GLM-5.3/snapshots/ba32f8c19c8738e2c57c71798c601d477a7bf844",
|
|
3
|
+
"gpu": "NVIDIA B300 SXM6 AC",
|
|
4
|
+
"world": 8,
|
|
5
|
+
"load_s": 110.39359712600708,
|
|
6
|
+
"weight_bytes_rank0": 93614947776,
|
|
7
|
+
"state_bytes_rank0": 24379392,
|
|
8
|
+
"expert_shard": "ep_tp",
|
|
9
|
+
"mem_alloc_gb_rank0": 100.370640384,
|
|
10
|
+
"Bmax": 1,
|
|
11
|
+
"smax": 2048,
|
|
12
|
+
"mtp": true,
|
|
13
|
+
"single": [
|
|
14
|
+
{
|
|
15
|
+
"name": "t1/chat",
|
|
16
|
+
"ctx": 23,
|
|
17
|
+
"sampling": "T=1 exact",
|
|
18
|
+
"tok_s": 87.7262526107552,
|
|
19
|
+
"tok_s_min": 87.7262526107552,
|
|
20
|
+
"tok_s_max": 87.7262526107552,
|
|
21
|
+
"tokens_per_pass": 2.865168539325843,
|
|
22
|
+
"mode": "spec D=3 (MTP) + suffix C=16 + echo E=0/W1",
|
|
23
|
+
"runs": [
|
|
24
|
+
{
|
|
25
|
+
"t1": 0.17357720700002233,
|
|
26
|
+
"t256": 3.08034675899998,
|
|
27
|
+
"tok_s": 87.7262526107552,
|
|
28
|
+
"tok_per_pass": 2.865168539325843,
|
|
29
|
+
"engine_decode_tok_s": 87.5900453488911
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"batched": [],
|
|
35
|
+
"shared": [],
|
|
36
|
+
"ttft": [],
|
|
37
|
+
"errors": [],
|
|
38
|
+
"fusion": {
|
|
39
|
+
"x_fp8": 78,
|
|
40
|
+
"x_bf16": 0,
|
|
41
|
+
"q_fp8": 21
|
|
42
|
+
},
|
|
43
|
+
"streams": [
|
|
44
|
+
{
|
|
45
|
+
"id": "single/t1/chat",
|
|
46
|
+
"prompt": [
|
|
47
|
+
154822,
|
|
48
|
+
154824,
|
|
49
|
+
154826,
|
|
50
|
+
25062,
|
|
51
|
+
287,
|
|
52
|
+
29905,
|
|
53
|
+
371,
|
|
54
|
+
25,
|
|
55
|
+
7487,
|
|
56
|
+
154827,
|
|
57
|
+
840,
|
|
58
|
+
20726,
|
|
59
|
+
304,
|
|
60
|
+
2326,
|
|
61
|
+
22809,
|
|
62
|
+
3170,
|
|
63
|
+
279,
|
|
64
|
+
12877,
|
|
65
|
+
374,
|
|
66
|
+
6303,
|
|
67
|
+
13,
|
|
68
|
+
154828,
|
|
69
|
+
154841
|
|
70
|
+
],
|
|
71
|
+
"out": [
|
|
72
|
+
785,
|
|
73
|
+
1196,
|
|
74
|
+
6801,
|
|
75
|
+
264,
|
|
76
|
+
2326,
|
|
77
|
+
1331,
|
|
78
|
+
18351,
|
|
79
|
+
16134,
|
|
80
|
+
315,
|
|
81
|
+
3170,
|
|
82
|
+
279,
|
|
83
|
+
12877,
|
|
84
|
+
374,
|
|
85
|
+
6303,
|
|
86
|
+
13,
|
|
87
|
+
1096,
|
|
88
|
+
374,
|
|
89
|
+
13247,
|
|
90
|
+
62524,
|
|
91
|
+
71268,
|
|
92
|
+
13,
|
|
93
|
+
6771,
|
|
94
|
+
752,
|
|
95
|
+
10765,
|
|
96
|
+
6896,
|
|
97
|
+
2326,
|
|
98
|
+
2797,
|
|
99
|
+
22809,
|
|
100
|
+
382,
|
|
101
|
+
83869,
|
|
102
|
+
220,
|
|
103
|
+
16,
|
|
104
|
+
25,
|
|
105
|
+
8058,
|
|
106
|
+
4145,
|
|
107
|
+
5610,
|
|
108
|
+
678,
|
|
109
|
+
7986,
|
|
110
|
+
315,
|
|
111
|
+
9430,
|
|
112
|
+
3100,
|
|
113
|
+
624,
|
|
114
|
+
83869,
|
|
115
|
+
220,
|
|
116
|
+
17,
|
|
117
|
+
25,
|
|
118
|
+
1634,
|
|
119
|
+
38810,
|
|
120
|
+
16197,
|
|
121
|
+
1526,
|
|
122
|
+
279,
|
|
123
|
+
16550,
|
|
124
|
+
11,
|
|
125
|
+
23263,
|
|
126
|
+
92080,
|
|
127
|
+
320,
|
|
128
|
+
12197,
|
|
129
|
+
8,
|
|
130
|
+
44219,
|
|
131
|
+
803,
|
|
132
|
+
1091,
|
|
133
|
+
5021,
|
|
134
|
+
92080,
|
|
135
|
+
320,
|
|
136
|
+
1151,
|
|
137
|
+
8,
|
|
138
|
+
979,
|
|
139
|
+
807,
|
|
140
|
+
13161,
|
|
141
|
+
6819,
|
|
142
|
+
34445,
|
|
143
|
+
1959,
|
|
144
|
+
419,
|
|
145
|
+
374,
|
|
146
|
+
13247,
|
|
147
|
+
62524,
|
|
148
|
+
71268,
|
|
149
|
+
624,
|
|
150
|
+
83869,
|
|
151
|
+
220,
|
|
152
|
+
18,
|
|
153
|
+
25,
|
|
154
|
+
1096,
|
|
155
|
+
36775,
|
|
156
|
+
6303,
|
|
157
|
+
3100,
|
|
158
|
+
4041,
|
|
159
|
+
518,
|
|
160
|
+
601,
|
|
161
|
+
504,
|
|
162
|
+
678,
|
|
163
|
+
17934,
|
|
164
|
+
315,
|
|
165
|
+
279,
|
|
166
|
+
12877,
|
|
167
|
+
11,
|
|
168
|
+
3259,
|
|
169
|
+
432,
|
|
170
|
+
4994,
|
|
171
|
+
6303,
|
|
172
|
+
382,
|
|
173
|
+
4792,
|
|
174
|
+
594,
|
|
175
|
+
2326,
|
|
176
|
+
22809,
|
|
177
|
+
13,
|
|
178
|
+
13646,
|
|
179
|
+
432,
|
|
180
|
+
63141,
|
|
181
|
+
13,
|
|
182
|
+
2308,
|
|
183
|
+
1184,
|
|
184
|
+
369,
|
|
185
|
+
7102,
|
|
186
|
+
476,
|
|
187
|
+
11464,
|
|
188
|
+
369,
|
|
189
|
+
419,
|
|
190
|
+
1959,
|
|
191
|
+
1101,
|
|
192
|
+
2326,
|
|
193
|
+
22809,
|
|
194
|
+
315,
|
|
195
|
+
60276,
|
|
196
|
+
13,
|
|
197
|
+
154842,
|
|
198
|
+
29975,
|
|
199
|
+
4145,
|
|
200
|
+
5610,
|
|
201
|
+
678,
|
|
202
|
+
7986,
|
|
203
|
+
315,
|
|
204
|
+
9430,
|
|
205
|
+
3100,
|
|
206
|
+
11,
|
|
207
|
+
1817,
|
|
208
|
+
20924,
|
|
209
|
+
518,
|
|
210
|
+
264,
|
|
211
|
+
2155,
|
|
212
|
+
45038,
|
|
213
|
+
13,
|
|
214
|
+
3197,
|
|
215
|
+
38810,
|
|
216
|
+
28730,
|
|
217
|
+
9234,
|
|
218
|
+
594,
|
|
219
|
+
16550,
|
|
220
|
+
11,
|
|
221
|
+
279,
|
|
222
|
+
23263,
|
|
223
|
+
6303,
|
|
224
|
+
92080,
|
|
225
|
+
44219,
|
|
226
|
+
1007,
|
|
227
|
+
6819,
|
|
228
|
+
34445,
|
|
229
|
+
1753,
|
|
230
|
+
803,
|
|
231
|
+
1091,
|
|
232
|
+
5021,
|
|
233
|
+
92080,
|
|
234
|
+
1075,
|
|
235
|
+
2518,
|
|
236
|
+
27901,
|
|
237
|
+
24768,
|
|
238
|
+
2598,
|
|
239
|
+
13247,
|
|
240
|
+
62524,
|
|
241
|
+
71268,
|
|
242
|
+
13,
|
|
243
|
+
1096,
|
|
244
|
+
36775,
|
|
245
|
+
6303,
|
|
246
|
+
3100,
|
|
247
|
+
24417,
|
|
248
|
+
1039,
|
|
249
|
+
6414,
|
|
250
|
+
504,
|
|
251
|
+
1449,
|
|
252
|
+
5106,
|
|
253
|
+
304,
|
|
254
|
+
279,
|
|
255
|
+
12877,
|
|
256
|
+
11,
|
|
257
|
+
3259,
|
|
258
|
+
279,
|
|
259
|
+
12877,
|
|
260
|
+
4994,
|
|
261
|
+
6303,
|
|
262
|
+
13,
|
|
263
|
+
154827,
|
|
264
|
+
15973,
|
|
265
|
+
4238,
|
|
266
|
+
4829,
|
|
267
|
+
311,
|
|
268
|
+
1414,
|
|
269
|
+
279,
|
|
270
|
+
16134,
|
|
271
|
+
323,
|
|
272
|
+
9494,
|
|
273
|
+
429,
|
|
274
|
+
279,
|
|
275
|
+
12877,
|
|
276
|
+
374,
|
|
277
|
+
6303,
|
|
278
|
+
1576,
|
|
279
|
+
508,
|
|
280
|
+
78832,
|
|
281
|
+
1718,
|
|
282
|
+
62,
|
|
283
|
+
15,
|
|
284
|
+
60,
|
|
285
|
+
1576,
|
|
286
|
+
508,
|
|
287
|
+
78832,
|
|
288
|
+
1718,
|
|
289
|
+
62,
|
|
290
|
+
16,
|
|
291
|
+
60,
|
|
292
|
+
1576,
|
|
293
|
+
508,
|
|
294
|
+
78832,
|
|
295
|
+
1718,
|
|
296
|
+
62,
|
|
297
|
+
17,
|
|
298
|
+
29450,
|
|
299
|
+
785,
|
|
300
|
+
11646,
|
|
301
|
+
5944,
|
|
302
|
+
374,
|
|
303
|
+
25,
|
|
304
|
+
330,
|
|
305
|
+
15973,
|
|
306
|
+
4238,
|
|
307
|
+
4829,
|
|
308
|
+
311,
|
|
309
|
+
1414,
|
|
310
|
+
279,
|
|
311
|
+
16134,
|
|
312
|
+
323,
|
|
313
|
+
9494,
|
|
314
|
+
429,
|
|
315
|
+
279,
|
|
316
|
+
12877,
|
|
317
|
+
374,
|
|
318
|
+
6303,
|
|
319
|
+
1576,
|
|
320
|
+
508,
|
|
321
|
+
78832,
|
|
322
|
+
1718,
|
|
323
|
+
62,
|
|
324
|
+
15,
|
|
325
|
+
60,
|
|
326
|
+
1576,
|
|
327
|
+
508
|
|
328
|
+
],
|
|
329
|
+
"T": 1.0,
|
|
330
|
+
"tail_periodicity": 0.27586206896551724,
|
|
331
|
+
"tail_period": 41,
|
|
332
|
+
"seq": 5001
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"wall_s": 162.25822377204895,
|
|
336
|
+
"mem_peak_gb_rank0": 103.3275008,
|
|
337
|
+
"symm_buffers": 4,
|
|
338
|
+
"symm_ok": true,
|
|
339
|
+
"job_s": 187.17249584197998
|
|
340
|
+
}
|