quantuminfer 0.0.0-stage → 0.1.0
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/LICENSE +9 -0
- package/README.md +96 -2
- package/bin/quantuminfer.js +61 -0
- package/c27/adapters.py +161 -0
- package/c27/harness27.py +349 -0
- package/data/input.txt +40000 -0
- package/data/wikitext/test.txt +7249 -0
- package/engine/API.txt +208 -0
- package/engine/PLUGINS.txt +4 -0
- package/engine/__init__.py +82 -0
- package/engine/adapter.py +505 -0
- package/engine/blocks.py +1180 -0
- package/engine/c12.py +324 -0
- package/engine/c12cu.py +1074 -0
- package/engine/ctx.py +87 -0
- package/engine/dev.py +11 -0
- package/engine/ds4.py +389 -0
- package/engine/kernels.py +833 -0
- package/engine/model.py +281 -0
- package/engine/record.py +140 -0
- package/engine/server.py +183 -0
- package/engine/spec.py +1030 -0
- package/engine/wcode.py +122 -0
- package/p27/SPEC.txt +66 -0
- package/p27/STATUS.txt +91 -0
- package/p27/bench_glm.py +354 -0
- package/p27/bench_multi.py +76 -0
- package/p27/mkfinal.py +98 -0
- package/p27/modal_comp.py +173 -0
- package/p27/modal_dl.py +63 -0
- package/p27/modal_p27.py +168 -0
- package/p27/modal_probe.py +49 -0
- package/p27/p27rules.py +29 -0
- package/p27/pblocks.py +1242 -0
- package/p27/pmodel.py +402 -0
- package/p27/pref.py +151 -0
- package/p27/prof_glm.py +34 -0
- package/p27/quant.py +850 -0
- package/p27/recipes/vllm_b300_single_node_tep_b300_agentx_ep.md +353 -0
- package/p27/recipes/vllm_b300_single_node_tp_b300_agentx.md +351 -0
- package/p27/recipes/vllm_b300_single_node_tp_baseline.md +250 -0
- package/p27/recipes/vllm_default_gb300.md +281 -0
- package/p27/recipes/vllm_glm53_h200.md +301 -0
- package/p27/run_window1.sh +21 -0
- package/p27/run_window2.sh +13 -0
- package/p27/sweep_glm.py +64 -0
- package/p27/t_align.py +42 -0
- package/p27/t_combine.py +28 -0
- package/p27/t_echo.py +31 -0
- package/p27/t_fp8dense.py +59 -0
- package/p27/t_fp8speed.py +48 -0
- package/p27/t_glm.py +340 -0
- package/p27/t_glu.py +30 -0
- package/p27/t_gsuf.py +23 -0
- package/p27/t_jac.py +22 -0
- package/p27/t_moebm.py +30 -0
- package/p27/t_nccl.py +36 -0
- package/p27/t_online_jac.py +31 -0
- package/p27/t_probe.py +4 -0
- package/p27/t_router.py +28 -0
- package/p27/t_symm.py +50 -0
- package/p27/t_tiny.py +116 -0
- package/package.json +10 -4
- package/results/ANALYSIS.md +156 -0
- package/results/comp_vllm_mtp_k5_b300mtp.json +235 -0
- package/results/glm53_b300x8_opt4.json +624 -0
- package/results/res_glm_c32w3_b300.json +638 -0
- package/results/res_glm_final_c32_b300.json +652 -0
- package/results/res_glm_multi_final_b300.json +1821 -0
- package/results/res_glm_online_b300.json +638 -0
- package/results/res_glm_online_fixed_b300.json +638 -0
- package/results/res_glm_opt4_b300.json +624 -0
- package/results/res_glm_text_plain_batch_b300.json +5792 -0
- package/results/res_glm_text_w1_b300.json +1635 -0
- package/results/res_glm_text_w3_b300.json +1639 -0
- package/results/res_sweep_echo_b300.json +129 -0
- package/results/res_sweep_final_b300.json +153 -0
- package/results/res_sweep_glm_b300.json +153 -0
- package/results/res_techo.json +29 -0
- package/results/res_tgsuf.json +21 -0
- package/results/res_tjac.json +17 -0
- package/results/res_tonline_jac.json +13 -0
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
{
|
|
2
|
+
"engine": "vllm",
|
|
3
|
+
"engine_version": "0.34.0",
|
|
4
|
+
"image": "vllm/vllm-openai:v0.34.0",
|
|
5
|
+
"model": "zai-org/GLM-5.3",
|
|
6
|
+
"model_path": "/vol/hf/hub/models--zai-org--GLM-5.3/snapshots/ba32f8c19c8738e2c57c71798c601d477a7bf844",
|
|
7
|
+
"mode": "mtp",
|
|
8
|
+
"k": 5,
|
|
9
|
+
"gpu": "NVIDIA B300 SXM6 AC",
|
|
10
|
+
"n_gpus": 8,
|
|
11
|
+
"started": "2026-11-28T22:24:42Z",
|
|
12
|
+
"opts": {
|
|
13
|
+
"max_len": 4096,
|
|
14
|
+
"max_seqs": 8,
|
|
15
|
+
"tag": "b300mtp"
|
|
16
|
+
},
|
|
17
|
+
"plan": {
|
|
18
|
+
"single": [
|
|
19
|
+
"code",
|
|
20
|
+
"chat"
|
|
21
|
+
],
|
|
22
|
+
"reps": 1
|
|
23
|
+
},
|
|
24
|
+
"container": "ta-01M8J44RHEFC7NQD3E3R5B3CFR",
|
|
25
|
+
"load_s": 1601.1471989154816,
|
|
26
|
+
"config": {
|
|
27
|
+
"model": "/vol/hf/hub/models--zai-org--GLM-5.3/snapshots/ba32f8c19c8738e2c57c71798c601d477a7bf844",
|
|
28
|
+
"dtype": "bfloat16",
|
|
29
|
+
"max_model_len": 4096,
|
|
30
|
+
"max_num_seqs": 8,
|
|
31
|
+
"gpu_memory_utilization": 0.9,
|
|
32
|
+
"seed": 0,
|
|
33
|
+
"disable_log_stats": false,
|
|
34
|
+
"max_num_batched_tokens": 16384,
|
|
35
|
+
"speculative_config": {
|
|
36
|
+
"method": "mtp",
|
|
37
|
+
"num_speculative_tokens": 5
|
|
38
|
+
},
|
|
39
|
+
"tensor_parallel_size": 8,
|
|
40
|
+
"kv_cache_dtype": "fp8",
|
|
41
|
+
"_resolved": {
|
|
42
|
+
"enable_prefix_caching": true,
|
|
43
|
+
"num_gpu_blocks": 46876,
|
|
44
|
+
"block_size": 64,
|
|
45
|
+
"mamba_cache_mode": "none",
|
|
46
|
+
"mamba_ssm_cache_dtype": "auto"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"single": [
|
|
50
|
+
{
|
|
51
|
+
"case": "code",
|
|
52
|
+
"name": "code",
|
|
53
|
+
"ctx": 4,
|
|
54
|
+
"sampling": "greedy",
|
|
55
|
+
"tok_s": 525.475974746884,
|
|
56
|
+
"tok_s_min": 525.475974746884,
|
|
57
|
+
"tok_s_max": 525.475974746884,
|
|
58
|
+
"tokens_per_pass": 5.1,
|
|
59
|
+
"mode": "mtp",
|
|
60
|
+
"runs": [
|
|
61
|
+
{
|
|
62
|
+
"t1": 0.03184377999991739,
|
|
63
|
+
"t256": 0.5171181069999875,
|
|
64
|
+
"n_new": 256,
|
|
65
|
+
"tok_s": 525.475974746884,
|
|
66
|
+
"same_as_r0": true
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"first_ids": [
|
|
70
|
+
715,
|
|
71
|
+
262,
|
|
72
|
+
421,
|
|
73
|
+
308,
|
|
74
|
+
2651,
|
|
75
|
+
220,
|
|
76
|
+
16,
|
|
77
|
+
510,
|
|
78
|
+
286,
|
|
79
|
+
470,
|
|
80
|
+
308,
|
|
81
|
+
198,
|
|
82
|
+
262,
|
|
83
|
+
770,
|
|
84
|
+
510,
|
|
85
|
+
286,
|
|
86
|
+
470,
|
|
87
|
+
75096,
|
|
88
|
+
1445,
|
|
89
|
+
12,
|
|
90
|
+
16,
|
|
91
|
+
8,
|
|
92
|
+
488,
|
|
93
|
+
75096,
|
|
94
|
+
1445,
|
|
95
|
+
12,
|
|
96
|
+
17,
|
|
97
|
+
692,
|
|
98
|
+
750,
|
|
99
|
+
1887,
|
|
100
|
+
3932,
|
|
101
|
+
262,
|
|
102
|
+
308,
|
|
103
|
+
284,
|
|
104
|
+
526,
|
|
105
|
+
5384,
|
|
106
|
+
445,
|
|
107
|
+
6269,
|
|
108
|
+
264,
|
|
109
|
+
1372,
|
|
110
|
+
25,
|
|
111
|
+
40735,
|
|
112
|
+
262,
|
|
113
|
+
1173,
|
|
114
|
+
955,
|
|
115
|
+
579,
|
|
116
|
+
39133,
|
|
117
|
+
1445,
|
|
118
|
+
4390,
|
|
119
|
+
333,
|
|
120
|
+
1304,
|
|
121
|
+
606,
|
|
122
|
+
563,
|
|
123
|
+
621,
|
|
124
|
+
13257,
|
|
125
|
+
3817,
|
|
126
|
+
21035,
|
|
127
|
+
262,
|
|
128
|
+
1393,
|
|
129
|
+
3007,
|
|
130
|
+
510,
|
|
131
|
+
286,
|
|
132
|
+
1887,
|
|
133
|
+
741
|
|
134
|
+
],
|
|
135
|
+
"method": "cache reset before each call; (n-1)/(t(256 new)-t(1 new)); greedy T=0; first of 2 reps discarded",
|
|
136
|
+
"mem_peak_mib_so_far": 244076
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"case": "chat",
|
|
140
|
+
"name": "chat",
|
|
141
|
+
"ctx": 23,
|
|
142
|
+
"sampling": "greedy",
|
|
143
|
+
"tok_s": 344.0872398194578,
|
|
144
|
+
"tok_s_min": 344.0872398194578,
|
|
145
|
+
"tok_s_max": 344.0872398194578,
|
|
146
|
+
"tokens_per_pass": 3.472972972972973,
|
|
147
|
+
"mode": "mtp",
|
|
148
|
+
"runs": [
|
|
149
|
+
{
|
|
150
|
+
"t1": 0.03324952200000553,
|
|
151
|
+
"t256": 0.7743406479999067,
|
|
152
|
+
"n_new": 256,
|
|
153
|
+
"tok_s": 344.0872398194578,
|
|
154
|
+
"same_as_r0": true
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"first_ids": [
|
|
158
|
+
785,
|
|
159
|
+
1196,
|
|
160
|
+
6801,
|
|
161
|
+
264,
|
|
162
|
+
2326,
|
|
163
|
+
1331,
|
|
164
|
+
18351,
|
|
165
|
+
16134,
|
|
166
|
+
315,
|
|
167
|
+
3170,
|
|
168
|
+
279,
|
|
169
|
+
12877,
|
|
170
|
+
374,
|
|
171
|
+
6303,
|
|
172
|
+
13,
|
|
173
|
+
1096,
|
|
174
|
+
374,
|
|
175
|
+
13247,
|
|
176
|
+
62524,
|
|
177
|
+
71268,
|
|
178
|
+
13,
|
|
179
|
+
6771,
|
|
180
|
+
752,
|
|
181
|
+
10765,
|
|
182
|
+
6896,
|
|
183
|
+
2326,
|
|
184
|
+
22809,
|
|
185
|
+
429,
|
|
186
|
+
10334,
|
|
187
|
+
419,
|
|
188
|
+
9352,
|
|
189
|
+
323,
|
|
190
|
+
29149,
|
|
191
|
+
382,
|
|
192
|
+
1592,
|
|
193
|
+
18906,
|
|
194
|
+
510,
|
|
195
|
+
16,
|
|
196
|
+
13,
|
|
197
|
+
8058,
|
|
198
|
+
4145,
|
|
199
|
+
5610,
|
|
200
|
+
678,
|
|
201
|
+
7986,
|
|
202
|
+
315,
|
|
203
|
+
9430,
|
|
204
|
+
3100,
|
|
205
|
+
198,
|
|
206
|
+
17,
|
|
207
|
+
13,
|
|
208
|
+
3197,
|
|
209
|
+
38810,
|
|
210
|
+
28730,
|
|
211
|
+
9234,
|
|
212
|
+
594,
|
|
213
|
+
16550,
|
|
214
|
+
11,
|
|
215
|
+
432,
|
|
216
|
+
4530,
|
|
217
|
+
3341,
|
|
218
|
+
448,
|
|
219
|
+
6819,
|
|
220
|
+
34445,
|
|
221
|
+
320
|
|
222
|
+
],
|
|
223
|
+
"method": "cache reset before each call; (n-1)/(t(256 new)-t(1 new)); greedy T=0; first of 2 reps discarded",
|
|
224
|
+
"mem_peak_mib_so_far": 244076
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"batched": [],
|
|
228
|
+
"shared": [],
|
|
229
|
+
"longctx": [],
|
|
230
|
+
"ttft": [],
|
|
231
|
+
"errors": [],
|
|
232
|
+
"mem_peak_mib_gpu0": 244076,
|
|
233
|
+
"finished": "2026-11-28T22:51:27Z",
|
|
234
|
+
"wall_s": 1638.7180602550507
|
|
235
|
+
}
|