d0rj commited on
Commit
5405176
·
1 Parent(s): 09d9609

Add T5Gemma 2 DSpark Base checkpoint and benchmarks

Browse files
README.md ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: gemma
5
+ library_name: vllm
6
+ base_model: google/t5gemma-2-1b-1b
7
+ datasets:
8
+ - HuggingFaceH4/ultrachat_200k
9
+ - Aeala/ShareGPT_Vicuna_unfiltered
10
+ - ise-uiuc/Magicoder-Evol-Instruct-110K
11
+ - Salesforce/xlam-function-calling-60k
12
+ - glaiveai/glaive-function-calling-v2
13
+ - TIGER-Lab/MathInstruct
14
+ tags:
15
+ - speculative-decoding
16
+ - speculators
17
+ - vllm
18
+ - t5gemma2
19
+ - dspark
20
+ ---
21
+
22
+ # T5Gemma 2 1B-1B DSpark Base
23
+
24
+ This repository contains a three-layer DSpark speculative draft model trained for the frozen [google/t5gemma-2-1b-1b](https://huggingface.co/google/t5gemma-2-1b-1b) verifier.
25
+
26
+ "Base" denotes the reduced three-layer draft. [DSpark Large](https://huggingface.co/d0rj/t5gemma-2-1b-1b.dspark-large) uses five draft transformer layers with the same data, vocabulary, target-state selection, Markov head, confidence head, and training budget. The smaller model trades a modest amount of acceptance accuracy for substantially lower draft compute.
27
+
28
+ This is a **speculative draft checkpoint**, not a standalone language model. The repository includes inference weights, complete optimizer/scheduler state, validation metrics, continuation metadata, exact training commands, both DSpark TensorBoard runs, and raw benchmark artifacts for the Base and Large comparisons.
29
+
30
+ ## Model details
31
+
32
+ | Item | Value |
33
+ |---|---|
34
+ | Draft architecture | `DSparkDraftModel` |
35
+ | Verifier | `google/t5gemma-2-1b-1b` |
36
+ | Draft transformer layers | 3 |
37
+ | Large comparison | 5 draft transformer layers |
38
+ | Draft hidden / intermediate size | 1,152 / 6,912 |
39
+ | Draft vocabulary | 32,000 tokens mapped from the verifier vocabulary |
40
+ | Speculative block | 8 positions: one anchor and up to 7 proposed tokens |
41
+ | Default proposals per step | 7 |
42
+ | Runtime override | 1-7 proposed tokens |
43
+ | Verifier decoder states | 2, 7, 13, 18, 21 |
44
+ | Markov head | Vanilla first-order bias, rank 256 |
45
+ | Confidence head | Enabled; conditioned on the Markov embedding |
46
+ | Precision | BF16 |
47
+ | Selected checkpoint | Epoch 5 (sixth/final epoch), global step 146,486 |
48
+
49
+ ## Usage with vLLM
50
+
51
+ Install a compatible vLLM build and the [T5Gemma 2 vLLM plugin](https://github.com/d0rj/t5gemma2-vllm-plugin):
52
+
53
+ ```bash
54
+ pip install "git+https://github.com/d0rj/t5gemma2-vllm-plugin.git"
55
+ ```
56
+
57
+ The plugin is discovered automatically through vLLM entry points; `VLLM_PLUGINS` is not required.
58
+
59
+ ### Serve the Hub checkpoint with its default K=7
60
+
61
+ ```bash
62
+ vllm serve d0rj/t5gemma-2-1b-1b.dspark-base \
63
+ --host 127.0.0.1 \
64
+ --port 8000 \
65
+ --served-model-name t5gemma-2-1b-1b-dspark-base \
66
+ --trust-remote-code \
67
+ --no-enable-chunked-prefill \
68
+ --max-model-len 2048 \
69
+ --max-num-seqs 1
70
+ ```
71
+
72
+ The plugin reads the verifier reference from this checkpoint and loads `google/t5gemma-2-1b-1b` automatically.
73
+
74
+ ### Override the number of proposed tokens
75
+
76
+ The adapter uses vLLM's DFlash scheduler for every DFlash-family checkpoint and selects DSpark from the checkpoint architecture.
77
+
78
+ ```bash
79
+ vllm serve google/t5gemma-2-1b-1b \
80
+ --host 127.0.0.1 \
81
+ --port 8000 \
82
+ --served-model-name t5gemma-2-1b-1b-dspark-base-k3 \
83
+ --trust-remote-code \
84
+ --no-enable-chunked-prefill \
85
+ --max-model-len 2048 \
86
+ --max-num-seqs 1 \
87
+ --speculative-config '{"model":"d0rj/t5gemma-2-1b-1b.dspark-base","method":"dflash","num_speculative_tokens":3}'
88
+ ```
89
+
90
+ Set `num_speculative_tokens` to an integer from 1 through 7. K=3 and K=7 were benchmarked below. CUDA Graph remains enabled when `--enforce-eager` is omitted.
91
+
92
+ ```bash
93
+ curl http://127.0.0.1:8000/v1/completions \
94
+ -H 'Content-Type: application/json' \
95
+ -d '{
96
+ "model": "t5gemma-2-1b-1b-dspark-base",
97
+ "prompt": "Solve step by step.\n\nQuestion: A train travels 60 miles in 2 hours. What is its average speed?\nAnswer:",
98
+ "max_tokens": 128,
99
+ "temperature": 0
100
+ }'
101
+ ```
102
+
103
+ This checkpoint is not intended to be loaded independently through Transformers `AutoModelForSeq2SeqLM`.
104
+
105
+ ## Training
106
+
107
+ Training used online hidden-state extraction. The frozen verifier and trainable draft shared one RTX 5070 Ti 16 GB GPU under WSL2; hidden states were generated in process and were not stored for the complete dataset.
108
+
109
+ ### Data mixture
110
+
111
+ The deterministically shuffled seed-42 mixture contained exactly 200,000 examples.
112
+
113
+ | Dataset | Examples | Share | Coverage |
114
+ |---|---:|---:|---|
115
+ | [UltraChat 200k](https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k) | 60,000 | 30% | General instruction following and dialogue |
116
+ | [ShareGPT Vicuna unfiltered](https://huggingface.co/datasets/Aeala/ShareGPT_Vicuna_unfiltered) | 20,000 | 10% | Multi-turn conversation |
117
+ | [Magicoder Evol Instruct](https://huggingface.co/datasets/ise-uiuc/Magicoder-Evol-Instruct-110K) | 50,000 | 25% | Code and software tasks |
118
+ | [xLAM function calling](https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k) | 40,000 | 20% | Tool and function calling |
119
+ | [Glaive function calling v2](https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2) | 20,000 | 10% | Tool use and function calling |
120
+ | [MathInstruct](https://huggingface.co/datasets/TIGER-Lab/MathInstruct) | 10,000 | 5% | Mathematics and reasoning |
121
+
122
+ The prepared data used a 90%/10% train/validation split. Encoder inputs were truncated to 2,048 tokens and decoder targets to 1,024 tokens. Exact source counts and converters are in [training/data_config.json](training/data_config.json).
123
+
124
+ ### Hyperparameters
125
+
126
+ | Parameter | Value |
127
+ |---|---|
128
+ | Draft layers | 3 |
129
+ | Epochs | 6 |
130
+ | Optimizer | AdamW |
131
+ | Learning rate / weight decay | 6e-4 / 0.01 |
132
+ | Scheduler | Linear; automatic 1% warmup |
133
+ | Packed token budget | 2,048 |
134
+ | Online extraction microbatch | 32 |
135
+ | Maximum anchors / block size | 256 / 8 |
136
+ | Hidden-state dtype | BF16 |
137
+ | Noise standard deviation | 0.05 |
138
+ | Main loss | 0.1 cross-entropy + 0.9 total variation |
139
+ | Confidence loss weight | 1.0 |
140
+ | Verifier | Frozen |
141
+ | Dataloader workers | 0 |
142
+ | Seed | 42 |
143
+ | Training revision | `4bd884b204230bbbec44dbb6538eb82593c4016f` |
144
+ | Software | Speculators 0.7.0.dev72; Transformers 5.12.1; PyTorch 2.12.0 |
145
+
146
+ The launcher is [training/train.sh](training/train.sh). [train_command.txt](train_command.txt) records the resolved command and software versions.
147
+
148
+ ### TensorBoard
149
+
150
+ Both requested DSpark runs are included:
151
+
152
+ - `dspark_base_t5gemma2_mixture_200k`: this three-layer model;
153
+ - `dspark_t5gemma2_mixture_200k`: the five-layer Large model.
154
+
155
+ ```bash
156
+ tensorboard --logdir tensorboard --port 6006
157
+ ```
158
+
159
+ ## Validation comparison
160
+
161
+ These are teacher-forced validation metrics from each selected epoch-5 checkpoint. Runtime acceptance is lower because later speculative positions depend on every preceding draft token being accepted.
162
+
163
+ | Metric | DSpark Large (5L) | DSpark Base (3L) |
164
+ |---|---:|---:|
165
+ | Validation loss | 0.6738 | 0.6961 |
166
+ | Full-block token accuracy | 45.73% | 43.67% |
167
+ | Teacher-forced acceptance rate | 42.77% | 40.55% |
168
+ | Teacher-forced acceptance length | 2.557 | 2.418 |
169
+ | Confidence loss | 0.2815 | 0.2832 |
170
+ | Confidence absolute error | 0.1886 | 0.1896 |
171
+ | Position 1 accuracy | 66.60% | 64.26% |
172
+ | Position 2 accuracy | 55.52% | 53.21% |
173
+ | Position 3 accuracy | 47.79% | 45.51% |
174
+ | Position 4 accuracy | 42.48% | 40.30% |
175
+ | Position 5 accuracy | 38.69% | 36.74% |
176
+ | Position 6 accuracy | 35.74% | 33.96% |
177
+ | Position 7 accuracy | 33.21% | 31.62% |
178
+
179
+ Unrounded Base values are in [val_metrics.json](val_metrics.json); both runs can be inspected in TensorBoard.
180
+
181
+ ## vLLM performance: Base vs Large
182
+
183
+ Both campaigns used identical prompt snapshots: their per-dataset SHA-256 hashes match. Settings were also identical within each batch size: greedy decoding, seed 0, maximum model length 2,048, maximum output 128, `--max-num-batched-tokens 4096`, GPU memory utilization 0.85, chunked prefill disabled, CUDA Graph enabled, and 8 excluded warm-up requests.
184
+
185
+ BS1 used concurrency/max-num-seqs 1; BS4 used 4. Dataset sizes were MATH-500 500, GSM8K 1,319, HumanEval 164, MBPP 500, MT-Bench 160 independent turns, and UltraChat `test_sft` 5,000.
186
+
187
+ The raw verifier throughput drifted between the Large and Base benchmark campaigns, particularly at BS4. Therefore each draft is compared against the baseline measured in its own campaign. The `Normalized gain of 3L` column is:
188
+
189
+ ```text
190
+ (Base draft / Base campaign verifier) / (Large draft / Large campaign verifier)
191
+ ```
192
+
193
+ This avoids presenting baseline drift as an architectural speedup. A value above 1.0 means the three-layer draft improved normalized end-to-end throughput relative to Large.
194
+
195
+ Within paired columns, values are always `Large (5L) / Base (3L)`. Latency, TTFT, and ITL show mean/p95 milliseconds. Acceptance rate is accepted draft tokens divided by all proposals; p1 is first-position acceptance; acceptance length is `1 + accepted_tokens / draft_steps`.
196
+
197
+ ### Batch size 1
198
+
199
+ | Dataset | K | Verifier tok/s (5L run / 3L run) | Draft tok/s (5L / 3L) | Speedup (5L / 3L) | Normalized gain of 3L | Latency mean/p95 ms (5L / 3L) | TTFT mean/p95 ms (5L / 3L) | ITL mean/p95 ms (5L / 3L) | Accept rate (5L / 3L) | p1 (5L / 3L) | Accept len (5L / 3L) |
200
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
201
+ | math500 | 3 | 113.45 / 123.60 | 131.01 / 152.19 | 1.155x / 1.231x | 1.066x | 972.82/1383.58 / 837.38/1146.01 | 139.16/243.83 / 119.19/213.45 | 6.59/9.67 / 5.68/8.04 | 44.80% / 41.56% | 65.41% / 63.26% | 2.344 / 2.247 |
202
+ | math500 | 7 | 113.45 / 123.60 | 136.48 / 149.95 | 1.203x / 1.213x | 1.008x | 932.87/1415.98 / 849.09/1242.33 | 142.46/239.27 / 129.85/256.74 | 6.26/10.08 / 5.69/8.78 | 22.84% / 20.32% | 64.00% / 62.06% | 2.599 / 2.423 |
203
+ | gsm8k | 3 | 115.56 / 127.30 | 111.95 / 128.83 | 0.969x / 1.012x | 1.045x | 1140.44/1627.45 / 990.98/1346.59 | 137.90/232.76 / 111.31/207.46 | 7.91/11.64 / 6.94/9.58 | 31.19% / 27.13% | 53.50% / 48.78% | 1.936 / 1.814 |
204
+ | gsm8k | 7 | 115.56 / 127.30 | 111.09 / 121.81 | 0.961x / 0.957x | 0.995x | 1149.49/1690.77 / 1048.34/1480.12 | 142.42/238.71 / 127.43/265.25 | 7.94/11.94 / 7.26/10.53 | 14.63% / 12.43% | 53.36% / 47.85% | 2.024 / 1.870 |
205
+ | humaneval | 3 | 93.66 / 112.12 | 130.99 / 162.20 | 1.399x / 1.447x | 1.034x | 530.74/905.70 / 428.57/818.54 | 146.04/236.92 / 100.60/181.40 | 6.10/8.98 / 5.12/7.48 | 60.43% / 57.68% | 77.12% / 75.54% | 2.813 / 2.730 |
206
+ | humaneval | 7 | 93.66 / 112.12 | 145.41 / 149.24 | 1.553x / 1.331x | 0.857x | 455.86/852.21 / 444.15/816.37 | 143.63/241.35 / 160.06/265.69 | 5.51/9.66 / 4.94/8.73 | 34.97% / 33.09% | 73.45% / 73.07% | 3.448 / 3.317 |
207
+ | mbpp | 3 | 117.61 / 130.38 | 146.73 / 175.87 | 1.248x / 1.349x | 1.081x | 840.11/1144.96 / 700.90/919.01 | 133.81/238.02 / 108.79/204.45 | 5.95/8.07 / 5.01/6.63 | 52.37% / 50.96% | 71.03% / 70.10% | 2.571 / 2.529 |
208
+ | mbpp | 7 | 117.61 / 130.38 | 158.24 / 175.67 | 1.346x / 1.347x | 1.001x | 773.38/1069.82 / 696.66/978.64 | 144.88/240.50 / 144.75/269.57 | 5.46/7.70 / 4.79/6.83 | 28.85% / 27.43% | 68.24% / 67.37% | 3.020 / 2.920 |
209
+ | mt_bench | 3 | 116.89 / 127.47 | 121.09 / 144.01 | 1.036x / 1.130x | 1.091x | 1037.41/1565.51 / 872.29/1313.48 | 141.77/240.41 / 97.45/185.92 | 7.31/11.71 / 6.34/10.21 | 37.06% / 32.28% | 59.00% / 54.41% | 2.112 / 1.968 |
210
+ | mt_bench | 7 | 116.89 / 127.47 | 122.24 / 132.15 | 1.046x / 1.037x | 0.991x | 1027.68/1596.33 / 950.60/1560.65 | 141.25/255.56 / 132.69/258.32 | 7.28/11.79 / 6.66/11.56 | 17.42% / 14.79% | 56.41% / 52.76% | 2.220 / 2.035 |
211
+ | ultrachat | 3 | 62.83 / 66.23 | 78.10 / 83.93 | 1.243x / 1.267x | 1.019x | 1628.21/2287.42 / 1515.15/2205.47 | 171.98/258.65 / 154.38/250.98 | 11.54/16.24 / 10.78/15.62 | 32.41% / 30.25% | 55.57% / 53.35% | 1.972 / 1.907 |
212
+ | ultrachat | 7 | 62.83 / 66.23 | 78.70 / 83.77 | 1.253x / 1.265x | 1.010x | 1616.26/2290.96 / 1518.37/2203.91 | 176.72/263.78 / 165.57/262.97 | 11.40/16.28 / 10.72/15.63 | 15.45% / 14.19% | 55.33% / 53.12% | 2.081 / 1.993 |
213
+
214
+ ### Batch size 4
215
+
216
+ | Dataset | K | Verifier tok/s (5L run / 3L run) | Draft tok/s (5L / 3L) | Speedup (5L / 3L) | Normalized gain of 3L | Latency mean/p95 ms (5L / 3L) | TTFT mean/p95 ms (5L / 3L) | ITL mean/p95 ms (5L / 3L) | Accept rate (5L / 3L) | p1 (5L / 3L) | Accept len (5L / 3L) |
217
+ |---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
218
+ | math500 | 3 | 266.74 / 327.25 | 286.34 / 424.44 | 1.073x / 1.297x | 1.208x | 1774.14/2512.93 / 1195.68/1773.15 | 237.01/434.45 / 143.30/297.68 | 12.18/17.88 / 8.35/12.35 | 44.99% / 41.55% | 65.67% / 63.32% | 2.350 / 2.246 |
219
+ | math500 | 7 | 266.74 / 327.25 | 294.75 / 394.37 | 1.105x / 1.205x | 1.091x | 1725.25/2646.27 / 1286.87/1958.87 | 247.76/461.03 / 169.23/310.46 | 11.72/18.88 / 8.87/13.72 | 22.89% / 20.28% | 63.98% / 61.78% | 2.602 / 2.419 |
220
+ | gsm8k | 3 | 280.58 / 344.96 | 267.82 / 376.84 | 0.954x / 1.092x | 1.144x | 1904.86/2717.59 / 1352.79/1901.42 | 232.41/436.56 / 146.36/300.51 | 13.20/19.22 / 9.52/13.59 | 31.15% / 27.04% | 53.33% / 48.59% | 1.934 / 1.811 |
221
+ | gsm8k | 7 | 280.58 / 344.96 | 256.27 / 361.79 | 0.913x / 1.049x | 1.148x | 1991.49/2946.94 / 1409.89/2024.30 | 240.23/457.41 / 149.38/303.52 | 13.82/21.07 / 9.94/14.45 | 14.63% / 12.44% | 53.19% / 47.59% | 2.024 / 1.871 |
222
+ | humaneval | 3 | 194.21 / 265.07 | 234.79 / 371.59 | 1.209x / 1.402x | 1.160x | 1172.97/2107.93 / 731.68/1438.71 | 265.30/502.88 / 153.84/371.52 | 14.78/29.63 / 9.22/16.54 | 59.91% / 57.23% | 76.53% / 75.49% | 2.797 / 2.717 |
223
+ | humaneval | 7 | 194.21 / 265.07 | 210.60 / 388.96 | 1.084x / 1.467x | 1.353x | 1276.63/2616.22 / 695.93/1258.20 | 564.26/1681.50 / 170.66/440.41 | 12.49/25.28 / 9.07/18.30 | 35.09% / 33.28% | 74.01% / 73.49% | 3.457 / 3.329 |
224
+ | mbpp | 3 | 275.24 / 345.00 | 310.80 / 478.08 | 1.129x / 1.386x | 1.227x | 1592.68/2178.77 / 1031.81/1450.64 | 240.73/455.66 / 149.58/290.25 | 11.35/15.68 / 7.49/10.49 | 52.29% / 51.15% | 71.25% / 70.32% | 2.569 / 2.535 |
225
+ | mbpp | 7 | 275.24 / 345.00 | 274.50 / 482.65 | 0.997x / 1.399x | 1.403x | 1794.33/3171.44 / 1016.76/1519.82 | 643.14/2119.01 / 157.02/310.51 | 10.10/14.88 / 7.46/11.04 | 28.83% / 27.60% | 68.32% / 67.48% | 3.018 / 2.932 |
226
+ | mt_bench | 3 | 309.23 / 359.97 | 282.93 / 395.71 | 0.915x / 1.099x | 1.201x | 1771.67/2604.84 / 1267.36/1889.96 | 252.12/503.80 / 149.93/296.09 | 12.36/19.15 / 8.95/13.28 | 36.54% / 32.00% | 58.03% / 54.34% | 2.096 / 1.960 |
227
+ | mt_bench | 7 | 309.23 / 359.97 | 224.25 / 356.55 | 0.725x / 0.991x | 1.366x | 2225.17/3657.94 / 1404.46/2271.47 | 838.84/2441.89 / 182.32/363.33 | 11.43/22.87 / 9.92/17.31 | 17.22% / 14.60% | 55.30% / 51.91% | 2.205 / 2.022 |
228
+ | ultrachat | 3 | 155.46 / 169.47 | 190.92 / 231.21 | 1.228x / 1.364x | 1.111x | 2665.16/3441.95 / 2200.76/2860.88 | 264.37/429.11 / 203.06/327.66 | 19.01/24.80 / 15.82/20.66 | 32.40% / 30.23% | 55.58% / 53.29% | 1.972 / 1.907 |
229
+ | ultrachat | 7 | 155.46 / 169.47 | 189.60 / 230.66 | 1.220x / 1.361x | 1.116x | 2683.34/3469.80 / 2205.89/2923.48 | 287.66/433.69 / 208.65/335.64 | 18.97/25.07 / 15.81/21.20 | 15.40% / 14.16% | 55.21% / 53.16% | 2.078 / 1.991 |
230
+
231
+ Full Base reports are in [benchmarks/base](benchmarks/base); the complete Large suite reports are in [benchmarks/large](benchmarks/large). These include all quantiles, prompt hashes, request counts, baseline rows, CSV tables, and raw JSON.
232
+
233
+ ## Repository contents
234
+
235
+ - `model.safetensors`: selected three-layer DSpark weights.
236
+ - `config.json`, `config.py`: architecture and verifier linkage.
237
+ - `optimizer_state_dict.pt`: complete AdamW state.
238
+ - `scheduler_state_dict.pt`: scheduler state.
239
+ - `training_state.json`: epoch/global-step continuation metadata.
240
+ - `train_command.txt`: exact training command and package versions.
241
+ - `val_metrics.json`: selected-checkpoint validation metrics.
242
+ - `training/`: data metadata and launcher.
243
+ - `tensorboard/`: Base and Large DSpark TensorBoard events.
244
+ - `benchmarks/`: Base and Large bs1/bs4 reports.
245
+
246
+ For optimizer-level continuation, restore the root checkpoint files as an epoch directory in a compatible Speculators checkpoint tree and point `checkpoint_best` to it.
247
+
248
+ ## Limitations
249
+
250
+ - Performance depends on hardware, workload, batch size, and vLLM version; universal acceleration is not claimed.
251
+ - Base and Large were measured in separate benchmark campaigns. Prompt hashes and settings match, but the two co-run verifier measurements demonstrate system-level drift.
252
+ - The plugin path was validated for single-GPU text serving. Tensor/pipeline parallelism, quantized serving, and the vision path require separate validation.
253
+ - Teacher-forced validation accuracy does not guarantee equal runtime acceptance.
254
+ - K=3 reduces draft work but changes block length relative to eight-position training; K=7 matches the trained block shape.
255
+ - Generated outputs retain the behavior and limitations of the verifier and training data.
256
+
257
+ ## License and attribution
258
+
259
+ This checkpoint is derived from T5Gemma 2 and is distributed under the Gemma license. Using the verifier requires accepting Google's Gemma terms. Each dataset retains its own license and conditions.
260
+
261
+ Training used the [vLLM Speculators project](https://github.com/vllm-project/speculators) with T5Gemma 2, DSpark, online-extraction, CUDA Graph, and logging extensions from the accompanying development branch.
262
+
benchmarks/base/bs1/comparison.csv ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset,run,method,num_speculative_tokens,requests,output_tokens,request_throughput_rps,output_throughput_tps,speedup_vs_baseline,latency_mean_ms,latency_p50_ms,latency_p95_ms,latency_p99_ms,ttft_mean_ms,ttft_p50_ms,ttft_p95_ms,ttft_p99_ms,itl_mean_ms,itl_p50_ms,itl_p95_ms,itl_p99_ms,tpot_mean_ms,tpot_p50_ms,tpot_p95_ms,acceptance_rate,acceptance_pos_1,acceptance_pos_2,acceptance_pos_3,mean_acceptance_length
2
+ math500,baseline,baseline,,500,63642,0.9710887696354362,123.60406295427687,1.0,1029.6528329752618,1011.0086214990588,1183.8821351528165,1352.1066228914415,137.17931756953476,125.86030399688752,254.1806304405327,259.12194621312665,7.065699614096616,6.948497625951028,8.149714840967464,9.294363555888458,7.066986512325109,6.949724716546406,8.150898662537166,,,,,
3
+ math500,dspark_k3,dspark,3,500,63731,1.1940337177445612,152.19392573115726,1.2313019660806477,837.3801779437345,816.9088775030104,1146.009227049944,1370.9137859771727,119.19492300227284,106.72050050197868,213.44604070691275,258.3343633514596,5.6791052364180485,5.593892366200956,8.0383705036205,9.9072340297603,5.680338308854861,5.595103622135508,8.040039556758208,0.4156275683926265,0.6326171187037689,0.3862627685804861,0.2280028178936245,2.2468827051778795
4
+ math500,dspark_k7,dspark,7,500,63668,1.1775733318385104,149.94747778298856,1.2131274182989966,849.0922174340812,839.2276294980547,1242.3280104500004,1512.9399566508073,129.85324780782685,118.26306749571813,256.7381934488367,268.83207743172534,5.692451923082981,5.603080988136545,8.775799772777777,10.470896226674313,5.693717860424883,5.604267641709472,8.777032548852267,0.2032188585715368,0.6206151981210698,0.36616410334116223,0.20482612319115084,2.422532010000758
5
+ gsm8k,baseline,baseline,,1319,168500,0.99646643680205,127.29688749139153,1.0,1003.4296112389243,979.7711369901663,1147.1265090964152,1165.5087842789362,121.82556504392818,98.20042399223894,253.87967379938343,259.2248212755658,6.953847864544167,6.954055936964903,7.2364834158344005,7.467789549431415,6.955123454672103,6.955686165340699,7.237693709486319,,,,,
6
+ gsm8k,dspark_k3,dspark,3,1319,168418,1.0089794437230273,128.83267623422654,1.0120646213202884,990.9843431904721,969.3124250043184,1346.5886881953336,1535.857625339122,111.30873365058301,95.77244399406482,207.4599851010134,258.9313290748395,6.9409634880545115,6.796889598449274,9.581487464620439,10.733646140910508,6.942225311685386,6.797988936978788,9.582715377937562,0.27131373077960613,0.48776908551389264,0.22053412462908012,0.10563798219584569,1.8139411923388185
7
+ gsm8k,dspark_k7,dspark,7,1319,168457,0.9537832973729679,121.81309547047616,0.9569212403462244,1048.3418924380537,1024.0400490001775,1480.1234933955127,1657.6216600838231,127.43488244511649,108.85212599532679,265.2473596011987,272.91192704375135,7.264521106390136,7.101249275637395,10.530224299220105,11.874427473184914,7.265778957962821,7.102425023638387,10.531432203184004,0.12425870324814467,0.4784887142079961,0.21339195505667877,0.10025647003963628,1.8698109227370128
8
+ humaneval,baseline,baseline,,164,11593,1.5860477240562036,112.1161662498998,1.0,630.4013797863018,523.5549619974336,1166.231724152749,1309.8181371219107,107.49666936503561,68.79427550302353,235.7000987394713,257.95137990207877,7.297341666050263,7.1785622135738,8.49481829626492,9.019322222237124,7.301280505914361,7.182021026551093,8.49614809654986,,,,,
9
+ humaneval,dspark_k3,dspark,3,164,11403,2.3328174923608316,162.20193820360097,1.4467310436040344,428.57000031148254,387.70782500796486,818.5407340446543,898.805770642066,100.60342578719606,86.00447800563416,181.3961499959987,206.1478519160301,5.122034968621708,4.931764990461113,7.476613033529377,8.192469397143373,5.12586804041208,4.935711371615048,7.481607739016129,0.5768270082990895,0.7553782934493595,0.5569253081943437,0.4181774232535654,2.7304810248972684
10
+ humaneval,dspark_k7,dspark,7,164,10873,2.251028218808984,149.24042575067125,1.3311231621854054,444.1504760051896,404.9552284996025,816.3704766055158,1066.9646934645427,160.0552513159417,160.3144644977874,265.6927762531268,272.09467787863105,4.944825696685838,4.49954001268619,8.732022160872603,10.318099194431854,4.949079180467763,4.503242393642178,8.749463808814781,0.33094945594945596,0.7306511056511057,0.538083538083538,0.382985257985258,3.316646191646192
11
+ mbpp,baseline,baseline,,500,61467,1.060577545227861,130.38103994504186,1.0,942.7637862757256,959.554503999243,1136.071662903123,1164.7922664470389,128.43507730966667,113.83070349984337,256.7646375973709,260.46189150976716,6.666311532516699,6.6432852756234775,7.121261330345493,7.26582164827209,6.669662882298301,6.644507716595485,7.122378109070412,,,,,
12
+ mbpp,dspark_k3,dspark,3,500,61643,1.426522036352137,175.87019577370955,1.3488939484440547,700.897503109707,703.9270094974199,919.0087530580053,1045.5224799610733,108.79212251797435,91.88079299929086,204.44850095518615,252.88790728605818,5.011328370238571,4.792381047239568,6.631624132701181,11.0604020699849,5.013954450995089,4.79360114569697,6.632888974820347,0.5095989615358338,0.7010043041606887,0.49940561590489857,0.32838696454191435,2.5287968846075017
13
+ mbpp,dspark_k7,dspark,7,500,61199,1.4351988286444157,175.6654662284192,1.347323708282014,696.6608542179456,697.1229435002897,978.6413718429683,1134.9274124257497,144.74703813757515,139.05306548986118,269.57134354670416,274.25451427989174,4.7933126349011435,4.529900153696456,6.829579977194199,12.186756946117372,4.796161684500074,4.531059523688732,6.830801591285134,0.27433826068703066,0.6736976821349007,0.462388017253638,0.2917950419490923,2.9203678248092144
14
+ mt_bench,baseline,baseline,,160,20102,1.0145474949999134,127.46521090305163,1.0,985.5352811689045,984.0788365036133,1160.0982246920466,1228.7251105705216,135.88225862440595,116.72725749667734,258.65039654891007,261.56884412805084,6.802873811459109,6.694544555138573,7.932162838574364,8.945381395555675,6.808100097450948,6.695755173252367,7.93327857724984,,,,,
15
+ mt_bench,dspark_k3,dspark,3,160,20102,1.146245568010398,144.01142755090638,1.1298096675212783,872.2913337876889,843.7197764942539,1313.481805704941,1433.86794267004,97.44770207444162,75.82400399405742,185.91803135059308,229.50114874707637,6.340698793466556,5.966741342590682,10.206342749464907,12.089351741436634,6.344304410333824,5.967888015807757,10.32622098520203,0.3227736367202825,0.5441349548842683,0.2823656335817968,0.14182032169478226,1.9683209101608474
16
+ mt_bench,dspark_k7,dspark,7,160,20102,1.0518269898218957,132.14891343374842,1.0367449478764772,950.6035467624315,909.5398534991546,1560.6508335607941,1760.411608337017,132.69152166194544,122.75661650346592,258.31930338608794,269.76503039040836,6.65775048881359,6.321849094407714,11.558155716175955,13.248131914494198,6.6624969313339735,6.32326457077476,11.559374125591408,0.14785346059984694,0.5276458101688062,0.257859092287476,0.1271606186192257,2.034974224198929
17
+ ultrachat,baseline,baseline,,5000,636089,0.5205862124506341,66.22783265830228,1.0,1920.7680450268758,1795.524564004154,3165.0052286931896,3293.7335572592565,134.13350982365372,127.32078000408364,226.59587289090268,258.95474469623883,14.14775085821201,13.20624435037479,23.33603281298938,24.09970887749654,14.149112711234228,13.207468862130167,23.337274902295345,,,,,
18
+ ultrachat,dspark_k3,dspark,3,5000,635846,0.6599485226793063,83.92512567030923,1.2672183627586737,1515.1526615684213,1470.6976669913274,2205.4712326978915,2478.7801955970654,154.38469593704212,149.33674249914475,250.97870194367718,286.67091090654156,10.78135369824052,10.431902874002185,15.61618643974625,17.696921136958977,10.78267526592669,10.433149968439395,15.617432073222732,0.30246536910398036,0.5334846321484933,0.2569174118884798,0.11699406327496806,1.907396107311941
19
+ ultrachat,dspark_k7,dspark,7,5000,636040,0.6585516278400763,83.77303547428042,1.2649218932846762,1518.3681885767612,1479.9964584963163,2203.905933455099,2513.144597544161,165.56593623632216,164.75157599779777,262.971773991012,305.4997507331428,10.715100522278119,10.43376617324282,15.631104971251936,17.89630725780433,10.71641033546772,10.434974913300184,15.632339404468743,0.14185244726020002,0.5312465705748265,0.25502381392840456,0.11516911181415417,1.9929671308214
benchmarks/base/bs1/comparison.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ | Dataset | Run | Req | Output tok/s | Speedup | Latency mean/p95 ms | TTFT mean/p95 ms | ITL mean/p95 ms | TPOT mean/p95 ms | Accept rate | Accept p1/p2/p3 | Accept len |
2
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
3
+ | math500 | baseline | 500 | 123.60 | 1.000x | 1029.65/1183.88 | 137.18/254.18 | 7.07/8.15 | 7.07/8.15 | — | -/-/- | — |
4
+ | math500 | dspark_k3 | 500 | 152.19 | 1.231x | 837.38/1146.01 | 119.19/213.45 | 5.68/8.04 | 5.68/8.04 | 41.56% | 63.26%/38.63%/22.80% | 2.247 |
5
+ | math500 | dspark_k7 | 500 | 149.95 | 1.213x | 849.09/1242.33 | 129.85/256.74 | 5.69/8.78 | 5.69/8.78 | 20.32% | 62.06%/36.62%/20.48% | 2.423 |
6
+ | gsm8k | baseline | 1319 | 127.30 | 1.000x | 1003.43/1147.13 | 121.83/253.88 | 6.95/7.24 | 6.96/7.24 | — | -/-/- | — |
7
+ | gsm8k | dspark_k3 | 1319 | 128.83 | 1.012x | 990.98/1346.59 | 111.31/207.46 | 6.94/9.58 | 6.94/9.58 | 27.13% | 48.78%/22.05%/10.56% | 1.814 |
8
+ | gsm8k | dspark_k7 | 1319 | 121.81 | 0.957x | 1048.34/1480.12 | 127.43/265.25 | 7.26/10.53 | 7.27/10.53 | 12.43% | 47.85%/21.34%/10.03% | 1.870 |
9
+ | humaneval | baseline | 164 | 112.12 | 1.000x | 630.40/1166.23 | 107.50/235.70 | 7.30/8.49 | 7.30/8.50 | — | -/-/- | — |
10
+ | humaneval | dspark_k3 | 164 | 162.20 | 1.447x | 428.57/818.54 | 100.60/181.40 | 5.12/7.48 | 5.13/7.48 | 57.68% | 75.54%/55.69%/41.82% | 2.730 |
11
+ | humaneval | dspark_k7 | 164 | 149.24 | 1.331x | 444.15/816.37 | 160.06/265.69 | 4.94/8.73 | 4.95/8.75 | 33.09% | 73.07%/53.81%/38.30% | 3.317 |
12
+ | mbpp | baseline | 500 | 130.38 | 1.000x | 942.76/1136.07 | 128.44/256.76 | 6.67/7.12 | 6.67/7.12 | — | -/-/- | — |
13
+ | mbpp | dspark_k3 | 500 | 175.87 | 1.349x | 700.90/919.01 | 108.79/204.45 | 5.01/6.63 | 5.01/6.63 | 50.96% | 70.10%/49.94%/32.84% | 2.529 |
14
+ | mbpp | dspark_k7 | 500 | 175.67 | 1.347x | 696.66/978.64 | 144.75/269.57 | 4.79/6.83 | 4.80/6.83 | 27.43% | 67.37%/46.24%/29.18% | 2.920 |
15
+ | mt_bench | baseline | 160 | 127.47 | 1.000x | 985.54/1160.10 | 135.88/258.65 | 6.80/7.93 | 6.81/7.93 | — | -/-/- | — |
16
+ | mt_bench | dspark_k3 | 160 | 144.01 | 1.130x | 872.29/1313.48 | 97.45/185.92 | 6.34/10.21 | 6.34/10.33 | 32.28% | 54.41%/28.24%/14.18% | 1.968 |
17
+ | mt_bench | dspark_k7 | 160 | 132.15 | 1.037x | 950.60/1560.65 | 132.69/258.32 | 6.66/11.56 | 6.66/11.56 | 14.79% | 52.76%/25.79%/12.72% | 2.035 |
18
+ | ultrachat | baseline | 5000 | 66.23 | 1.000x | 1920.77/3165.01 | 134.13/226.60 | 14.15/23.34 | 14.15/23.34 | — | -/-/- | — |
19
+ | ultrachat | dspark_k3 | 5000 | 83.93 | 1.267x | 1515.15/2205.47 | 154.38/250.98 | 10.78/15.62 | 10.78/15.62 | 30.25% | 53.35%/25.69%/11.70% | 1.907 |
20
+ | ultrachat | dspark_k7 | 5000 | 83.77 | 1.265x | 1518.37/2203.91 | 165.57/262.97 | 10.72/15.63 | 10.72/15.63 | 14.19% | 53.12%/25.50%/11.52% | 1.993 |
benchmarks/base/bs1/results.json ADDED
@@ -0,0 +1,560 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "dataset": "math500",
4
+ "run": "baseline",
5
+ "method": "baseline",
6
+ "num_speculative_tokens": null,
7
+ "requests": 500,
8
+ "output_tokens": 63642,
9
+ "request_throughput_rps": 0.9710887696354362,
10
+ "output_throughput_tps": 123.60406295427687,
11
+ "speedup_vs_baseline": 1.0,
12
+ "latency_mean_ms": 1029.6528329752618,
13
+ "latency_p50_ms": 1011.0086214990588,
14
+ "latency_p95_ms": 1183.8821351528165,
15
+ "latency_p99_ms": 1352.1066228914415,
16
+ "ttft_mean_ms": 137.17931756953476,
17
+ "ttft_p50_ms": 125.86030399688752,
18
+ "ttft_p95_ms": 254.1806304405327,
19
+ "ttft_p99_ms": 259.12194621312665,
20
+ "itl_mean_ms": 7.065699614096616,
21
+ "itl_p50_ms": 6.948497625951028,
22
+ "itl_p95_ms": 8.149714840967464,
23
+ "itl_p99_ms": 9.294363555888458,
24
+ "tpot_mean_ms": 7.066986512325109,
25
+ "tpot_p50_ms": 6.949724716546406,
26
+ "tpot_p95_ms": 8.150898662537166,
27
+ "acceptance_rate": null,
28
+ "acceptance_pos_1": null,
29
+ "acceptance_pos_2": null,
30
+ "acceptance_pos_3": null,
31
+ "mean_acceptance_length": null
32
+ },
33
+ {
34
+ "dataset": "math500",
35
+ "run": "dspark_k3",
36
+ "method": "dspark",
37
+ "num_speculative_tokens": 3,
38
+ "requests": 500,
39
+ "output_tokens": 63731,
40
+ "request_throughput_rps": 1.1940337177445612,
41
+ "output_throughput_tps": 152.19392573115726,
42
+ "speedup_vs_baseline": 1.2313019660806477,
43
+ "latency_mean_ms": 837.3801779437345,
44
+ "latency_p50_ms": 816.9088775030104,
45
+ "latency_p95_ms": 1146.009227049944,
46
+ "latency_p99_ms": 1370.9137859771727,
47
+ "ttft_mean_ms": 119.19492300227284,
48
+ "ttft_p50_ms": 106.72050050197868,
49
+ "ttft_p95_ms": 213.44604070691275,
50
+ "ttft_p99_ms": 258.3343633514596,
51
+ "itl_mean_ms": 5.6791052364180485,
52
+ "itl_p50_ms": 5.593892366200956,
53
+ "itl_p95_ms": 8.0383705036205,
54
+ "itl_p99_ms": 9.9072340297603,
55
+ "tpot_mean_ms": 5.680338308854861,
56
+ "tpot_p50_ms": 5.595103622135508,
57
+ "tpot_p95_ms": 8.040039556758208,
58
+ "acceptance_rate": 0.4156275683926265,
59
+ "acceptance_pos_1": 0.6326171187037689,
60
+ "acceptance_pos_2": 0.3862627685804861,
61
+ "acceptance_pos_3": 0.2280028178936245,
62
+ "mean_acceptance_length": 2.2468827051778795
63
+ },
64
+ {
65
+ "dataset": "math500",
66
+ "run": "dspark_k7",
67
+ "method": "dspark",
68
+ "num_speculative_tokens": 7,
69
+ "requests": 500,
70
+ "output_tokens": 63668,
71
+ "request_throughput_rps": 1.1775733318385104,
72
+ "output_throughput_tps": 149.94747778298856,
73
+ "speedup_vs_baseline": 1.2131274182989966,
74
+ "latency_mean_ms": 849.0922174340812,
75
+ "latency_p50_ms": 839.2276294980547,
76
+ "latency_p95_ms": 1242.3280104500004,
77
+ "latency_p99_ms": 1512.9399566508073,
78
+ "ttft_mean_ms": 129.85324780782685,
79
+ "ttft_p50_ms": 118.26306749571813,
80
+ "ttft_p95_ms": 256.7381934488367,
81
+ "ttft_p99_ms": 268.83207743172534,
82
+ "itl_mean_ms": 5.692451923082981,
83
+ "itl_p50_ms": 5.603080988136545,
84
+ "itl_p95_ms": 8.775799772777777,
85
+ "itl_p99_ms": 10.470896226674313,
86
+ "tpot_mean_ms": 5.693717860424883,
87
+ "tpot_p50_ms": 5.604267641709472,
88
+ "tpot_p95_ms": 8.777032548852267,
89
+ "acceptance_rate": 0.2032188585715368,
90
+ "acceptance_pos_1": 0.6206151981210698,
91
+ "acceptance_pos_2": 0.36616410334116223,
92
+ "acceptance_pos_3": 0.20482612319115084,
93
+ "mean_acceptance_length": 2.422532010000758
94
+ },
95
+ {
96
+ "dataset": "gsm8k",
97
+ "run": "baseline",
98
+ "method": "baseline",
99
+ "num_speculative_tokens": null,
100
+ "requests": 1319,
101
+ "output_tokens": 168500,
102
+ "request_throughput_rps": 0.99646643680205,
103
+ "output_throughput_tps": 127.29688749139153,
104
+ "speedup_vs_baseline": 1.0,
105
+ "latency_mean_ms": 1003.4296112389243,
106
+ "latency_p50_ms": 979.7711369901663,
107
+ "latency_p95_ms": 1147.1265090964152,
108
+ "latency_p99_ms": 1165.5087842789362,
109
+ "ttft_mean_ms": 121.82556504392818,
110
+ "ttft_p50_ms": 98.20042399223894,
111
+ "ttft_p95_ms": 253.87967379938343,
112
+ "ttft_p99_ms": 259.2248212755658,
113
+ "itl_mean_ms": 6.953847864544167,
114
+ "itl_p50_ms": 6.954055936964903,
115
+ "itl_p95_ms": 7.2364834158344005,
116
+ "itl_p99_ms": 7.467789549431415,
117
+ "tpot_mean_ms": 6.955123454672103,
118
+ "tpot_p50_ms": 6.955686165340699,
119
+ "tpot_p95_ms": 7.237693709486319,
120
+ "acceptance_rate": null,
121
+ "acceptance_pos_1": null,
122
+ "acceptance_pos_2": null,
123
+ "acceptance_pos_3": null,
124
+ "mean_acceptance_length": null
125
+ },
126
+ {
127
+ "dataset": "gsm8k",
128
+ "run": "dspark_k3",
129
+ "method": "dspark",
130
+ "num_speculative_tokens": 3,
131
+ "requests": 1319,
132
+ "output_tokens": 168418,
133
+ "request_throughput_rps": 1.0089794437230273,
134
+ "output_throughput_tps": 128.83267623422654,
135
+ "speedup_vs_baseline": 1.0120646213202884,
136
+ "latency_mean_ms": 990.9843431904721,
137
+ "latency_p50_ms": 969.3124250043184,
138
+ "latency_p95_ms": 1346.5886881953336,
139
+ "latency_p99_ms": 1535.857625339122,
140
+ "ttft_mean_ms": 111.30873365058301,
141
+ "ttft_p50_ms": 95.77244399406482,
142
+ "ttft_p95_ms": 207.4599851010134,
143
+ "ttft_p99_ms": 258.9313290748395,
144
+ "itl_mean_ms": 6.9409634880545115,
145
+ "itl_p50_ms": 6.796889598449274,
146
+ "itl_p95_ms": 9.581487464620439,
147
+ "itl_p99_ms": 10.733646140910508,
148
+ "tpot_mean_ms": 6.942225311685386,
149
+ "tpot_p50_ms": 6.797988936978788,
150
+ "tpot_p95_ms": 9.582715377937562,
151
+ "acceptance_rate": 0.27131373077960613,
152
+ "acceptance_pos_1": 0.48776908551389264,
153
+ "acceptance_pos_2": 0.22053412462908012,
154
+ "acceptance_pos_3": 0.10563798219584569,
155
+ "mean_acceptance_length": 1.8139411923388185
156
+ },
157
+ {
158
+ "dataset": "gsm8k",
159
+ "run": "dspark_k7",
160
+ "method": "dspark",
161
+ "num_speculative_tokens": 7,
162
+ "requests": 1319,
163
+ "output_tokens": 168457,
164
+ "request_throughput_rps": 0.9537832973729679,
165
+ "output_throughput_tps": 121.81309547047616,
166
+ "speedup_vs_baseline": 0.9569212403462244,
167
+ "latency_mean_ms": 1048.3418924380537,
168
+ "latency_p50_ms": 1024.0400490001775,
169
+ "latency_p95_ms": 1480.1234933955127,
170
+ "latency_p99_ms": 1657.6216600838231,
171
+ "ttft_mean_ms": 127.43488244511649,
172
+ "ttft_p50_ms": 108.85212599532679,
173
+ "ttft_p95_ms": 265.2473596011987,
174
+ "ttft_p99_ms": 272.91192704375135,
175
+ "itl_mean_ms": 7.264521106390136,
176
+ "itl_p50_ms": 7.101249275637395,
177
+ "itl_p95_ms": 10.530224299220105,
178
+ "itl_p99_ms": 11.874427473184914,
179
+ "tpot_mean_ms": 7.265778957962821,
180
+ "tpot_p50_ms": 7.102425023638387,
181
+ "tpot_p95_ms": 10.531432203184004,
182
+ "acceptance_rate": 0.12425870324814467,
183
+ "acceptance_pos_1": 0.4784887142079961,
184
+ "acceptance_pos_2": 0.21339195505667877,
185
+ "acceptance_pos_3": 0.10025647003963628,
186
+ "mean_acceptance_length": 1.8698109227370128
187
+ },
188
+ {
189
+ "dataset": "humaneval",
190
+ "run": "baseline",
191
+ "method": "baseline",
192
+ "num_speculative_tokens": null,
193
+ "requests": 164,
194
+ "output_tokens": 11593,
195
+ "request_throughput_rps": 1.5860477240562036,
196
+ "output_throughput_tps": 112.1161662498998,
197
+ "speedup_vs_baseline": 1.0,
198
+ "latency_mean_ms": 630.4013797863018,
199
+ "latency_p50_ms": 523.5549619974336,
200
+ "latency_p95_ms": 1166.231724152749,
201
+ "latency_p99_ms": 1309.8181371219107,
202
+ "ttft_mean_ms": 107.49666936503561,
203
+ "ttft_p50_ms": 68.79427550302353,
204
+ "ttft_p95_ms": 235.7000987394713,
205
+ "ttft_p99_ms": 257.95137990207877,
206
+ "itl_mean_ms": 7.297341666050263,
207
+ "itl_p50_ms": 7.1785622135738,
208
+ "itl_p95_ms": 8.49481829626492,
209
+ "itl_p99_ms": 9.019322222237124,
210
+ "tpot_mean_ms": 7.301280505914361,
211
+ "tpot_p50_ms": 7.182021026551093,
212
+ "tpot_p95_ms": 8.49614809654986,
213
+ "acceptance_rate": null,
214
+ "acceptance_pos_1": null,
215
+ "acceptance_pos_2": null,
216
+ "acceptance_pos_3": null,
217
+ "mean_acceptance_length": null
218
+ },
219
+ {
220
+ "dataset": "humaneval",
221
+ "run": "dspark_k3",
222
+ "method": "dspark",
223
+ "num_speculative_tokens": 3,
224
+ "requests": 164,
225
+ "output_tokens": 11403,
226
+ "request_throughput_rps": 2.3328174923608316,
227
+ "output_throughput_tps": 162.20193820360097,
228
+ "speedup_vs_baseline": 1.4467310436040344,
229
+ "latency_mean_ms": 428.57000031148254,
230
+ "latency_p50_ms": 387.70782500796486,
231
+ "latency_p95_ms": 818.5407340446543,
232
+ "latency_p99_ms": 898.805770642066,
233
+ "ttft_mean_ms": 100.60342578719606,
234
+ "ttft_p50_ms": 86.00447800563416,
235
+ "ttft_p95_ms": 181.3961499959987,
236
+ "ttft_p99_ms": 206.1478519160301,
237
+ "itl_mean_ms": 5.122034968621708,
238
+ "itl_p50_ms": 4.931764990461113,
239
+ "itl_p95_ms": 7.476613033529377,
240
+ "itl_p99_ms": 8.192469397143373,
241
+ "tpot_mean_ms": 5.12586804041208,
242
+ "tpot_p50_ms": 4.935711371615048,
243
+ "tpot_p95_ms": 7.481607739016129,
244
+ "acceptance_rate": 0.5768270082990895,
245
+ "acceptance_pos_1": 0.7553782934493595,
246
+ "acceptance_pos_2": 0.5569253081943437,
247
+ "acceptance_pos_3": 0.4181774232535654,
248
+ "mean_acceptance_length": 2.7304810248972684
249
+ },
250
+ {
251
+ "dataset": "humaneval",
252
+ "run": "dspark_k7",
253
+ "method": "dspark",
254
+ "num_speculative_tokens": 7,
255
+ "requests": 164,
256
+ "output_tokens": 10873,
257
+ "request_throughput_rps": 2.251028218808984,
258
+ "output_throughput_tps": 149.24042575067125,
259
+ "speedup_vs_baseline": 1.3311231621854054,
260
+ "latency_mean_ms": 444.1504760051896,
261
+ "latency_p50_ms": 404.9552284996025,
262
+ "latency_p95_ms": 816.3704766055158,
263
+ "latency_p99_ms": 1066.9646934645427,
264
+ "ttft_mean_ms": 160.0552513159417,
265
+ "ttft_p50_ms": 160.3144644977874,
266
+ "ttft_p95_ms": 265.6927762531268,
267
+ "ttft_p99_ms": 272.09467787863105,
268
+ "itl_mean_ms": 4.944825696685838,
269
+ "itl_p50_ms": 4.49954001268619,
270
+ "itl_p95_ms": 8.732022160872603,
271
+ "itl_p99_ms": 10.318099194431854,
272
+ "tpot_mean_ms": 4.949079180467763,
273
+ "tpot_p50_ms": 4.503242393642178,
274
+ "tpot_p95_ms": 8.749463808814781,
275
+ "acceptance_rate": 0.33094945594945596,
276
+ "acceptance_pos_1": 0.7306511056511057,
277
+ "acceptance_pos_2": 0.538083538083538,
278
+ "acceptance_pos_3": 0.382985257985258,
279
+ "mean_acceptance_length": 3.316646191646192
280
+ },
281
+ {
282
+ "dataset": "mbpp",
283
+ "run": "baseline",
284
+ "method": "baseline",
285
+ "num_speculative_tokens": null,
286
+ "requests": 500,
287
+ "output_tokens": 61467,
288
+ "request_throughput_rps": 1.060577545227861,
289
+ "output_throughput_tps": 130.38103994504186,
290
+ "speedup_vs_baseline": 1.0,
291
+ "latency_mean_ms": 942.7637862757256,
292
+ "latency_p50_ms": 959.554503999243,
293
+ "latency_p95_ms": 1136.071662903123,
294
+ "latency_p99_ms": 1164.7922664470389,
295
+ "ttft_mean_ms": 128.43507730966667,
296
+ "ttft_p50_ms": 113.83070349984337,
297
+ "ttft_p95_ms": 256.7646375973709,
298
+ "ttft_p99_ms": 260.46189150976716,
299
+ "itl_mean_ms": 6.666311532516699,
300
+ "itl_p50_ms": 6.6432852756234775,
301
+ "itl_p95_ms": 7.121261330345493,
302
+ "itl_p99_ms": 7.26582164827209,
303
+ "tpot_mean_ms": 6.669662882298301,
304
+ "tpot_p50_ms": 6.644507716595485,
305
+ "tpot_p95_ms": 7.122378109070412,
306
+ "acceptance_rate": null,
307
+ "acceptance_pos_1": null,
308
+ "acceptance_pos_2": null,
309
+ "acceptance_pos_3": null,
310
+ "mean_acceptance_length": null
311
+ },
312
+ {
313
+ "dataset": "mbpp",
314
+ "run": "dspark_k3",
315
+ "method": "dspark",
316
+ "num_speculative_tokens": 3,
317
+ "requests": 500,
318
+ "output_tokens": 61643,
319
+ "request_throughput_rps": 1.426522036352137,
320
+ "output_throughput_tps": 175.87019577370955,
321
+ "speedup_vs_baseline": 1.3488939484440547,
322
+ "latency_mean_ms": 700.897503109707,
323
+ "latency_p50_ms": 703.9270094974199,
324
+ "latency_p95_ms": 919.0087530580053,
325
+ "latency_p99_ms": 1045.5224799610733,
326
+ "ttft_mean_ms": 108.79212251797435,
327
+ "ttft_p50_ms": 91.88079299929086,
328
+ "ttft_p95_ms": 204.44850095518615,
329
+ "ttft_p99_ms": 252.88790728605818,
330
+ "itl_mean_ms": 5.011328370238571,
331
+ "itl_p50_ms": 4.792381047239568,
332
+ "itl_p95_ms": 6.631624132701181,
333
+ "itl_p99_ms": 11.0604020699849,
334
+ "tpot_mean_ms": 5.013954450995089,
335
+ "tpot_p50_ms": 4.79360114569697,
336
+ "tpot_p95_ms": 6.632888974820347,
337
+ "acceptance_rate": 0.5095989615358338,
338
+ "acceptance_pos_1": 0.7010043041606887,
339
+ "acceptance_pos_2": 0.49940561590489857,
340
+ "acceptance_pos_3": 0.32838696454191435,
341
+ "mean_acceptance_length": 2.5287968846075017
342
+ },
343
+ {
344
+ "dataset": "mbpp",
345
+ "run": "dspark_k7",
346
+ "method": "dspark",
347
+ "num_speculative_tokens": 7,
348
+ "requests": 500,
349
+ "output_tokens": 61199,
350
+ "request_throughput_rps": 1.4351988286444157,
351
+ "output_throughput_tps": 175.6654662284192,
352
+ "speedup_vs_baseline": 1.347323708282014,
353
+ "latency_mean_ms": 696.6608542179456,
354
+ "latency_p50_ms": 697.1229435002897,
355
+ "latency_p95_ms": 978.6413718429683,
356
+ "latency_p99_ms": 1134.9274124257497,
357
+ "ttft_mean_ms": 144.74703813757515,
358
+ "ttft_p50_ms": 139.05306548986118,
359
+ "ttft_p95_ms": 269.57134354670416,
360
+ "ttft_p99_ms": 274.25451427989174,
361
+ "itl_mean_ms": 4.7933126349011435,
362
+ "itl_p50_ms": 4.529900153696456,
363
+ "itl_p95_ms": 6.829579977194199,
364
+ "itl_p99_ms": 12.186756946117372,
365
+ "tpot_mean_ms": 4.796161684500074,
366
+ "tpot_p50_ms": 4.531059523688732,
367
+ "tpot_p95_ms": 6.830801591285134,
368
+ "acceptance_rate": 0.27433826068703066,
369
+ "acceptance_pos_1": 0.6736976821349007,
370
+ "acceptance_pos_2": 0.462388017253638,
371
+ "acceptance_pos_3": 0.2917950419490923,
372
+ "mean_acceptance_length": 2.9203678248092144
373
+ },
374
+ {
375
+ "dataset": "mt_bench",
376
+ "run": "baseline",
377
+ "method": "baseline",
378
+ "num_speculative_tokens": null,
379
+ "requests": 160,
380
+ "output_tokens": 20102,
381
+ "request_throughput_rps": 1.0145474949999134,
382
+ "output_throughput_tps": 127.46521090305163,
383
+ "speedup_vs_baseline": 1.0,
384
+ "latency_mean_ms": 985.5352811689045,
385
+ "latency_p50_ms": 984.0788365036133,
386
+ "latency_p95_ms": 1160.0982246920466,
387
+ "latency_p99_ms": 1228.7251105705216,
388
+ "ttft_mean_ms": 135.88225862440595,
389
+ "ttft_p50_ms": 116.72725749667734,
390
+ "ttft_p95_ms": 258.65039654891007,
391
+ "ttft_p99_ms": 261.56884412805084,
392
+ "itl_mean_ms": 6.802873811459109,
393
+ "itl_p50_ms": 6.694544555138573,
394
+ "itl_p95_ms": 7.932162838574364,
395
+ "itl_p99_ms": 8.945381395555675,
396
+ "tpot_mean_ms": 6.808100097450948,
397
+ "tpot_p50_ms": 6.695755173252367,
398
+ "tpot_p95_ms": 7.93327857724984,
399
+ "acceptance_rate": null,
400
+ "acceptance_pos_1": null,
401
+ "acceptance_pos_2": null,
402
+ "acceptance_pos_3": null,
403
+ "mean_acceptance_length": null
404
+ },
405
+ {
406
+ "dataset": "mt_bench",
407
+ "run": "dspark_k3",
408
+ "method": "dspark",
409
+ "num_speculative_tokens": 3,
410
+ "requests": 160,
411
+ "output_tokens": 20102,
412
+ "request_throughput_rps": 1.146245568010398,
413
+ "output_throughput_tps": 144.01142755090638,
414
+ "speedup_vs_baseline": 1.1298096675212783,
415
+ "latency_mean_ms": 872.2913337876889,
416
+ "latency_p50_ms": 843.7197764942539,
417
+ "latency_p95_ms": 1313.481805704941,
418
+ "latency_p99_ms": 1433.86794267004,
419
+ "ttft_mean_ms": 97.44770207444162,
420
+ "ttft_p50_ms": 75.82400399405742,
421
+ "ttft_p95_ms": 185.91803135059308,
422
+ "ttft_p99_ms": 229.50114874707637,
423
+ "itl_mean_ms": 6.340698793466556,
424
+ "itl_p50_ms": 5.966741342590682,
425
+ "itl_p95_ms": 10.206342749464907,
426
+ "itl_p99_ms": 12.089351741436634,
427
+ "tpot_mean_ms": 6.344304410333824,
428
+ "tpot_p50_ms": 5.967888015807757,
429
+ "tpot_p95_ms": 10.32622098520203,
430
+ "acceptance_rate": 0.3227736367202825,
431
+ "acceptance_pos_1": 0.5441349548842683,
432
+ "acceptance_pos_2": 0.2823656335817968,
433
+ "acceptance_pos_3": 0.14182032169478226,
434
+ "mean_acceptance_length": 1.9683209101608474
435
+ },
436
+ {
437
+ "dataset": "mt_bench",
438
+ "run": "dspark_k7",
439
+ "method": "dspark",
440
+ "num_speculative_tokens": 7,
441
+ "requests": 160,
442
+ "output_tokens": 20102,
443
+ "request_throughput_rps": 1.0518269898218957,
444
+ "output_throughput_tps": 132.14891343374842,
445
+ "speedup_vs_baseline": 1.0367449478764772,
446
+ "latency_mean_ms": 950.6035467624315,
447
+ "latency_p50_ms": 909.5398534991546,
448
+ "latency_p95_ms": 1560.6508335607941,
449
+ "latency_p99_ms": 1760.411608337017,
450
+ "ttft_mean_ms": 132.69152166194544,
451
+ "ttft_p50_ms": 122.75661650346592,
452
+ "ttft_p95_ms": 258.31930338608794,
453
+ "ttft_p99_ms": 269.76503039040836,
454
+ "itl_mean_ms": 6.65775048881359,
455
+ "itl_p50_ms": 6.321849094407714,
456
+ "itl_p95_ms": 11.558155716175955,
457
+ "itl_p99_ms": 13.248131914494198,
458
+ "tpot_mean_ms": 6.6624969313339735,
459
+ "tpot_p50_ms": 6.32326457077476,
460
+ "tpot_p95_ms": 11.559374125591408,
461
+ "acceptance_rate": 0.14785346059984694,
462
+ "acceptance_pos_1": 0.5276458101688062,
463
+ "acceptance_pos_2": 0.257859092287476,
464
+ "acceptance_pos_3": 0.1271606186192257,
465
+ "mean_acceptance_length": 2.034974224198929
466
+ },
467
+ {
468
+ "dataset": "ultrachat",
469
+ "run": "baseline",
470
+ "method": "baseline",
471
+ "num_speculative_tokens": null,
472
+ "requests": 5000,
473
+ "output_tokens": 636089,
474
+ "request_throughput_rps": 0.5205862124506341,
475
+ "output_throughput_tps": 66.22783265830228,
476
+ "speedup_vs_baseline": 1.0,
477
+ "latency_mean_ms": 1920.7680450268758,
478
+ "latency_p50_ms": 1795.524564004154,
479
+ "latency_p95_ms": 3165.0052286931896,
480
+ "latency_p99_ms": 3293.7335572592565,
481
+ "ttft_mean_ms": 134.13350982365372,
482
+ "ttft_p50_ms": 127.32078000408364,
483
+ "ttft_p95_ms": 226.59587289090268,
484
+ "ttft_p99_ms": 258.95474469623883,
485
+ "itl_mean_ms": 14.14775085821201,
486
+ "itl_p50_ms": 13.20624435037479,
487
+ "itl_p95_ms": 23.33603281298938,
488
+ "itl_p99_ms": 24.09970887749654,
489
+ "tpot_mean_ms": 14.149112711234228,
490
+ "tpot_p50_ms": 13.207468862130167,
491
+ "tpot_p95_ms": 23.337274902295345,
492
+ "acceptance_rate": null,
493
+ "acceptance_pos_1": null,
494
+ "acceptance_pos_2": null,
495
+ "acceptance_pos_3": null,
496
+ "mean_acceptance_length": null
497
+ },
498
+ {
499
+ "dataset": "ultrachat",
500
+ "run": "dspark_k3",
501
+ "method": "dspark",
502
+ "num_speculative_tokens": 3,
503
+ "requests": 5000,
504
+ "output_tokens": 635846,
505
+ "request_throughput_rps": 0.6599485226793063,
506
+ "output_throughput_tps": 83.92512567030923,
507
+ "speedup_vs_baseline": 1.2672183627586737,
508
+ "latency_mean_ms": 1515.1526615684213,
509
+ "latency_p50_ms": 1470.6976669913274,
510
+ "latency_p95_ms": 2205.4712326978915,
511
+ "latency_p99_ms": 2478.7801955970654,
512
+ "ttft_mean_ms": 154.38469593704212,
513
+ "ttft_p50_ms": 149.33674249914475,
514
+ "ttft_p95_ms": 250.97870194367718,
515
+ "ttft_p99_ms": 286.67091090654156,
516
+ "itl_mean_ms": 10.78135369824052,
517
+ "itl_p50_ms": 10.431902874002185,
518
+ "itl_p95_ms": 15.61618643974625,
519
+ "itl_p99_ms": 17.696921136958977,
520
+ "tpot_mean_ms": 10.78267526592669,
521
+ "tpot_p50_ms": 10.433149968439395,
522
+ "tpot_p95_ms": 15.617432073222732,
523
+ "acceptance_rate": 0.30246536910398036,
524
+ "acceptance_pos_1": 0.5334846321484933,
525
+ "acceptance_pos_2": 0.2569174118884798,
526
+ "acceptance_pos_3": 0.11699406327496806,
527
+ "mean_acceptance_length": 1.907396107311941
528
+ },
529
+ {
530
+ "dataset": "ultrachat",
531
+ "run": "dspark_k7",
532
+ "method": "dspark",
533
+ "num_speculative_tokens": 7,
534
+ "requests": 5000,
535
+ "output_tokens": 636040,
536
+ "request_throughput_rps": 0.6585516278400763,
537
+ "output_throughput_tps": 83.77303547428042,
538
+ "speedup_vs_baseline": 1.2649218932846762,
539
+ "latency_mean_ms": 1518.3681885767612,
540
+ "latency_p50_ms": 1479.9964584963163,
541
+ "latency_p95_ms": 2203.905933455099,
542
+ "latency_p99_ms": 2513.144597544161,
543
+ "ttft_mean_ms": 165.56593623632216,
544
+ "ttft_p50_ms": 164.75157599779777,
545
+ "ttft_p95_ms": 262.971773991012,
546
+ "ttft_p99_ms": 305.4997507331428,
547
+ "itl_mean_ms": 10.715100522278119,
548
+ "itl_p50_ms": 10.43376617324282,
549
+ "itl_p95_ms": 15.631104971251936,
550
+ "itl_p99_ms": 17.89630725780433,
551
+ "tpot_mean_ms": 10.71641033546772,
552
+ "tpot_p50_ms": 10.434974913300184,
553
+ "tpot_p95_ms": 15.632339404468743,
554
+ "acceptance_rate": 0.14185244726020002,
555
+ "acceptance_pos_1": 0.5312465705748265,
556
+ "acceptance_pos_2": 0.25502381392840456,
557
+ "acceptance_pos_3": 0.11516911181415417,
558
+ "mean_acceptance_length": 1.9929671308214
559
+ }
560
+ ]
benchmarks/base/bs1/run_config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "args": {
3
+ "base_model": "google/t5gemma-2-1b-1b",
4
+ "dflash_model": "/mnt/d/Projects/dflash_t5/dflash-output/dflash_t5gemma2_mixture_200k/checkpoints/5",
5
+ "dflare_model": "/mnt/d/Projects/dflash_t5/dflash-output/dflare_t5gemma2_mixture_200k/checkpoints/5",
6
+ "dspark_model": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_base_t5gemma2_mixture_200k/checkpoints/5",
7
+ "speculative_token_counts": [
8
+ 3,
9
+ 7
10
+ ],
11
+ "methods": [
12
+ "dspark"
13
+ ],
14
+ "datasets": [
15
+ "math500",
16
+ "gsm8k",
17
+ "humaneval",
18
+ "mbpp",
19
+ "mt_bench",
20
+ "ultrachat"
21
+ ],
22
+ "num_prompts": 0,
23
+ "ultrachat_num_prompts": 5000,
24
+ "warmup": 8,
25
+ "concurrency": 1,
26
+ "max_num_seqs": 1,
27
+ "max_num_batched_tokens": 4096,
28
+ "max_model_len": 2048,
29
+ "max_tokens": 128,
30
+ "gpu_memory_utilization": 0.85,
31
+ "host": "127.0.0.1",
32
+ "port": 8011,
33
+ "temperature": 0.0,
34
+ "top_p": 1.0,
35
+ "seed": 0,
36
+ "timeout_s": 180.0,
37
+ "server_timeout_s": 600.0,
38
+ "enforce_eager": false,
39
+ "include_baseline": true
40
+ },
41
+ "runs": [
42
+ {
43
+ "name": "baseline",
44
+ "checkpoint": null,
45
+ "num_speculative_tokens": null
46
+ },
47
+ {
48
+ "name": "dspark_k3",
49
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_base_t5gemma2_mixture_200k/checkpoints/5",
50
+ "num_speculative_tokens": 3
51
+ },
52
+ {
53
+ "name": "dspark_k7",
54
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_base_t5gemma2_mixture_200k/checkpoints/5",
55
+ "num_speculative_tokens": 7
56
+ }
57
+ ],
58
+ "prompt_sets": {
59
+ "math500": {
60
+ "count": 500,
61
+ "sha256": "78a67699bc700588d0e23da6457ea3afc00d5635897d456a6245f1e964449c4a"
62
+ },
63
+ "gsm8k": {
64
+ "count": 1319,
65
+ "sha256": "d591bbef95c9d5b17f6f26999bde24def2f6fbf25d7e20953b9ac89c65ffbb8e"
66
+ },
67
+ "humaneval": {
68
+ "count": 164,
69
+ "sha256": "de1066c5b81dc0f99eab434315cee2c3c68c5a522b8c25d53c73f9c9042b44c8"
70
+ },
71
+ "mbpp": {
72
+ "count": 500,
73
+ "sha256": "c596be7f77834627fd0a05755691e30dbf4f6724425842de6d03348614e5fecd"
74
+ },
75
+ "mt_bench": {
76
+ "count": 160,
77
+ "sha256": "8761bfece58bd26e5b93c33e9aad480728ea9950a7d257aaff267db5c7b98010"
78
+ },
79
+ "ultrachat": {
80
+ "count": 5000,
81
+ "sha256": "5dac9e9dc0d63372c701dbebbb18f3f22a568e9b62cc0ff1b4fb88fc41bf5bf7"
82
+ }
83
+ },
84
+ "benchmark_fingerprint": "454343a0220046bba5e4c80bdedae69aac76c1988cbff6920427a5788099f674",
85
+ "output_dir": "/mnt/d/Projects/dflash_t5/benchmark-results/t5gemma2_dspark_base_suite_bs1_fixed"
86
+ }
benchmarks/base/bs4/comparison.csv ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset,run,method,num_speculative_tokens,requests,output_tokens,request_throughput_rps,output_throughput_tps,speedup_vs_baseline,latency_mean_ms,latency_p50_ms,latency_p95_ms,latency_p99_ms,ttft_mean_ms,ttft_p50_ms,ttft_p95_ms,ttft_p99_ms,itl_mean_ms,itl_p50_ms,itl_p95_ms,itl_p99_ms,tpot_mean_ms,tpot_p50_ms,tpot_p95_ms,acceptance_rate,acceptance_pos_1,acceptance_pos_2,acceptance_pos_3,mean_acceptance_length
2
+ math500,baseline,baseline,,500,63527,2.575660280906157,327.24794133025085,1.0,1549.881507652055,1541.6923305019736,1901.3991399056977,2073.3104983172957,147.72230004466837,128.53012699633837,277.2130677534733,387.54749131272547,11.11915976237464,11.026409515830519,13.801987814431913,15.665761921923757,11.12106789862526,11.028098413518146,13.803411649602399,,,,,
3
+ math500,dspark_k3,dspark,3,500,63539,3.34003084405518,424.44443960084413,1.2970117944073019,1195.6849749402609,1169.5264599984512,1773.1451036757787,1944.9941020199901,143.30231556599028,116.45177099853754,297.67805395094905,373.04166853777133,8.352826905473885,8.158615838546549,12.354124409472469,14.635059152750648,8.35462870098348,8.163252110248358,12.355534362218949,0.415486407892723,0.6332426800409706,0.38554727510330944,0.22766926853388902,2.246459223678169
4
+ math500,dspark_k7,dspark,7,500,63493,3.1055917217703812,394.36667038073364,1.2051005386852782,1286.8654769104323,1246.8089515023166,1958.8731202602503,2254.721420374407,169.23283278750023,150.04799248708878,310.4628508415771,383.799409790663,8.871197280140835,8.589971834756103,13.716522226358514,15.951512530517089,8.87296793212422,8.60067761416536,13.71767588804694,0.20277687384748888,0.6178056188306758,0.36526195899772207,0.20611237661351556,2.4194381169324224
5
+ gsm8k,baseline,baseline,,1319,168533,2.699786987185922,344.9607280602009,1.0,1479.6602965273742,1454.6987209760118,1803.740513609955,1914.7201473527819,168.7780613106763,145.47203300753608,336.32914681511363,491.5234538837098,10.337075278453744,10.18635707075055,12.4034695235158,13.359812111263784,10.338842536074479,10.187574787391716,12.40562485355891,,,,,
6
+ gsm8k,dspark_k3,dspark,3,1319,168415,2.95131608515978,376.8354044595787,1.0924008845256588,1352.7894092793806,1323.1997079856228,1901.4164583000816,2116.5834879834433,146.35591101451402,119.20796197955497,300.50935930921696,387.0458965114083,9.517948084655174,9.351653133988322,13.592088056107666,15.135234009802675,9.519542839852642,9.352777228419354,13.593510024599716,0.27039498963955716,0.48590297454239884,0.220014867325282,0.10526712705099062,1.8111849689186714
7
+ gsm8k,dspark_k7,dspark,7,1319,168438,2.833061661782182,361.7856256158205,1.0487733709579932,1409.892868064269,1389.3212949915323,2024.2955645022444,2287.086103030015,149.37952628049933,121.9771110045258,303.5228224063758,355.9325602342128,9.94289976587715,9.82163717335926,14.449290831630137,16.439139549680032,9.944535710893788,9.823021669386277,14.453224437911699,0.1243881347729851,0.47593713555839395,0.21317265507858055,0.10223801854834232,1.870716943410896
8
+ humaneval,baseline,baseline,,164,11241,3.867290467605202,265.07446430701265,1.0,1027.5289629021356,879.5409715094138,2018.1860155600586,2274.2641233184268,140.52152795707892,120.44445698847994,278.58940106234513,480.18000137846695,13.187347418172193,12.668324928583226,19.83492009233357,28.834143813500756,13.194289122212655,12.670714736622909,19.844658022235045,,,,,
9
+ humaneval,dspark_k3,dspark,3,164,11202,5.440176459827299,371.59058965235,1.4018347283047567,731.6780699141573,653.8903180044144,1438.7055883620633,1758.196029517276,153.84280301219493,109.24666900245938,371.5150598072796,427.1234392697809,9.217930821861229,8.395432637747984,16.543497819817173,21.385043967787766,9.224179054706173,8.398416746314833,16.54860166646416,0.5723147241266732,0.7548971596474046,0.5506856023506367,0.41136141038197843,2.7169441723800194
10
+ humaneval,dspark_k7,dspark,7,164,11135,5.728781174033297,388.9632827613461,1.467373644527463,695.9294298721943,634.961468007532,1258.2039341956258,1984.7797918543813,170.66249135340757,130.76092200935818,440.41123243077857,548.8665195452631,9.06925487325878,7.807209323622503,18.29704301704432,30.691704785244347,9.07486906638103,7.822465188736613,18.303107731801564,0.33277512988964747,0.7348963029756538,0.5404268109407875,0.38352870453862337,3.3294259092275325
11
+ mbpp,baseline,baseline,,500,61587,2.8009211403112766,345.00066053670116,1.0,1426.2509520059102,1449.8898644960718,1792.6750187427385,1927.6900081126948,146.00965341442497,129.28127399936784,278.12606179941207,302.88602881017135,10.539905415700249,10.33841663381217,12.799749751224665,13.565437609112568,10.546513464177922,10.339677704733752,12.800697692052097,,,,,
12
+ mbpp,dspark_k3,dspark,3,500,61810,3.8673346513351055,478.07990959804573,1.385736215270775,1031.8113529087277,1022.938920505112,1450.6354179771733,1667.4116877623596,149.58043881563935,120.52947049960494,290.24569394096017,465.6294314624392,7.4866564872650105,7.0952005747625035,10.490002014466166,15.616462420633345,7.490425515753587,7.09647927951163,10.49589030935033,0.5115081479053122,0.7031512518952587,0.5011678891939516,0.3302053026267262,2.5345244437159367
13
+ mbpp,dspark_k7,dspark,7,500,61424,3.9288605862280823,482.6526652969474,1.3989905542386718,1016.7640253802527,1009.4089240010362,1519.8205350112396,1755.0660978292578,157.01642078207806,127.09367199568078,310.5101487963111,555.6603015074506,7.464304052053599,6.92667360632959,11.035447346997291,15.66697385307634,7.469533758903007,6.928639874063014,11.131861498385357,0.27595293416337563,0.6748067713025748,0.46773199298212337,0.29465598179145525,2.9316705391436293
14
+ mt_bench,baseline,baseline,,160,20102,2.865123484091851,359.96695173258996,1.0,1379.8839098995813,1349.3874825071543,1778.2662457597326,2064.43852098775,230.34865414410888,188.74082650290802,469.9252384045379,599.9244086013641,9.196491927825377,8.739159606336653,12.184589993809974,13.513825134104701,9.201697317973778,8.741404259885389,12.185761682743273,,,,,
15
+ mt_bench,dspark_k3,dspark,3,160,20228,3.1300295907514477,395.7139910107518,1.0993064477338947,1267.3618169241308,1240.8099970052717,1889.9596753937649,2197.152719998557,149.93388268667331,120.75363399344496,296.08547244570207,370.8032631434613,8.953320217924055,8.487721767728438,13.275213856385248,16.593942496504845,8.957264486664604,8.49002677173625,13.297254559146252,0.3200388161086851,0.5434255215914604,0.27666181465308104,0.14002911208151383,1.9601164483260554
16
+ mt_bench,dspark_k7,dspark,7,160,20102,2.8379656094158685,356.5549042529862,0.9905212201754052,1404.4557639432242,1343.6405550019117,2271.4736478112154,2877.03235346009,182.31840012485918,159.79043499100953,363.3274522420834,631.4187010040041,9.922806420825252,9.43615103145515,17.314218461555217,20.890300572353894,9.927143236485232,9.4376937125298,17.32922917495226,0.1459540058496301,0.5190686471296668,0.258129265355279,0.12515054195102368,2.0216780409474104
17
+ ultrachat,baseline,baseline,,5000,635560,1.3331967798759812,169.4653090835957,1.0,2999.209397312632,3004.6992159914225,3652.681129911798,3792.2580027181543,191.445676819887,180.53925450658426,319.0085294045276,436.0589518790949,22.255913944838188,22.191040874087605,26.93092076657395,27.96015746255569,22.257870607914793,22.192596555178742,26.93375055238194,,,,,
18
+ ultrachat,dspark_k3,dspark,3,5000,636234,1.816992286110778,231.20645403228093,1.364329108314604,2200.762252031482,2194.020344497403,2860.881272106781,3141.828603268659,203.0626388980716,195.85809300770052,327.66038095142005,418.8016837404577,15.817088125396433,15.717495220445654,20.662014169011663,22.842756694141052,15.818637421764908,15.7196392047615,20.663277460188848,0.3022621517716569,0.5328723151898772,0.2570481426653975,0.11686599745969595,1.9067864553149707
19
+ ultrachat,dspark_k7,dspark,7,5000,636210,1.8127834563773697,230.66219255636926,1.361117468841872,2205.888447939884,2192.8646555024898,2923.480463263696,3272.379539081885,208.6473120003706,199.3813320004847,335.6416549038841,448.6493355646964,15.814628500703911,15.656986732382371,21.199671716881205,23.549442959891635,15.81632527800587,15.658670244142634,21.20066768934127,0.14160791914766432,0.5315988273762544,0.25404655416494404,0.11493529271745531,1.9912554340336501
benchmarks/base/bs4/comparison.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ | Dataset | Run | Req | Output tok/s | Speedup | Latency mean/p95 ms | TTFT mean/p95 ms | ITL mean/p95 ms | TPOT mean/p95 ms | Accept rate | Accept p1/p2/p3 | Accept len |
2
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
3
+ | math500 | baseline | 500 | 327.25 | 1.000x | 1549.88/1901.40 | 147.72/277.21 | 11.12/13.80 | 11.12/13.80 | — | -/-/- | — |
4
+ | math500 | dspark_k3 | 500 | 424.44 | 1.297x | 1195.68/1773.15 | 143.30/297.68 | 8.35/12.35 | 8.35/12.36 | 41.55% | 63.32%/38.55%/22.77% | 2.246 |
5
+ | math500 | dspark_k7 | 500 | 394.37 | 1.205x | 1286.87/1958.87 | 169.23/310.46 | 8.87/13.72 | 8.87/13.72 | 20.28% | 61.78%/36.53%/20.61% | 2.419 |
6
+ | gsm8k | baseline | 1319 | 344.96 | 1.000x | 1479.66/1803.74 | 168.78/336.33 | 10.34/12.40 | 10.34/12.41 | — | -/-/- | — |
7
+ | gsm8k | dspark_k3 | 1319 | 376.84 | 1.092x | 1352.79/1901.42 | 146.36/300.51 | 9.52/13.59 | 9.52/13.59 | 27.04% | 48.59%/22.00%/10.53% | 1.811 |
8
+ | gsm8k | dspark_k7 | 1319 | 361.79 | 1.049x | 1409.89/2024.30 | 149.38/303.52 | 9.94/14.45 | 9.94/14.45 | 12.44% | 47.59%/21.32%/10.22% | 1.871 |
9
+ | humaneval | baseline | 164 | 265.07 | 1.000x | 1027.53/2018.19 | 140.52/278.59 | 13.19/19.83 | 13.19/19.84 | — | -/-/- | — |
10
+ | humaneval | dspark_k3 | 164 | 371.59 | 1.402x | 731.68/1438.71 | 153.84/371.52 | 9.22/16.54 | 9.22/16.55 | 57.23% | 75.49%/55.07%/41.14% | 2.717 |
11
+ | humaneval | dspark_k7 | 164 | 388.96 | 1.467x | 695.93/1258.20 | 170.66/440.41 | 9.07/18.30 | 9.07/18.30 | 33.28% | 73.49%/54.04%/38.35% | 3.329 |
12
+ | mbpp | baseline | 500 | 345.00 | 1.000x | 1426.25/1792.68 | 146.01/278.13 | 10.54/12.80 | 10.55/12.80 | — | -/-/- | — |
13
+ | mbpp | dspark_k3 | 500 | 478.08 | 1.386x | 1031.81/1450.64 | 149.58/290.25 | 7.49/10.49 | 7.49/10.50 | 51.15% | 70.32%/50.12%/33.02% | 2.535 |
14
+ | mbpp | dspark_k7 | 500 | 482.65 | 1.399x | 1016.76/1519.82 | 157.02/310.51 | 7.46/11.04 | 7.47/11.13 | 27.60% | 67.48%/46.77%/29.47% | 2.932 |
15
+ | mt_bench | baseline | 160 | 359.97 | 1.000x | 1379.88/1778.27 | 230.35/469.93 | 9.20/12.18 | 9.20/12.19 | — | -/-/- | — |
16
+ | mt_bench | dspark_k3 | 160 | 395.71 | 1.099x | 1267.36/1889.96 | 149.93/296.09 | 8.95/13.28 | 8.96/13.30 | 32.00% | 54.34%/27.67%/14.00% | 1.960 |
17
+ | mt_bench | dspark_k7 | 160 | 356.55 | 0.991x | 1404.46/2271.47 | 182.32/363.33 | 9.92/17.31 | 9.93/17.33 | 14.60% | 51.91%/25.81%/12.52% | 2.022 |
18
+ | ultrachat | baseline | 5000 | 169.47 | 1.000x | 2999.21/3652.68 | 191.45/319.01 | 22.26/26.93 | 22.26/26.93 | — | -/-/- | — |
19
+ | ultrachat | dspark_k3 | 5000 | 231.21 | 1.364x | 2200.76/2860.88 | 203.06/327.66 | 15.82/20.66 | 15.82/20.66 | 30.23% | 53.29%/25.70%/11.69% | 1.907 |
20
+ | ultrachat | dspark_k7 | 5000 | 230.66 | 1.361x | 2205.89/2923.48 | 208.65/335.64 | 15.81/21.20 | 15.82/21.20 | 14.16% | 53.16%/25.40%/11.49% | 1.991 |
benchmarks/base/bs4/results.json ADDED
@@ -0,0 +1,560 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "dataset": "math500",
4
+ "run": "baseline",
5
+ "method": "baseline",
6
+ "num_speculative_tokens": null,
7
+ "requests": 500,
8
+ "output_tokens": 63527,
9
+ "request_throughput_rps": 2.575660280906157,
10
+ "output_throughput_tps": 327.24794133025085,
11
+ "speedup_vs_baseline": 1.0,
12
+ "latency_mean_ms": 1549.881507652055,
13
+ "latency_p50_ms": 1541.6923305019736,
14
+ "latency_p95_ms": 1901.3991399056977,
15
+ "latency_p99_ms": 2073.3104983172957,
16
+ "ttft_mean_ms": 147.72230004466837,
17
+ "ttft_p50_ms": 128.53012699633837,
18
+ "ttft_p95_ms": 277.2130677534733,
19
+ "ttft_p99_ms": 387.54749131272547,
20
+ "itl_mean_ms": 11.11915976237464,
21
+ "itl_p50_ms": 11.026409515830519,
22
+ "itl_p95_ms": 13.801987814431913,
23
+ "itl_p99_ms": 15.665761921923757,
24
+ "tpot_mean_ms": 11.12106789862526,
25
+ "tpot_p50_ms": 11.028098413518146,
26
+ "tpot_p95_ms": 13.803411649602399,
27
+ "acceptance_rate": null,
28
+ "acceptance_pos_1": null,
29
+ "acceptance_pos_2": null,
30
+ "acceptance_pos_3": null,
31
+ "mean_acceptance_length": null
32
+ },
33
+ {
34
+ "dataset": "math500",
35
+ "run": "dspark_k3",
36
+ "method": "dspark",
37
+ "num_speculative_tokens": 3,
38
+ "requests": 500,
39
+ "output_tokens": 63539,
40
+ "request_throughput_rps": 3.34003084405518,
41
+ "output_throughput_tps": 424.44443960084413,
42
+ "speedup_vs_baseline": 1.2970117944073019,
43
+ "latency_mean_ms": 1195.6849749402609,
44
+ "latency_p50_ms": 1169.5264599984512,
45
+ "latency_p95_ms": 1773.1451036757787,
46
+ "latency_p99_ms": 1944.9941020199901,
47
+ "ttft_mean_ms": 143.30231556599028,
48
+ "ttft_p50_ms": 116.45177099853754,
49
+ "ttft_p95_ms": 297.67805395094905,
50
+ "ttft_p99_ms": 373.04166853777133,
51
+ "itl_mean_ms": 8.352826905473885,
52
+ "itl_p50_ms": 8.158615838546549,
53
+ "itl_p95_ms": 12.354124409472469,
54
+ "itl_p99_ms": 14.635059152750648,
55
+ "tpot_mean_ms": 8.35462870098348,
56
+ "tpot_p50_ms": 8.163252110248358,
57
+ "tpot_p95_ms": 12.355534362218949,
58
+ "acceptance_rate": 0.415486407892723,
59
+ "acceptance_pos_1": 0.6332426800409706,
60
+ "acceptance_pos_2": 0.38554727510330944,
61
+ "acceptance_pos_3": 0.22766926853388902,
62
+ "mean_acceptance_length": 2.246459223678169
63
+ },
64
+ {
65
+ "dataset": "math500",
66
+ "run": "dspark_k7",
67
+ "method": "dspark",
68
+ "num_speculative_tokens": 7,
69
+ "requests": 500,
70
+ "output_tokens": 63493,
71
+ "request_throughput_rps": 3.1055917217703812,
72
+ "output_throughput_tps": 394.36667038073364,
73
+ "speedup_vs_baseline": 1.2051005386852782,
74
+ "latency_mean_ms": 1286.8654769104323,
75
+ "latency_p50_ms": 1246.8089515023166,
76
+ "latency_p95_ms": 1958.8731202602503,
77
+ "latency_p99_ms": 2254.721420374407,
78
+ "ttft_mean_ms": 169.23283278750023,
79
+ "ttft_p50_ms": 150.04799248708878,
80
+ "ttft_p95_ms": 310.4628508415771,
81
+ "ttft_p99_ms": 383.799409790663,
82
+ "itl_mean_ms": 8.871197280140835,
83
+ "itl_p50_ms": 8.589971834756103,
84
+ "itl_p95_ms": 13.716522226358514,
85
+ "itl_p99_ms": 15.951512530517089,
86
+ "tpot_mean_ms": 8.87296793212422,
87
+ "tpot_p50_ms": 8.60067761416536,
88
+ "tpot_p95_ms": 13.71767588804694,
89
+ "acceptance_rate": 0.20277687384748888,
90
+ "acceptance_pos_1": 0.6178056188306758,
91
+ "acceptance_pos_2": 0.36526195899772207,
92
+ "acceptance_pos_3": 0.20611237661351556,
93
+ "mean_acceptance_length": 2.4194381169324224
94
+ },
95
+ {
96
+ "dataset": "gsm8k",
97
+ "run": "baseline",
98
+ "method": "baseline",
99
+ "num_speculative_tokens": null,
100
+ "requests": 1319,
101
+ "output_tokens": 168533,
102
+ "request_throughput_rps": 2.699786987185922,
103
+ "output_throughput_tps": 344.9607280602009,
104
+ "speedup_vs_baseline": 1.0,
105
+ "latency_mean_ms": 1479.6602965273742,
106
+ "latency_p50_ms": 1454.6987209760118,
107
+ "latency_p95_ms": 1803.740513609955,
108
+ "latency_p99_ms": 1914.7201473527819,
109
+ "ttft_mean_ms": 168.7780613106763,
110
+ "ttft_p50_ms": 145.47203300753608,
111
+ "ttft_p95_ms": 336.32914681511363,
112
+ "ttft_p99_ms": 491.5234538837098,
113
+ "itl_mean_ms": 10.337075278453744,
114
+ "itl_p50_ms": 10.18635707075055,
115
+ "itl_p95_ms": 12.4034695235158,
116
+ "itl_p99_ms": 13.359812111263784,
117
+ "tpot_mean_ms": 10.338842536074479,
118
+ "tpot_p50_ms": 10.187574787391716,
119
+ "tpot_p95_ms": 12.40562485355891,
120
+ "acceptance_rate": null,
121
+ "acceptance_pos_1": null,
122
+ "acceptance_pos_2": null,
123
+ "acceptance_pos_3": null,
124
+ "mean_acceptance_length": null
125
+ },
126
+ {
127
+ "dataset": "gsm8k",
128
+ "run": "dspark_k3",
129
+ "method": "dspark",
130
+ "num_speculative_tokens": 3,
131
+ "requests": 1319,
132
+ "output_tokens": 168415,
133
+ "request_throughput_rps": 2.95131608515978,
134
+ "output_throughput_tps": 376.8354044595787,
135
+ "speedup_vs_baseline": 1.0924008845256588,
136
+ "latency_mean_ms": 1352.7894092793806,
137
+ "latency_p50_ms": 1323.1997079856228,
138
+ "latency_p95_ms": 1901.4164583000816,
139
+ "latency_p99_ms": 2116.5834879834433,
140
+ "ttft_mean_ms": 146.35591101451402,
141
+ "ttft_p50_ms": 119.20796197955497,
142
+ "ttft_p95_ms": 300.50935930921696,
143
+ "ttft_p99_ms": 387.0458965114083,
144
+ "itl_mean_ms": 9.517948084655174,
145
+ "itl_p50_ms": 9.351653133988322,
146
+ "itl_p95_ms": 13.592088056107666,
147
+ "itl_p99_ms": 15.135234009802675,
148
+ "tpot_mean_ms": 9.519542839852642,
149
+ "tpot_p50_ms": 9.352777228419354,
150
+ "tpot_p95_ms": 13.593510024599716,
151
+ "acceptance_rate": 0.27039498963955716,
152
+ "acceptance_pos_1": 0.48590297454239884,
153
+ "acceptance_pos_2": 0.220014867325282,
154
+ "acceptance_pos_3": 0.10526712705099062,
155
+ "mean_acceptance_length": 1.8111849689186714
156
+ },
157
+ {
158
+ "dataset": "gsm8k",
159
+ "run": "dspark_k7",
160
+ "method": "dspark",
161
+ "num_speculative_tokens": 7,
162
+ "requests": 1319,
163
+ "output_tokens": 168438,
164
+ "request_throughput_rps": 2.833061661782182,
165
+ "output_throughput_tps": 361.7856256158205,
166
+ "speedup_vs_baseline": 1.0487733709579932,
167
+ "latency_mean_ms": 1409.892868064269,
168
+ "latency_p50_ms": 1389.3212949915323,
169
+ "latency_p95_ms": 2024.2955645022444,
170
+ "latency_p99_ms": 2287.086103030015,
171
+ "ttft_mean_ms": 149.37952628049933,
172
+ "ttft_p50_ms": 121.9771110045258,
173
+ "ttft_p95_ms": 303.5228224063758,
174
+ "ttft_p99_ms": 355.9325602342128,
175
+ "itl_mean_ms": 9.94289976587715,
176
+ "itl_p50_ms": 9.82163717335926,
177
+ "itl_p95_ms": 14.449290831630137,
178
+ "itl_p99_ms": 16.439139549680032,
179
+ "tpot_mean_ms": 9.944535710893788,
180
+ "tpot_p50_ms": 9.823021669386277,
181
+ "tpot_p95_ms": 14.453224437911699,
182
+ "acceptance_rate": 0.1243881347729851,
183
+ "acceptance_pos_1": 0.47593713555839395,
184
+ "acceptance_pos_2": 0.21317265507858055,
185
+ "acceptance_pos_3": 0.10223801854834232,
186
+ "mean_acceptance_length": 1.870716943410896
187
+ },
188
+ {
189
+ "dataset": "humaneval",
190
+ "run": "baseline",
191
+ "method": "baseline",
192
+ "num_speculative_tokens": null,
193
+ "requests": 164,
194
+ "output_tokens": 11241,
195
+ "request_throughput_rps": 3.867290467605202,
196
+ "output_throughput_tps": 265.07446430701265,
197
+ "speedup_vs_baseline": 1.0,
198
+ "latency_mean_ms": 1027.5289629021356,
199
+ "latency_p50_ms": 879.5409715094138,
200
+ "latency_p95_ms": 2018.1860155600586,
201
+ "latency_p99_ms": 2274.2641233184268,
202
+ "ttft_mean_ms": 140.52152795707892,
203
+ "ttft_p50_ms": 120.44445698847994,
204
+ "ttft_p95_ms": 278.58940106234513,
205
+ "ttft_p99_ms": 480.18000137846695,
206
+ "itl_mean_ms": 13.187347418172193,
207
+ "itl_p50_ms": 12.668324928583226,
208
+ "itl_p95_ms": 19.83492009233357,
209
+ "itl_p99_ms": 28.834143813500756,
210
+ "tpot_mean_ms": 13.194289122212655,
211
+ "tpot_p50_ms": 12.670714736622909,
212
+ "tpot_p95_ms": 19.844658022235045,
213
+ "acceptance_rate": null,
214
+ "acceptance_pos_1": null,
215
+ "acceptance_pos_2": null,
216
+ "acceptance_pos_3": null,
217
+ "mean_acceptance_length": null
218
+ },
219
+ {
220
+ "dataset": "humaneval",
221
+ "run": "dspark_k3",
222
+ "method": "dspark",
223
+ "num_speculative_tokens": 3,
224
+ "requests": 164,
225
+ "output_tokens": 11202,
226
+ "request_throughput_rps": 5.440176459827299,
227
+ "output_throughput_tps": 371.59058965235,
228
+ "speedup_vs_baseline": 1.4018347283047567,
229
+ "latency_mean_ms": 731.6780699141573,
230
+ "latency_p50_ms": 653.8903180044144,
231
+ "latency_p95_ms": 1438.7055883620633,
232
+ "latency_p99_ms": 1758.196029517276,
233
+ "ttft_mean_ms": 153.84280301219493,
234
+ "ttft_p50_ms": 109.24666900245938,
235
+ "ttft_p95_ms": 371.5150598072796,
236
+ "ttft_p99_ms": 427.1234392697809,
237
+ "itl_mean_ms": 9.217930821861229,
238
+ "itl_p50_ms": 8.395432637747984,
239
+ "itl_p95_ms": 16.543497819817173,
240
+ "itl_p99_ms": 21.385043967787766,
241
+ "tpot_mean_ms": 9.224179054706173,
242
+ "tpot_p50_ms": 8.398416746314833,
243
+ "tpot_p95_ms": 16.54860166646416,
244
+ "acceptance_rate": 0.5723147241266732,
245
+ "acceptance_pos_1": 0.7548971596474046,
246
+ "acceptance_pos_2": 0.5506856023506367,
247
+ "acceptance_pos_3": 0.41136141038197843,
248
+ "mean_acceptance_length": 2.7169441723800194
249
+ },
250
+ {
251
+ "dataset": "humaneval",
252
+ "run": "dspark_k7",
253
+ "method": "dspark",
254
+ "num_speculative_tokens": 7,
255
+ "requests": 164,
256
+ "output_tokens": 11135,
257
+ "request_throughput_rps": 5.728781174033297,
258
+ "output_throughput_tps": 388.9632827613461,
259
+ "speedup_vs_baseline": 1.467373644527463,
260
+ "latency_mean_ms": 695.9294298721943,
261
+ "latency_p50_ms": 634.961468007532,
262
+ "latency_p95_ms": 1258.2039341956258,
263
+ "latency_p99_ms": 1984.7797918543813,
264
+ "ttft_mean_ms": 170.66249135340757,
265
+ "ttft_p50_ms": 130.76092200935818,
266
+ "ttft_p95_ms": 440.41123243077857,
267
+ "ttft_p99_ms": 548.8665195452631,
268
+ "itl_mean_ms": 9.06925487325878,
269
+ "itl_p50_ms": 7.807209323622503,
270
+ "itl_p95_ms": 18.29704301704432,
271
+ "itl_p99_ms": 30.691704785244347,
272
+ "tpot_mean_ms": 9.07486906638103,
273
+ "tpot_p50_ms": 7.822465188736613,
274
+ "tpot_p95_ms": 18.303107731801564,
275
+ "acceptance_rate": 0.33277512988964747,
276
+ "acceptance_pos_1": 0.7348963029756538,
277
+ "acceptance_pos_2": 0.5404268109407875,
278
+ "acceptance_pos_3": 0.38352870453862337,
279
+ "mean_acceptance_length": 3.3294259092275325
280
+ },
281
+ {
282
+ "dataset": "mbpp",
283
+ "run": "baseline",
284
+ "method": "baseline",
285
+ "num_speculative_tokens": null,
286
+ "requests": 500,
287
+ "output_tokens": 61587,
288
+ "request_throughput_rps": 2.8009211403112766,
289
+ "output_throughput_tps": 345.00066053670116,
290
+ "speedup_vs_baseline": 1.0,
291
+ "latency_mean_ms": 1426.2509520059102,
292
+ "latency_p50_ms": 1449.8898644960718,
293
+ "latency_p95_ms": 1792.6750187427385,
294
+ "latency_p99_ms": 1927.6900081126948,
295
+ "ttft_mean_ms": 146.00965341442497,
296
+ "ttft_p50_ms": 129.28127399936784,
297
+ "ttft_p95_ms": 278.12606179941207,
298
+ "ttft_p99_ms": 302.88602881017135,
299
+ "itl_mean_ms": 10.539905415700249,
300
+ "itl_p50_ms": 10.33841663381217,
301
+ "itl_p95_ms": 12.799749751224665,
302
+ "itl_p99_ms": 13.565437609112568,
303
+ "tpot_mean_ms": 10.546513464177922,
304
+ "tpot_p50_ms": 10.339677704733752,
305
+ "tpot_p95_ms": 12.800697692052097,
306
+ "acceptance_rate": null,
307
+ "acceptance_pos_1": null,
308
+ "acceptance_pos_2": null,
309
+ "acceptance_pos_3": null,
310
+ "mean_acceptance_length": null
311
+ },
312
+ {
313
+ "dataset": "mbpp",
314
+ "run": "dspark_k3",
315
+ "method": "dspark",
316
+ "num_speculative_tokens": 3,
317
+ "requests": 500,
318
+ "output_tokens": 61810,
319
+ "request_throughput_rps": 3.8673346513351055,
320
+ "output_throughput_tps": 478.07990959804573,
321
+ "speedup_vs_baseline": 1.385736215270775,
322
+ "latency_mean_ms": 1031.8113529087277,
323
+ "latency_p50_ms": 1022.938920505112,
324
+ "latency_p95_ms": 1450.6354179771733,
325
+ "latency_p99_ms": 1667.4116877623596,
326
+ "ttft_mean_ms": 149.58043881563935,
327
+ "ttft_p50_ms": 120.52947049960494,
328
+ "ttft_p95_ms": 290.24569394096017,
329
+ "ttft_p99_ms": 465.6294314624392,
330
+ "itl_mean_ms": 7.4866564872650105,
331
+ "itl_p50_ms": 7.0952005747625035,
332
+ "itl_p95_ms": 10.490002014466166,
333
+ "itl_p99_ms": 15.616462420633345,
334
+ "tpot_mean_ms": 7.490425515753587,
335
+ "tpot_p50_ms": 7.09647927951163,
336
+ "tpot_p95_ms": 10.49589030935033,
337
+ "acceptance_rate": 0.5115081479053122,
338
+ "acceptance_pos_1": 0.7031512518952587,
339
+ "acceptance_pos_2": 0.5011678891939516,
340
+ "acceptance_pos_3": 0.3302053026267262,
341
+ "mean_acceptance_length": 2.5345244437159367
342
+ },
343
+ {
344
+ "dataset": "mbpp",
345
+ "run": "dspark_k7",
346
+ "method": "dspark",
347
+ "num_speculative_tokens": 7,
348
+ "requests": 500,
349
+ "output_tokens": 61424,
350
+ "request_throughput_rps": 3.9288605862280823,
351
+ "output_throughput_tps": 482.6526652969474,
352
+ "speedup_vs_baseline": 1.3989905542386718,
353
+ "latency_mean_ms": 1016.7640253802527,
354
+ "latency_p50_ms": 1009.4089240010362,
355
+ "latency_p95_ms": 1519.8205350112396,
356
+ "latency_p99_ms": 1755.0660978292578,
357
+ "ttft_mean_ms": 157.01642078207806,
358
+ "ttft_p50_ms": 127.09367199568078,
359
+ "ttft_p95_ms": 310.5101487963111,
360
+ "ttft_p99_ms": 555.6603015074506,
361
+ "itl_mean_ms": 7.464304052053599,
362
+ "itl_p50_ms": 6.92667360632959,
363
+ "itl_p95_ms": 11.035447346997291,
364
+ "itl_p99_ms": 15.66697385307634,
365
+ "tpot_mean_ms": 7.469533758903007,
366
+ "tpot_p50_ms": 6.928639874063014,
367
+ "tpot_p95_ms": 11.131861498385357,
368
+ "acceptance_rate": 0.27595293416337563,
369
+ "acceptance_pos_1": 0.6748067713025748,
370
+ "acceptance_pos_2": 0.46773199298212337,
371
+ "acceptance_pos_3": 0.29465598179145525,
372
+ "mean_acceptance_length": 2.9316705391436293
373
+ },
374
+ {
375
+ "dataset": "mt_bench",
376
+ "run": "baseline",
377
+ "method": "baseline",
378
+ "num_speculative_tokens": null,
379
+ "requests": 160,
380
+ "output_tokens": 20102,
381
+ "request_throughput_rps": 2.865123484091851,
382
+ "output_throughput_tps": 359.96695173258996,
383
+ "speedup_vs_baseline": 1.0,
384
+ "latency_mean_ms": 1379.8839098995813,
385
+ "latency_p50_ms": 1349.3874825071543,
386
+ "latency_p95_ms": 1778.2662457597326,
387
+ "latency_p99_ms": 2064.43852098775,
388
+ "ttft_mean_ms": 230.34865414410888,
389
+ "ttft_p50_ms": 188.74082650290802,
390
+ "ttft_p95_ms": 469.9252384045379,
391
+ "ttft_p99_ms": 599.9244086013641,
392
+ "itl_mean_ms": 9.196491927825377,
393
+ "itl_p50_ms": 8.739159606336653,
394
+ "itl_p95_ms": 12.184589993809974,
395
+ "itl_p99_ms": 13.513825134104701,
396
+ "tpot_mean_ms": 9.201697317973778,
397
+ "tpot_p50_ms": 8.741404259885389,
398
+ "tpot_p95_ms": 12.185761682743273,
399
+ "acceptance_rate": null,
400
+ "acceptance_pos_1": null,
401
+ "acceptance_pos_2": null,
402
+ "acceptance_pos_3": null,
403
+ "mean_acceptance_length": null
404
+ },
405
+ {
406
+ "dataset": "mt_bench",
407
+ "run": "dspark_k3",
408
+ "method": "dspark",
409
+ "num_speculative_tokens": 3,
410
+ "requests": 160,
411
+ "output_tokens": 20228,
412
+ "request_throughput_rps": 3.1300295907514477,
413
+ "output_throughput_tps": 395.7139910107518,
414
+ "speedup_vs_baseline": 1.0993064477338947,
415
+ "latency_mean_ms": 1267.3618169241308,
416
+ "latency_p50_ms": 1240.8099970052717,
417
+ "latency_p95_ms": 1889.9596753937649,
418
+ "latency_p99_ms": 2197.152719998557,
419
+ "ttft_mean_ms": 149.93388268667331,
420
+ "ttft_p50_ms": 120.75363399344496,
421
+ "ttft_p95_ms": 296.08547244570207,
422
+ "ttft_p99_ms": 370.8032631434613,
423
+ "itl_mean_ms": 8.953320217924055,
424
+ "itl_p50_ms": 8.487721767728438,
425
+ "itl_p95_ms": 13.275213856385248,
426
+ "itl_p99_ms": 16.593942496504845,
427
+ "tpot_mean_ms": 8.957264486664604,
428
+ "tpot_p50_ms": 8.49002677173625,
429
+ "tpot_p95_ms": 13.297254559146252,
430
+ "acceptance_rate": 0.3200388161086851,
431
+ "acceptance_pos_1": 0.5434255215914604,
432
+ "acceptance_pos_2": 0.27666181465308104,
433
+ "acceptance_pos_3": 0.14002911208151383,
434
+ "mean_acceptance_length": 1.9601164483260554
435
+ },
436
+ {
437
+ "dataset": "mt_bench",
438
+ "run": "dspark_k7",
439
+ "method": "dspark",
440
+ "num_speculative_tokens": 7,
441
+ "requests": 160,
442
+ "output_tokens": 20102,
443
+ "request_throughput_rps": 2.8379656094158685,
444
+ "output_throughput_tps": 356.5549042529862,
445
+ "speedup_vs_baseline": 0.9905212201754052,
446
+ "latency_mean_ms": 1404.4557639432242,
447
+ "latency_p50_ms": 1343.6405550019117,
448
+ "latency_p95_ms": 2271.4736478112154,
449
+ "latency_p99_ms": 2877.03235346009,
450
+ "ttft_mean_ms": 182.31840012485918,
451
+ "ttft_p50_ms": 159.79043499100953,
452
+ "ttft_p95_ms": 363.3274522420834,
453
+ "ttft_p99_ms": 631.4187010040041,
454
+ "itl_mean_ms": 9.922806420825252,
455
+ "itl_p50_ms": 9.43615103145515,
456
+ "itl_p95_ms": 17.314218461555217,
457
+ "itl_p99_ms": 20.890300572353894,
458
+ "tpot_mean_ms": 9.927143236485232,
459
+ "tpot_p50_ms": 9.4376937125298,
460
+ "tpot_p95_ms": 17.32922917495226,
461
+ "acceptance_rate": 0.1459540058496301,
462
+ "acceptance_pos_1": 0.5190686471296668,
463
+ "acceptance_pos_2": 0.258129265355279,
464
+ "acceptance_pos_3": 0.12515054195102368,
465
+ "mean_acceptance_length": 2.0216780409474104
466
+ },
467
+ {
468
+ "dataset": "ultrachat",
469
+ "run": "baseline",
470
+ "method": "baseline",
471
+ "num_speculative_tokens": null,
472
+ "requests": 5000,
473
+ "output_tokens": 635560,
474
+ "request_throughput_rps": 1.3331967798759812,
475
+ "output_throughput_tps": 169.4653090835957,
476
+ "speedup_vs_baseline": 1.0,
477
+ "latency_mean_ms": 2999.209397312632,
478
+ "latency_p50_ms": 3004.6992159914225,
479
+ "latency_p95_ms": 3652.681129911798,
480
+ "latency_p99_ms": 3792.2580027181543,
481
+ "ttft_mean_ms": 191.445676819887,
482
+ "ttft_p50_ms": 180.53925450658426,
483
+ "ttft_p95_ms": 319.0085294045276,
484
+ "ttft_p99_ms": 436.0589518790949,
485
+ "itl_mean_ms": 22.255913944838188,
486
+ "itl_p50_ms": 22.191040874087605,
487
+ "itl_p95_ms": 26.93092076657395,
488
+ "itl_p99_ms": 27.96015746255569,
489
+ "tpot_mean_ms": 22.257870607914793,
490
+ "tpot_p50_ms": 22.192596555178742,
491
+ "tpot_p95_ms": 26.93375055238194,
492
+ "acceptance_rate": null,
493
+ "acceptance_pos_1": null,
494
+ "acceptance_pos_2": null,
495
+ "acceptance_pos_3": null,
496
+ "mean_acceptance_length": null
497
+ },
498
+ {
499
+ "dataset": "ultrachat",
500
+ "run": "dspark_k3",
501
+ "method": "dspark",
502
+ "num_speculative_tokens": 3,
503
+ "requests": 5000,
504
+ "output_tokens": 636234,
505
+ "request_throughput_rps": 1.816992286110778,
506
+ "output_throughput_tps": 231.20645403228093,
507
+ "speedup_vs_baseline": 1.364329108314604,
508
+ "latency_mean_ms": 2200.762252031482,
509
+ "latency_p50_ms": 2194.020344497403,
510
+ "latency_p95_ms": 2860.881272106781,
511
+ "latency_p99_ms": 3141.828603268659,
512
+ "ttft_mean_ms": 203.0626388980716,
513
+ "ttft_p50_ms": 195.85809300770052,
514
+ "ttft_p95_ms": 327.66038095142005,
515
+ "ttft_p99_ms": 418.8016837404577,
516
+ "itl_mean_ms": 15.817088125396433,
517
+ "itl_p50_ms": 15.717495220445654,
518
+ "itl_p95_ms": 20.662014169011663,
519
+ "itl_p99_ms": 22.842756694141052,
520
+ "tpot_mean_ms": 15.818637421764908,
521
+ "tpot_p50_ms": 15.7196392047615,
522
+ "tpot_p95_ms": 20.663277460188848,
523
+ "acceptance_rate": 0.3022621517716569,
524
+ "acceptance_pos_1": 0.5328723151898772,
525
+ "acceptance_pos_2": 0.2570481426653975,
526
+ "acceptance_pos_3": 0.11686599745969595,
527
+ "mean_acceptance_length": 1.9067864553149707
528
+ },
529
+ {
530
+ "dataset": "ultrachat",
531
+ "run": "dspark_k7",
532
+ "method": "dspark",
533
+ "num_speculative_tokens": 7,
534
+ "requests": 5000,
535
+ "output_tokens": 636210,
536
+ "request_throughput_rps": 1.8127834563773697,
537
+ "output_throughput_tps": 230.66219255636926,
538
+ "speedup_vs_baseline": 1.361117468841872,
539
+ "latency_mean_ms": 2205.888447939884,
540
+ "latency_p50_ms": 2192.8646555024898,
541
+ "latency_p95_ms": 2923.480463263696,
542
+ "latency_p99_ms": 3272.379539081885,
543
+ "ttft_mean_ms": 208.6473120003706,
544
+ "ttft_p50_ms": 199.3813320004847,
545
+ "ttft_p95_ms": 335.6416549038841,
546
+ "ttft_p99_ms": 448.6493355646964,
547
+ "itl_mean_ms": 15.814628500703911,
548
+ "itl_p50_ms": 15.656986732382371,
549
+ "itl_p95_ms": 21.199671716881205,
550
+ "itl_p99_ms": 23.549442959891635,
551
+ "tpot_mean_ms": 15.81632527800587,
552
+ "tpot_p50_ms": 15.658670244142634,
553
+ "tpot_p95_ms": 21.20066768934127,
554
+ "acceptance_rate": 0.14160791914766432,
555
+ "acceptance_pos_1": 0.5315988273762544,
556
+ "acceptance_pos_2": 0.25404655416494404,
557
+ "acceptance_pos_3": 0.11493529271745531,
558
+ "mean_acceptance_length": 1.9912554340336501
559
+ }
560
+ ]
benchmarks/base/bs4/run_config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "args": {
3
+ "base_model": "google/t5gemma-2-1b-1b",
4
+ "dflash_model": "/mnt/d/Projects/dflash_t5/dflash-output/dflash_t5gemma2_mixture_200k/checkpoints/5",
5
+ "dflare_model": "/mnt/d/Projects/dflash_t5/dflash-output/dflare_t5gemma2_mixture_200k/checkpoints/5",
6
+ "dspark_model": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_base_t5gemma2_mixture_200k/checkpoints/5",
7
+ "speculative_token_counts": [
8
+ 3,
9
+ 7
10
+ ],
11
+ "methods": [
12
+ "dspark"
13
+ ],
14
+ "datasets": [
15
+ "math500",
16
+ "gsm8k",
17
+ "humaneval",
18
+ "mbpp",
19
+ "mt_bench",
20
+ "ultrachat"
21
+ ],
22
+ "num_prompts": 0,
23
+ "ultrachat_num_prompts": 5000,
24
+ "warmup": 8,
25
+ "concurrency": 4,
26
+ "max_num_seqs": 4,
27
+ "max_num_batched_tokens": 4096,
28
+ "max_model_len": 2048,
29
+ "max_tokens": 128,
30
+ "gpu_memory_utilization": 0.85,
31
+ "host": "127.0.0.1",
32
+ "port": 8011,
33
+ "temperature": 0.0,
34
+ "top_p": 1.0,
35
+ "seed": 0,
36
+ "timeout_s": 180.0,
37
+ "server_timeout_s": 600.0,
38
+ "enforce_eager": false,
39
+ "include_baseline": true
40
+ },
41
+ "runs": [
42
+ {
43
+ "name": "baseline",
44
+ "checkpoint": null,
45
+ "num_speculative_tokens": null
46
+ },
47
+ {
48
+ "name": "dspark_k3",
49
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_base_t5gemma2_mixture_200k/checkpoints/5",
50
+ "num_speculative_tokens": 3
51
+ },
52
+ {
53
+ "name": "dspark_k7",
54
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_base_t5gemma2_mixture_200k/checkpoints/5",
55
+ "num_speculative_tokens": 7
56
+ }
57
+ ],
58
+ "prompt_sets": {
59
+ "math500": {
60
+ "count": 500,
61
+ "sha256": "78a67699bc700588d0e23da6457ea3afc00d5635897d456a6245f1e964449c4a"
62
+ },
63
+ "gsm8k": {
64
+ "count": 1319,
65
+ "sha256": "d591bbef95c9d5b17f6f26999bde24def2f6fbf25d7e20953b9ac89c65ffbb8e"
66
+ },
67
+ "humaneval": {
68
+ "count": 164,
69
+ "sha256": "de1066c5b81dc0f99eab434315cee2c3c68c5a522b8c25d53c73f9c9042b44c8"
70
+ },
71
+ "mbpp": {
72
+ "count": 500,
73
+ "sha256": "c596be7f77834627fd0a05755691e30dbf4f6724425842de6d03348614e5fecd"
74
+ },
75
+ "mt_bench": {
76
+ "count": 160,
77
+ "sha256": "8761bfece58bd26e5b93c33e9aad480728ea9950a7d257aaff267db5c7b98010"
78
+ },
79
+ "ultrachat": {
80
+ "count": 5000,
81
+ "sha256": "5dac9e9dc0d63372c701dbebbb18f3f22a568e9b62cc0ff1b4fb88fc41bf5bf7"
82
+ }
83
+ },
84
+ "benchmark_fingerprint": "147953dd8a19af693b2d21afde185100031b98caa454b1e3dfbedd4cbd80175b",
85
+ "output_dir": "/mnt/d/Projects/dflash_t5/benchmark-results/t5gemma2_dspark_base_suite_bs4_fixed"
86
+ }
benchmarks/large/bs1/comparison.csv ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset,run,method,num_speculative_tokens,requests,output_tokens,request_throughput_rps,output_throughput_tps,speedup_vs_baseline,latency_mean_ms,latency_p50_ms,latency_p95_ms,latency_p99_ms,ttft_mean_ms,ttft_p50_ms,ttft_p95_ms,ttft_p99_ms,itl_mean_ms,itl_p50_ms,itl_p95_ms,itl_p99_ms,tpot_mean_ms,tpot_p50_ms,tpot_p95_ms,acceptance_rate,acceptance_pos_1,acceptance_pos_2,acceptance_pos_3,mean_acceptance_length
2
+ math500,baseline,baseline,,500,63642,0.8912881111809688,113.44671594355843,1.0,1121.8503840199992,1100.7910255029856,1314.5946230510162,1484.1045933025453,169.94078358601837,146.2457435009128,335.47060909950216,373.49712165247183,7.536181297069743,7.382753629891218,8.68439770515185,10.087323529295983,7.537555813759378,7.383992137781786,8.685839803156412,,,,,
3
+ math500,dflash_k3,dflash,3,500,63731,0.5074555001107937,64.68129295512199,0.5701468959868523,1970.4961424658832,1974.9981015011144,2394.326527546944,2618.456352452631,176.97923488401284,151.66605199920014,348.84992924853566,401.735668064066,14.179071923655801,14.188702799193972,17.33207021927915,18.87767345473462,14.180381967095736,14.189951897641887,17.33332515668878,0.06323912607737021,0.16818250150330727,0.01894167167769092,0.0025932050511124475,1.1897173782321107
4
+ math500,dflash_k7,dflash,7,500,63668,0.5823973894271881,74.16015398010043,0.6537003152827826,1716.9249164580651,1721.4581165007985,2122.7248207490447,2282.573311009855,138.95278630002576,141.47450450036558,232.83745254921087,255.96303990992965,12.488242557152846,12.48854895669593,15.423414866535039,16.76060266095041,12.489462153205425,12.489741562990455,15.424737617707956,0.027334900964792862,0.16893291649402992,0.019209763079588684,0.002561301743945158,1.19134430675355
5
+ math500,dflare_k3,dflare,3,500,63731,0.7354717914893614,93.74470548681697,0.8263324742997098,1359.560892554051,1336.2468844989053,1919.7459352993976,2183.3393649194472,150.9933998281267,150.4645309996704,254.30402324909662,281.55977436035755,9.55804924402514,9.37427223622698,13.641124985851773,15.580885431589866,9.559225141953267,9.37540769291087,13.642259077954161,0.39181146804128403,0.6452053391595262,0.35083467039907146,0.1793943945652545,2.175434404123852
6
+ math500,dflare_k7,dflare,7,500,63668,0.7652758346384362,97.4471636795199,0.8589685727703342,1306.6064661140117,1288.1172004999826,1831.9392699944729,2117.9882052937314,149.97463030007202,150.71226700456464,241.5094937001413,269.5821494147821,9.164062260873436,9.109615248048863,13.162089144880586,16.025888632277603,9.165267968224493,9.110725452762747,13.163240382294413,0.18547955359716675,0.6482415681752667,0.3530196021908331,0.17180743730181608,2.2983568751801675
7
+ math500,dspark_k3,dspark,3,500,63731,1.0278341396966633,131.0097951140161,1.1548134648445494,972.8192880541756,951.3454184962029,1383.5792890022267,1658.223661600423,139.16257599797973,140.1768340037961,243.82559089899584,256.6295453281782,6.592793092238339,6.475244685019803,9.666808936191497,11.624004104496413,6.593887856670312,6.476409696829716,9.667887905099029,0.44804447383243945,0.6541032988024392,0.4218646682830064,0.26816545441187273,2.344133421497318
8
+ math500,dspark_k7,dspark,7,500,63668,1.0718413712400758,136.4839928482263,1.2030669351074852,932.8721254997654,924.5265510035097,1415.9799854001901,1651.539169616298,142.46345183774247,146.44532399688615,239.27307030317024,256.7968881978595,6.260414953927999,6.1309666968776675,10.081072708306051,12.369931453538051,6.261500149276782,6.13199001179062,10.082133980709683,0.2283637249725866,0.6400113714819478,0.3961336961377574,0.24038500588880315,2.598546074808106
9
+ gsm8k,baseline,baseline,,1319,168500,0.9045831802614913,115.55895820626328,1.0,1105.3625852046998,1089.5358249981655,1276.3373936999415,1319.7392648432285,164.77733511295938,141.7763389981701,332.90244539603,382.7308631595223,7.419506798811708,7.384766740153826,7.931435276391204,8.172192777608757,7.420847337932145,7.386314905524496,7.932668355122615,,,,,
10
+ gsm8k,dflash_k3,dflash,3,1319,168418,0.5144087930838571,65.6828658935535,0.568392679486734,1943.8572523131418,1934.8288309993222,2365.305382902443,2508.7120192195284,178.53159811208383,159.649838002224,355.616971301788,411.2498142791445,13.929846219481163,13.876137322875465,16.931091559855826,17.821733611478884,13.931159616121034,13.87738181893644,16.93262100001677,0.06835341539008165,0.1835041448500868,0.019489077905896417,0.0020670234142617415,1.2050602461702449
11
+ gsm8k,dflash_k7,dflash,7,1319,168457,0.5735945671017055,73.25702804416376,0.6339363834814603,1743.2748062024025,1739.7538450004504,2099.799393000285,2201.536506499797,152.56252339044147,159.50948600038828,246.41776080115957,261.92414222023217,12.548829301304638,12.529087370075011,15.037010089759487,15.820388422991211,12.550042645359513,12.530304661416404,15.038574778736802,0.02749077227835654,0.1718565178355114,0.018334307172683095,0.002037936980717981,1.1924354059484958
12
+ gsm8k,dflare_k3,dflare,3,1319,168418,0.6339721362775607,80.94944597998045,0.7005034247149607,1577.243275963595,1558.0307409982197,2166.574809700978,2443.7027309426035,150.18097911596254,151.24057199864183,254.45422550219513,278.5744088418869,11.259462841455447,11.12902188976914,15.608968344093311,17.811628303623607,11.260660320716259,11.130129110223226,15.610202330715275,0.2788578880838151,0.5339278493601303,0.21577434619629957,0.08687146869501547,1.8365736642514454
13
+ gsm8k,dflare_k7,dflare,7,1319,168457,0.6414136486780062,81.91858909427664,0.7088899931761125,1558.9424188529392,1528.7051639970741,2191.441884898086,2472.421863719936,152.77644680597203,155.94628499820828,255.01179830098403,283.681260881276,11.093297977502198,10.81332909192518,15.859892152744344,18.10012607823774,11.094531792060318,10.814917770089934,15.861106548793142,0.12798578221940327,0.5417164364111695,0.21953528205359357,0.0932478420590025,1.8959004755358229
14
+ gsm8k,dspark_k3,dspark,3,1319,168418,0.8767773042557421,111.95229721618163,0.9687894296896996,1140.4352353411668,1110.0252579999506,1627.445946199441,1797.3359449025884,137.89601687177677,139.47895800083643,232.75966649744078,255.23558505970868,7.9109000767037285,7.7173600157683415,11.63812698740246,13.068145703495471,7.912022636927084,7.718454007901284,11.63953219130328,0.3119374812973321,0.5350344129088691,0.257809083166448,0.14296894781667932,1.9358124438919964
15
+ gsm8k,dspark_k7,dspark,7,1319,168457,0.8698276010199105,111.09063547006147,0.9613329610654137,1149.4913456012362,1122.8163880005013,1690.7677308932762,1912.2929262730754,142.42033671721288,144.59181799611542,238.7138173042331,260.84847668505967,7.943716780175663,7.752916023642096,11.936723438570985,13.552413253823115,7.944849474277738,7.753948110208927,11.937846825916434,0.14634874499637113,0.5336472057746123,0.25006905994403145,0.13272720721586337,2.024441214974598
16
+ humaneval,baseline,baseline,,164,11593,1.3248947198163699,93.65551516360473,1.0,754.6755473965566,647.226564502489,1367.1402201009187,1480.0008050996985,189.28278684156462,179.46013799883076,342.49747914982436,379.2299685735634,8.10896273002792,7.874335342868083,9.866437620078749,14.497655275340552,8.11360654911452,7.876261433408698,9.867678297241653,,,,,
17
+ humaneval,dflash_k3,dflash,3,164,11403,0.8482418297936308,58.97866820205349,0.6297404706922488,1178.8075736159687,1028.3337114997266,2207.2047492016277,2550.0725987079936,162.98695540243034,142.10437850124435,323.0461064536938,404.1426902490639,15.05167389736459,15.00903958145443,20.248163725045735,21.988641405840404,15.056187308266047,15.011203893487512,20.267178071169052,0.0599447417200014,0.1643059490084986,0.01447906830343091,0.0010492078480747037,1.1798342251600042
18
+ humaneval,dflash_k7,dflash,7,164,10873,0.9775628464767565,64.81122457159618,0.6920171701407963,1022.8616001402481,861.6272605004269,2083.6442281001837,2187.8588047894846,157.66290578664288,154.99908150104602,238.5054721988126,254.32537110971683,13.23754715845204,13.002521015674134,16.242605144630183,17.38454934863588,13.2414967604306,13.004417010839589,16.244994796315652,0.027065165688917075,0.17458379578246394,0.014095449500554939,0.0007769145394006659,1.1894561598224196
19
+ humaneval,dflare_k3,dflare,3,164,11403,1.4279144513142106,99.28358834351184,1.060093344957588,700.2340810428306,654.7297254983278,1298.7420633009606,1572.5833712578244,163.544509548978,175.85190250065352,255.46592105038144,272.46247330847837,8.18464679387673,8.052460137035897,11.823310047215534,14.873981783527022,8.188209899387681,8.053541158448532,11.828740774528667,0.5862826458384184,0.7759336099585062,0.5643153526970954,0.4185989748596534,2.758847937515255
20
+ humaneval,dflare_k7,dflare,7,164,10873,1.7259982556670077,114.43157947480107,1.2218349263778336,579.2890396647502,542.1822514981613,1124.121437451322,1337.6976848527559,153.88535212816083,160.26985099961166,249.8991386499256,257.3446220774349,7.2881835467627765,6.791492409145974,11.28842372509098,14.967644061684823,7.292224562039036,6.792956900041677,11.300806915223802,0.3260095527572731,0.7689969604863222,0.5525835866261398,0.40091185410334346,3.282066869300912
21
+ humaneval,dspark_k3,dspark,3,164,11403,1.8838722899407694,130.98655928167435,1.3985995277785492,530.7444518413565,495.157746001496,905.6995584996912,1086.2262809240203,146.0434188045882,152.46622500490048,236.91825044916186,255.82899200926477,6.104835246645276,5.68536281673191,8.98480516036281,11.694451736160172,6.108340038664795,5.68948486237622,8.989236841355433,0.6043326693227091,0.7711653386454184,0.5893924302788844,0.4524402390438247,2.812998007968128
22
+ humaneval,dspark_k7,dspark,7,164,10873,2.193269418244654,145.4110877108178,1.5526163884401514,455.86265411590676,409.3146830055048,852.2122731519629,1123.0342373249005,143.6314728172608,148.64660549210384,241.35335180908442,261.36555448989384,5.509904282925857,5.137632333503879,9.656399889036864,11.480592018691826,5.513652760595837,5.139975778089672,9.664061358919506,0.3497128270580728,0.7345245692405871,0.5520102105934908,0.3937460114869177,3.4479897894065092
23
+ mbpp,baseline,baseline,,500,61467,0.9566788994866338,117.60836382948983,1.0,1045.163285173956,1051.2518215000455,1252.2429954937252,1313.4473929634257,170.204570235961,147.96629649936222,343.0072944531275,394.77327711974795,7.1850096596128905,7.149241377965513,7.642400291320152,7.887752700210706,7.1880918593224585,7.1504635433104955,7.643652335044196,,,,,
24
+ mbpp,dflash_k3,dflash,3,500,61643,0.5463233439436157,67.3540197814326,0.5726975326268746,1830.2107265740342,1857.0996774942614,2291.14192195193,2455.683664069438,181.87522897598683,156.96376850246452,374.19471385073825,413.4018152903445,13.36878509883122,13.397268279545893,16.285712324037817,17.16560508802913,13.37178172838754,13.398526082703144,16.287178615374877,0.0651825815270455,0.18390939269673892,0.011013473930872876,0.0006248779535247023,1.1955477445811364
25
+ mbpp,dflash_k7,dflash,7,500,61199,0.6112544218481429,74.81631872536899,0.636147942962957,1635.86529272798,1672.3464854994745,2016.2770743999317,2129.984438859737,152.66953481407472,159.74267549972865,244.47033859860304,260.42180475840723,12.100660442193382,12.01978580708575,14.406062782671242,15.092129389210932,12.10357721618688,12.02091915748017,14.40738571140975,0.028364658688842314,0.18660277646316453,0.011358258400378608,0.0005718567597412841,1.1985526108218962
26
+ mbpp,dflare_k3,dflare,3,500,61643,0.8389172370608934,103.4267504882893,0.8794166258297648,1191.9062847682944,1208.0225355002767,1663.9658735984995,1887.62577743968,151.1433905701415,151.9770585000515,261.6679305512662,283.6371392303044,8.617537094703247,8.440096641743008,12.05171109251937,14.760888378997743,8.620249662427044,8.441339763779492,12.052845620474532,0.4696401115367576,0.6867328590415136,0.4438276913454773,0.278359784223282,2.408920334610273
27
+ mbpp,dflare_k7,dflare,7,500,61199,0.943455812538664,115.47710454310739,0.9818783357153716,1059.8270873299334,1066.4042809985403,1511.5341901015197,1678.6425156925543,149.29563258778944,151.24238849966787,254.46768340189007,276.2093989884306,7.8246956861011725,7.491708066904327,11.13285018701698,19.920353018048132,7.827419804285574,7.492821476362439,11.13404580474156,0.24501954356323288,0.6746690203000882,0.42497793468667255,0.2500882612533098,2.71513680494263
28
+ mbpp,dspark_k3,dspark,3,500,61643,1.1901763850957827,146.73208581291865,1.247633085225578,840.1123063238338,843.1062914969516,1144.961133646211,1246.0605967608715,133.81045833000098,131.7662695000763,238.02317654808573,263.0950807044428,5.951950751595078,5.73346276769729,8.067283917319386,14.154150555114027,5.954451005112758,5.734595043312457,8.068427130726949,0.5237361111111111,0.7102916666666667,0.510625,0.35029166666666667,2.5712083333333333
29
+ mbpp,dspark_k7,dspark,7,500,61199,1.292868654843097,158.2445376154854,1.3455211216517766,773.3765653301089,777.3538839974208,1069.8221424441717,1181.5079208668612,144.87902384001063,148.97060450311983,240.50168554604164,261.4171255609835,5.4609269159301945,5.171082055140708,7.696279004271422,16.670999059686896,5.463527012393008,5.172086559067843,7.697418791287318,0.2885384335766015,0.6823742415345468,0.46951458211000197,0.3062732432961441,3.0197690350362105
30
+ mt_bench,baseline,baseline,,160,20102,0.9303956789559812,116.89258711483208,1.0,1074.6847601811623,1056.2882739977795,1319.7490790018492,1393.648768519415,160.69353549364678,136.07312599924626,327.46918089833343,382.2414645081152,7.309607731920508,7.198581275588367,8.339637732306286,9.805146286736829,7.3133077895495875,7.1998062007842805,8.34087489329106,,,,,
31
+ mt_bench,dflash_k3,dflash,3,160,20102,0.5241432036444518,65.85204174787981,0.5633551568431672,1907.7480007938448,1930.5097770011344,2463.4897702966555,2646.199334648336,175.24922163756855,140.2629744989099,376.67113924690057,423.97999386870646,13.833307178800341,13.946147039380268,17.445409657068915,18.298039104984053,13.837227284098185,13.947568574815339,17.446681594068878,0.060423199037646175,0.16210140211796722,0.017630006507720522,0.0015381884872507838,1.1812695971129386
32
+ mt_bench,dflash_k7,dflash,7,160,20102,0.583168838359363,73.26787492937446,0.6267965893970513,1714.6447665063306,1721.8866950006486,2135.267027699956,2242.278299470854,139.6615898878281,138.0474095003592,237.62467689830373,245.49128495971672,12.686621501440076,12.566233303133897,15.546194449997866,16.16330862709806,12.6899270927419,12.567349094479857,15.547512893692872,0.02348325183475921,0.14881334188582424,0.01463642194880168,0.0008746865706455186,1.1643827628433145
33
+ mt_bench,dflare_k3,dflare,3,160,20102,0.6809063012234507,85.5473654199613,0.7318459410597347,1468.511645206172,1454.6153324990883,2127.0678361986943,2281.048237952054,159.72944469986032,168.77598499922897,265.74251724632626,281.86643974164326,10.654948740516124,10.288291291322736,15.705922906309695,16.95837595336085,10.6584103940507,10.289786913365493,15.707090863808236,0.3230895107183767,0.5774177712322042,0.27245949926362295,0.1193912616593029,1.9692685321551302
34
+ mt_bench,dflare_k7,dflare,7,160,20102,0.7093667936140545,89.12307053268577,0.7624356063326214,1409.5885398314294,1421.8769274993974,2124.1017438478584,2515.584632036989,146.91454585622523,142.44566849811235,259.6700968468212,287.97775861195987,10.234430485377915,10.088829999998364,15.341923362584064,19.70016743978345,10.238094617695932,10.089903972448514,15.343091349977053,0.14626535131870344,0.5742903160861688,0.2700825447956513,0.1106301590497282,2.023857459230924
35
+ mt_bench,dspark_k3,dspark,3,160,20102,0.9638367060855711,121.09403416082594,1.035942801418763,1037.4081412996475,1001.3265734996821,1565.5059430991967,1781.7731402603386,141.7672610684349,145.46368399896892,240.4056666531687,261.25688084066496,7.313367654694055,6.893495897653395,11.711175241387847,16.168680668779416,7.316552068142107,6.894642385820525,11.712829905159229,0.3706431026018655,0.5900483904902167,0.3288449400378708,0.19303597727750893,2.1119293078055965
36
+ mt_bench,dspark_k7,dspark,7,160,20102,0.9729636803231215,122.24072438659618,1.045752578531864,1027.6755360433526,1009.7822754978552,1596.3315117551247,2005.884019333607,141.24648624401743,139.84237199474592,255.56160285341318,265.59654699100065,7.283154806994812,6.8463791023933425,11.787724323593851,15.836048513204252,7.286351986039958,6.847493661481403,11.788784734661597,0.1742194735272419,0.5641138336446544,0.30238435336776176,0.17075046698165036,2.2195363146906932
37
+ ultrachat,baseline,baseline,,5000,636089,0.4938431604479032,62.825640417229266,1.0,2024.8159037780163,1899.8980629985454,3256.729267303672,3405.7137782224895,166.95593686518114,163.98859200126026,289.8830948040995,336.2988253685762,14.712897944777563,13.827794673245338,23.864679124793426,24.76342741740255,14.714261969753975,13.829047236223541,23.866155100384233,,,,,
38
+ ultrachat,dflash_k3,dflash,3,5000,635846,0.4093959318736204,52.06255313962281,0.82868320631309,2442.487533897996,2383.8188690006064,3377.258205899534,3705.6293327211833,168.35537181059328,170.54413749974628,252.9078775001381,299.23500963023804,18.0134018722681,17.54899170471861,24.705050003148795,27.191358835904875,18.01468435680956,17.550207216533355,24.706307322046488,0.07081888392688648,0.18361221407447353,0.02588322896495871,0.002961208741227203,1.2124566517806594
39
+ ultrachat,dflash_k7,dflash,7,5000,636040,0.4019325528965641,51.12903618886613,0.8138243533900298,2487.8614642295834,2432.8269440011354,3443.123125650527,3724.6332480803176,172.7844437341555,173.04360800153518,258.7694342015311,299.8475944703024,18.332019165246155,17.85771458268332,25.186547632286487,27.352591655754214,18.33325328096626,17.85883874804062,25.18777078149849,0.03064899424451109,0.1849223980874338,0.025778901811864367,0.0031517369145264325,1.2145429597115776
40
+ ultrachat,dflare_k3,dflare,3,5000,635846,0.4906630866625573,62.397232200408084,0.9931809972174402,2037.9430946188047,2007.9161120011122,2756.5027899490815,3044.030925800253,185.9597727056098,186.23321399718407,279.4342198045342,323.5009970532701,14.673263611031553,14.47747526376982,19.803011401590926,21.86518714472933,14.674543237540032,14.478983830686477,19.804314228371027,0.3113198824188073,0.572229825914399,0.26063458484348756,0.10109523649853532,1.933959647256422
41
+ ultrachat,dflare_k7,dflare,7,5000,636040,0.5191022628219358,66.03396064905282,1.0510670517724432,1925.9773102255406,1903.7692794991017,2635.482599895113,2962.525904481372,180.70931879136043,182.9802385000221,272.8241580512986,313.5787184005314,13.822185940257995,13.62802470079417,18.901379390565385,21.488975903824134,13.823438931487352,13.629216417345067,18.902619697261734,0.14394009500546442,0.5769995228510126,0.26659988687461095,0.10386364282712356,2.007580665038251
42
+ ultrachat,dspark_k3,dspark,3,5000,635846,0.6141321767148702,78.09869760708868,1.2431022921283417,1628.2056611145947,1592.831803496665,2287.4158730010095,2571.3276440004856,171.98177616532774,172.63183150498662,258.64595805287536,302.3406934656669,11.538623067112681,11.238307917321478,16.24375355278012,18.46682838556656,11.5398444087042,11.239705511848223,16.245154050035826,0.3240773825244086,0.5557454318356237,0.28176742365161084,0.13471929208599118,1.9722321475732256
43
+ ultrachat,dspark_k7,dspark,7,5000,636040,0.6186701811110291,78.69979639877178,1.2526700225595981,1616.259658270469,1584.57970800373,2290.956548342365,2594.4233495666413,176.71817260388633,176.76159800612368,263.7752173024638,303.1083872308955,11.399967330431618,11.174435653507444,16.282335170467917,18.624601763757692,11.401195973910607,11.175635023563679,16.283561415453793,0.15448514765416219,0.5533425372792525,0.28025688169439844,0.13306681148704796,2.0813960335791357
benchmarks/large/bs1/comparison.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ | Dataset | Run | Req | Output tok/s | Speedup | Latency mean/p95 ms | TTFT mean/p95 ms | ITL mean/p95 ms | TPOT mean/p95 ms | Accept rate | Accept p1/p2/p3 | Accept len |
2
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
3
+ | math500 | baseline | 500 | 113.45 | 1.000x | 1121.85/1314.59 | 169.94/335.47 | 7.54/8.68 | 7.54/8.69 | — | -/-/- | — |
4
+ | math500 | dflash_k3 | 500 | 64.68 | 0.570x | 1970.50/2394.33 | 176.98/348.85 | 14.18/17.33 | 14.18/17.33 | 6.32% | 16.82%/1.89%/0.26% | 1.190 |
5
+ | math500 | dflash_k7 | 500 | 74.16 | 0.654x | 1716.92/2122.72 | 138.95/232.84 | 12.49/15.42 | 12.49/15.42 | 2.73% | 16.89%/1.92%/0.26% | 1.191 |
6
+ | math500 | dflare_k3 | 500 | 93.74 | 0.826x | 1359.56/1919.75 | 150.99/254.30 | 9.56/13.64 | 9.56/13.64 | 39.18% | 64.52%/35.08%/17.94% | 2.175 |
7
+ | math500 | dflare_k7 | 500 | 97.45 | 0.859x | 1306.61/1831.94 | 149.97/241.51 | 9.16/13.16 | 9.17/13.16 | 18.55% | 64.82%/35.30%/17.18% | 2.298 |
8
+ | math500 | dspark_k3 | 500 | 131.01 | 1.155x | 972.82/1383.58 | 139.16/243.83 | 6.59/9.67 | 6.59/9.67 | 44.80% | 65.41%/42.19%/26.82% | 2.344 |
9
+ | math500 | dspark_k7 | 500 | 136.48 | 1.203x | 932.87/1415.98 | 142.46/239.27 | 6.26/10.08 | 6.26/10.08 | 22.84% | 64.00%/39.61%/24.04% | 2.599 |
10
+ | gsm8k | baseline | 1319 | 115.56 | 1.000x | 1105.36/1276.34 | 164.78/332.90 | 7.42/7.93 | 7.42/7.93 | — | -/-/- | — |
11
+ | gsm8k | dflash_k3 | 1319 | 65.68 | 0.568x | 1943.86/2365.31 | 178.53/355.62 | 13.93/16.93 | 13.93/16.93 | 6.84% | 18.35%/1.95%/0.21% | 1.205 |
12
+ | gsm8k | dflash_k7 | 1319 | 73.26 | 0.634x | 1743.27/2099.80 | 152.56/246.42 | 12.55/15.04 | 12.55/15.04 | 2.75% | 17.19%/1.83%/0.20% | 1.192 |
13
+ | gsm8k | dflare_k3 | 1319 | 80.95 | 0.701x | 1577.24/2166.57 | 150.18/254.45 | 11.26/15.61 | 11.26/15.61 | 27.89% | 53.39%/21.58%/8.69% | 1.837 |
14
+ | gsm8k | dflare_k7 | 1319 | 81.92 | 0.709x | 1558.94/2191.44 | 152.78/255.01 | 11.09/15.86 | 11.09/15.86 | 12.80% | 54.17%/21.95%/9.32% | 1.896 |
15
+ | gsm8k | dspark_k3 | 1319 | 111.95 | 0.969x | 1140.44/1627.45 | 137.90/232.76 | 7.91/11.64 | 7.91/11.64 | 31.19% | 53.50%/25.78%/14.30% | 1.936 |
16
+ | gsm8k | dspark_k7 | 1319 | 111.09 | 0.961x | 1149.49/1690.77 | 142.42/238.71 | 7.94/11.94 | 7.94/11.94 | 14.63% | 53.36%/25.01%/13.27% | 2.024 |
17
+ | humaneval | baseline | 164 | 93.66 | 1.000x | 754.68/1367.14 | 189.28/342.50 | 8.11/9.87 | 8.11/9.87 | — | -/-/- | — |
18
+ | humaneval | dflash_k3 | 164 | 58.98 | 0.630x | 1178.81/2207.20 | 162.99/323.05 | 15.05/20.25 | 15.06/20.27 | 5.99% | 16.43%/1.45%/0.10% | 1.180 |
19
+ | humaneval | dflash_k7 | 164 | 64.81 | 0.692x | 1022.86/2083.64 | 157.66/238.51 | 13.24/16.24 | 13.24/16.24 | 2.71% | 17.46%/1.41%/0.08% | 1.189 |
20
+ | humaneval | dflare_k3 | 164 | 99.28 | 1.060x | 700.23/1298.74 | 163.54/255.47 | 8.18/11.82 | 8.19/11.83 | 58.63% | 77.59%/56.43%/41.86% | 2.759 |
21
+ | humaneval | dflare_k7 | 164 | 114.43 | 1.222x | 579.29/1124.12 | 153.89/249.90 | 7.29/11.29 | 7.29/11.30 | 32.60% | 76.90%/55.26%/40.09% | 3.282 |
22
+ | humaneval | dspark_k3 | 164 | 130.99 | 1.399x | 530.74/905.70 | 146.04/236.92 | 6.10/8.98 | 6.11/8.99 | 60.43% | 77.12%/58.94%/45.24% | 2.813 |
23
+ | humaneval | dspark_k7 | 164 | 145.41 | 1.553x | 455.86/852.21 | 143.63/241.35 | 5.51/9.66 | 5.51/9.66 | 34.97% | 73.45%/55.20%/39.37% | 3.448 |
24
+ | mbpp | baseline | 500 | 117.61 | 1.000x | 1045.16/1252.24 | 170.20/343.01 | 7.19/7.64 | 7.19/7.64 | — | -/-/- | — |
25
+ | mbpp | dflash_k3 | 500 | 67.35 | 0.573x | 1830.21/2291.14 | 181.88/374.19 | 13.37/16.29 | 13.37/16.29 | 6.52% | 18.39%/1.10%/0.06% | 1.196 |
26
+ | mbpp | dflash_k7 | 500 | 74.82 | 0.636x | 1635.87/2016.28 | 152.67/244.47 | 12.10/14.41 | 12.10/14.41 | 2.84% | 18.66%/1.14%/0.06% | 1.199 |
27
+ | mbpp | dflare_k3 | 500 | 103.43 | 0.879x | 1191.91/1663.97 | 151.14/261.67 | 8.62/12.05 | 8.62/12.05 | 46.96% | 68.67%/44.38%/27.84% | 2.409 |
28
+ | mbpp | dflare_k7 | 500 | 115.48 | 0.982x | 1059.83/1511.53 | 149.30/254.47 | 7.82/11.13 | 7.83/11.13 | 24.50% | 67.47%/42.50%/25.01% | 2.715 |
29
+ | mbpp | dspark_k3 | 500 | 146.73 | 1.248x | 840.11/1144.96 | 133.81/238.02 | 5.95/8.07 | 5.95/8.07 | 52.37% | 71.03%/51.06%/35.03% | 2.571 |
30
+ | mbpp | dspark_k7 | 500 | 158.24 | 1.346x | 773.38/1069.82 | 144.88/240.50 | 5.46/7.70 | 5.46/7.70 | 28.85% | 68.24%/46.95%/30.63% | 3.020 |
31
+ | mt_bench | baseline | 160 | 116.89 | 1.000x | 1074.68/1319.75 | 160.69/327.47 | 7.31/8.34 | 7.31/8.34 | — | -/-/- | — |
32
+ | mt_bench | dflash_k3 | 160 | 65.85 | 0.563x | 1907.75/2463.49 | 175.25/376.67 | 13.83/17.45 | 13.84/17.45 | 6.04% | 16.21%/1.76%/0.15% | 1.181 |
33
+ | mt_bench | dflash_k7 | 160 | 73.27 | 0.627x | 1714.64/2135.27 | 139.66/237.62 | 12.69/15.55 | 12.69/15.55 | 2.35% | 14.88%/1.46%/0.09% | 1.164 |
34
+ | mt_bench | dflare_k3 | 160 | 85.55 | 0.732x | 1468.51/2127.07 | 159.73/265.74 | 10.65/15.71 | 10.66/15.71 | 32.31% | 57.74%/27.25%/11.94% | 1.969 |
35
+ | mt_bench | dflare_k7 | 160 | 89.12 | 0.762x | 1409.59/2124.10 | 146.91/259.67 | 10.23/15.34 | 10.24/15.34 | 14.63% | 57.43%/27.01%/11.06% | 2.024 |
36
+ | mt_bench | dspark_k3 | 160 | 121.09 | 1.036x | 1037.41/1565.51 | 141.77/240.41 | 7.31/11.71 | 7.32/11.71 | 37.06% | 59.00%/32.88%/19.30% | 2.112 |
37
+ | mt_bench | dspark_k7 | 160 | 122.24 | 1.046x | 1027.68/1596.33 | 141.25/255.56 | 7.28/11.79 | 7.29/11.79 | 17.42% | 56.41%/30.24%/17.08% | 2.220 |
38
+ | ultrachat | baseline | 5000 | 62.83 | 1.000x | 2024.82/3256.73 | 166.96/289.88 | 14.71/23.86 | 14.71/23.87 | — | -/-/- | — |
39
+ | ultrachat | dflash_k3 | 5000 | 52.06 | 0.829x | 2442.49/3377.26 | 168.36/252.91 | 18.01/24.71 | 18.01/24.71 | 7.08% | 18.36%/2.59%/0.30% | 1.212 |
40
+ | ultrachat | dflash_k7 | 5000 | 51.13 | 0.814x | 2487.86/3443.12 | 172.78/258.77 | 18.33/25.19 | 18.33/25.19 | 3.06% | 18.49%/2.58%/0.32% | 1.215 |
41
+ | ultrachat | dflare_k3 | 5000 | 62.40 | 0.993x | 2037.94/2756.50 | 185.96/279.43 | 14.67/19.80 | 14.67/19.80 | 31.13% | 57.22%/26.06%/10.11% | 1.934 |
42
+ | ultrachat | dflare_k7 | 5000 | 66.03 | 1.051x | 1925.98/2635.48 | 180.71/272.82 | 13.82/18.90 | 13.82/18.90 | 14.39% | 57.70%/26.66%/10.39% | 2.008 |
43
+ | ultrachat | dspark_k3 | 5000 | 78.10 | 1.243x | 1628.21/2287.42 | 171.98/258.65 | 11.54/16.24 | 11.54/16.25 | 32.41% | 55.57%/28.18%/13.47% | 1.972 |
44
+ | ultrachat | dspark_k7 | 5000 | 78.70 | 1.253x | 1616.26/2290.96 | 176.72/263.78 | 11.40/16.28 | 11.40/16.28 | 15.45% | 55.33%/28.03%/13.31% | 2.081 |
benchmarks/large/bs1/results.json ADDED
@@ -0,0 +1,1304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "dataset": "math500",
4
+ "run": "baseline",
5
+ "method": "baseline",
6
+ "num_speculative_tokens": null,
7
+ "requests": 500,
8
+ "output_tokens": 63642,
9
+ "request_throughput_rps": 0.8912881111809688,
10
+ "output_throughput_tps": 113.44671594355843,
11
+ "speedup_vs_baseline": 1.0,
12
+ "latency_mean_ms": 1121.8503840199992,
13
+ "latency_p50_ms": 1100.7910255029856,
14
+ "latency_p95_ms": 1314.5946230510162,
15
+ "latency_p99_ms": 1484.1045933025453,
16
+ "ttft_mean_ms": 169.94078358601837,
17
+ "ttft_p50_ms": 146.2457435009128,
18
+ "ttft_p95_ms": 335.47060909950216,
19
+ "ttft_p99_ms": 373.49712165247183,
20
+ "itl_mean_ms": 7.536181297069743,
21
+ "itl_p50_ms": 7.382753629891218,
22
+ "itl_p95_ms": 8.68439770515185,
23
+ "itl_p99_ms": 10.087323529295983,
24
+ "tpot_mean_ms": 7.537555813759378,
25
+ "tpot_p50_ms": 7.383992137781786,
26
+ "tpot_p95_ms": 8.685839803156412,
27
+ "acceptance_rate": null,
28
+ "acceptance_pos_1": null,
29
+ "acceptance_pos_2": null,
30
+ "acceptance_pos_3": null,
31
+ "mean_acceptance_length": null
32
+ },
33
+ {
34
+ "dataset": "math500",
35
+ "run": "dflash_k3",
36
+ "method": "dflash",
37
+ "num_speculative_tokens": 3,
38
+ "requests": 500,
39
+ "output_tokens": 63731,
40
+ "request_throughput_rps": 0.5074555001107937,
41
+ "output_throughput_tps": 64.68129295512199,
42
+ "speedup_vs_baseline": 0.5701468959868523,
43
+ "latency_mean_ms": 1970.4961424658832,
44
+ "latency_p50_ms": 1974.9981015011144,
45
+ "latency_p95_ms": 2394.326527546944,
46
+ "latency_p99_ms": 2618.456352452631,
47
+ "ttft_mean_ms": 176.97923488401284,
48
+ "ttft_p50_ms": 151.66605199920014,
49
+ "ttft_p95_ms": 348.84992924853566,
50
+ "ttft_p99_ms": 401.735668064066,
51
+ "itl_mean_ms": 14.179071923655801,
52
+ "itl_p50_ms": 14.188702799193972,
53
+ "itl_p95_ms": 17.33207021927915,
54
+ "itl_p99_ms": 18.87767345473462,
55
+ "tpot_mean_ms": 14.180381967095736,
56
+ "tpot_p50_ms": 14.189951897641887,
57
+ "tpot_p95_ms": 17.33332515668878,
58
+ "acceptance_rate": 0.06323912607737021,
59
+ "acceptance_pos_1": 0.16818250150330727,
60
+ "acceptance_pos_2": 0.01894167167769092,
61
+ "acceptance_pos_3": 0.0025932050511124475,
62
+ "mean_acceptance_length": 1.1897173782321107
63
+ },
64
+ {
65
+ "dataset": "math500",
66
+ "run": "dflash_k7",
67
+ "method": "dflash",
68
+ "num_speculative_tokens": 7,
69
+ "requests": 500,
70
+ "output_tokens": 63668,
71
+ "request_throughput_rps": 0.5823973894271881,
72
+ "output_throughput_tps": 74.16015398010043,
73
+ "speedup_vs_baseline": 0.6537003152827826,
74
+ "latency_mean_ms": 1716.9249164580651,
75
+ "latency_p50_ms": 1721.4581165007985,
76
+ "latency_p95_ms": 2122.7248207490447,
77
+ "latency_p99_ms": 2282.573311009855,
78
+ "ttft_mean_ms": 138.95278630002576,
79
+ "ttft_p50_ms": 141.47450450036558,
80
+ "ttft_p95_ms": 232.83745254921087,
81
+ "ttft_p99_ms": 255.96303990992965,
82
+ "itl_mean_ms": 12.488242557152846,
83
+ "itl_p50_ms": 12.48854895669593,
84
+ "itl_p95_ms": 15.423414866535039,
85
+ "itl_p99_ms": 16.76060266095041,
86
+ "tpot_mean_ms": 12.489462153205425,
87
+ "tpot_p50_ms": 12.489741562990455,
88
+ "tpot_p95_ms": 15.424737617707956,
89
+ "acceptance_rate": 0.027334900964792862,
90
+ "acceptance_pos_1": 0.16893291649402992,
91
+ "acceptance_pos_2": 0.019209763079588684,
92
+ "acceptance_pos_3": 0.002561301743945158,
93
+ "mean_acceptance_length": 1.19134430675355
94
+ },
95
+ {
96
+ "dataset": "math500",
97
+ "run": "dflare_k3",
98
+ "method": "dflare",
99
+ "num_speculative_tokens": 3,
100
+ "requests": 500,
101
+ "output_tokens": 63731,
102
+ "request_throughput_rps": 0.7354717914893614,
103
+ "output_throughput_tps": 93.74470548681697,
104
+ "speedup_vs_baseline": 0.8263324742997098,
105
+ "latency_mean_ms": 1359.560892554051,
106
+ "latency_p50_ms": 1336.2468844989053,
107
+ "latency_p95_ms": 1919.7459352993976,
108
+ "latency_p99_ms": 2183.3393649194472,
109
+ "ttft_mean_ms": 150.9933998281267,
110
+ "ttft_p50_ms": 150.4645309996704,
111
+ "ttft_p95_ms": 254.30402324909662,
112
+ "ttft_p99_ms": 281.55977436035755,
113
+ "itl_mean_ms": 9.55804924402514,
114
+ "itl_p50_ms": 9.37427223622698,
115
+ "itl_p95_ms": 13.641124985851773,
116
+ "itl_p99_ms": 15.580885431589866,
117
+ "tpot_mean_ms": 9.559225141953267,
118
+ "tpot_p50_ms": 9.37540769291087,
119
+ "tpot_p95_ms": 13.642259077954161,
120
+ "acceptance_rate": 0.39181146804128403,
121
+ "acceptance_pos_1": 0.6452053391595262,
122
+ "acceptance_pos_2": 0.35083467039907146,
123
+ "acceptance_pos_3": 0.1793943945652545,
124
+ "mean_acceptance_length": 2.175434404123852
125
+ },
126
+ {
127
+ "dataset": "math500",
128
+ "run": "dflare_k7",
129
+ "method": "dflare",
130
+ "num_speculative_tokens": 7,
131
+ "requests": 500,
132
+ "output_tokens": 63668,
133
+ "request_throughput_rps": 0.7652758346384362,
134
+ "output_throughput_tps": 97.4471636795199,
135
+ "speedup_vs_baseline": 0.8589685727703342,
136
+ "latency_mean_ms": 1306.6064661140117,
137
+ "latency_p50_ms": 1288.1172004999826,
138
+ "latency_p95_ms": 1831.9392699944729,
139
+ "latency_p99_ms": 2117.9882052937314,
140
+ "ttft_mean_ms": 149.97463030007202,
141
+ "ttft_p50_ms": 150.71226700456464,
142
+ "ttft_p95_ms": 241.5094937001413,
143
+ "ttft_p99_ms": 269.5821494147821,
144
+ "itl_mean_ms": 9.164062260873436,
145
+ "itl_p50_ms": 9.109615248048863,
146
+ "itl_p95_ms": 13.162089144880586,
147
+ "itl_p99_ms": 16.025888632277603,
148
+ "tpot_mean_ms": 9.165267968224493,
149
+ "tpot_p50_ms": 9.110725452762747,
150
+ "tpot_p95_ms": 13.163240382294413,
151
+ "acceptance_rate": 0.18547955359716675,
152
+ "acceptance_pos_1": 0.6482415681752667,
153
+ "acceptance_pos_2": 0.3530196021908331,
154
+ "acceptance_pos_3": 0.17180743730181608,
155
+ "mean_acceptance_length": 2.2983568751801675
156
+ },
157
+ {
158
+ "dataset": "math500",
159
+ "run": "dspark_k3",
160
+ "method": "dspark",
161
+ "num_speculative_tokens": 3,
162
+ "requests": 500,
163
+ "output_tokens": 63731,
164
+ "request_throughput_rps": 1.0278341396966633,
165
+ "output_throughput_tps": 131.0097951140161,
166
+ "speedup_vs_baseline": 1.1548134648445494,
167
+ "latency_mean_ms": 972.8192880541756,
168
+ "latency_p50_ms": 951.3454184962029,
169
+ "latency_p95_ms": 1383.5792890022267,
170
+ "latency_p99_ms": 1658.223661600423,
171
+ "ttft_mean_ms": 139.16257599797973,
172
+ "ttft_p50_ms": 140.1768340037961,
173
+ "ttft_p95_ms": 243.82559089899584,
174
+ "ttft_p99_ms": 256.6295453281782,
175
+ "itl_mean_ms": 6.592793092238339,
176
+ "itl_p50_ms": 6.475244685019803,
177
+ "itl_p95_ms": 9.666808936191497,
178
+ "itl_p99_ms": 11.624004104496413,
179
+ "tpot_mean_ms": 6.593887856670312,
180
+ "tpot_p50_ms": 6.476409696829716,
181
+ "tpot_p95_ms": 9.667887905099029,
182
+ "acceptance_rate": 0.44804447383243945,
183
+ "acceptance_pos_1": 0.6541032988024392,
184
+ "acceptance_pos_2": 0.4218646682830064,
185
+ "acceptance_pos_3": 0.26816545441187273,
186
+ "mean_acceptance_length": 2.344133421497318
187
+ },
188
+ {
189
+ "dataset": "math500",
190
+ "run": "dspark_k7",
191
+ "method": "dspark",
192
+ "num_speculative_tokens": 7,
193
+ "requests": 500,
194
+ "output_tokens": 63668,
195
+ "request_throughput_rps": 1.0718413712400758,
196
+ "output_throughput_tps": 136.4839928482263,
197
+ "speedup_vs_baseline": 1.2030669351074852,
198
+ "latency_mean_ms": 932.8721254997654,
199
+ "latency_p50_ms": 924.5265510035097,
200
+ "latency_p95_ms": 1415.9799854001901,
201
+ "latency_p99_ms": 1651.539169616298,
202
+ "ttft_mean_ms": 142.46345183774247,
203
+ "ttft_p50_ms": 146.44532399688615,
204
+ "ttft_p95_ms": 239.27307030317024,
205
+ "ttft_p99_ms": 256.7968881978595,
206
+ "itl_mean_ms": 6.260414953927999,
207
+ "itl_p50_ms": 6.1309666968776675,
208
+ "itl_p95_ms": 10.081072708306051,
209
+ "itl_p99_ms": 12.369931453538051,
210
+ "tpot_mean_ms": 6.261500149276782,
211
+ "tpot_p50_ms": 6.13199001179062,
212
+ "tpot_p95_ms": 10.082133980709683,
213
+ "acceptance_rate": 0.2283637249725866,
214
+ "acceptance_pos_1": 0.6400113714819478,
215
+ "acceptance_pos_2": 0.3961336961377574,
216
+ "acceptance_pos_3": 0.24038500588880315,
217
+ "mean_acceptance_length": 2.598546074808106
218
+ },
219
+ {
220
+ "dataset": "gsm8k",
221
+ "run": "baseline",
222
+ "method": "baseline",
223
+ "num_speculative_tokens": null,
224
+ "requests": 1319,
225
+ "output_tokens": 168500,
226
+ "request_throughput_rps": 0.9045831802614913,
227
+ "output_throughput_tps": 115.55895820626328,
228
+ "speedup_vs_baseline": 1.0,
229
+ "latency_mean_ms": 1105.3625852046998,
230
+ "latency_p50_ms": 1089.5358249981655,
231
+ "latency_p95_ms": 1276.3373936999415,
232
+ "latency_p99_ms": 1319.7392648432285,
233
+ "ttft_mean_ms": 164.77733511295938,
234
+ "ttft_p50_ms": 141.7763389981701,
235
+ "ttft_p95_ms": 332.90244539603,
236
+ "ttft_p99_ms": 382.7308631595223,
237
+ "itl_mean_ms": 7.419506798811708,
238
+ "itl_p50_ms": 7.384766740153826,
239
+ "itl_p95_ms": 7.931435276391204,
240
+ "itl_p99_ms": 8.172192777608757,
241
+ "tpot_mean_ms": 7.420847337932145,
242
+ "tpot_p50_ms": 7.386314905524496,
243
+ "tpot_p95_ms": 7.932668355122615,
244
+ "acceptance_rate": null,
245
+ "acceptance_pos_1": null,
246
+ "acceptance_pos_2": null,
247
+ "acceptance_pos_3": null,
248
+ "mean_acceptance_length": null
249
+ },
250
+ {
251
+ "dataset": "gsm8k",
252
+ "run": "dflash_k3",
253
+ "method": "dflash",
254
+ "num_speculative_tokens": 3,
255
+ "requests": 1319,
256
+ "output_tokens": 168418,
257
+ "request_throughput_rps": 0.5144087930838571,
258
+ "output_throughput_tps": 65.6828658935535,
259
+ "speedup_vs_baseline": 0.568392679486734,
260
+ "latency_mean_ms": 1943.8572523131418,
261
+ "latency_p50_ms": 1934.8288309993222,
262
+ "latency_p95_ms": 2365.305382902443,
263
+ "latency_p99_ms": 2508.7120192195284,
264
+ "ttft_mean_ms": 178.53159811208383,
265
+ "ttft_p50_ms": 159.649838002224,
266
+ "ttft_p95_ms": 355.616971301788,
267
+ "ttft_p99_ms": 411.2498142791445,
268
+ "itl_mean_ms": 13.929846219481163,
269
+ "itl_p50_ms": 13.876137322875465,
270
+ "itl_p95_ms": 16.931091559855826,
271
+ "itl_p99_ms": 17.821733611478884,
272
+ "tpot_mean_ms": 13.931159616121034,
273
+ "tpot_p50_ms": 13.87738181893644,
274
+ "tpot_p95_ms": 16.93262100001677,
275
+ "acceptance_rate": 0.06835341539008165,
276
+ "acceptance_pos_1": 0.1835041448500868,
277
+ "acceptance_pos_2": 0.019489077905896417,
278
+ "acceptance_pos_3": 0.0020670234142617415,
279
+ "mean_acceptance_length": 1.2050602461702449
280
+ },
281
+ {
282
+ "dataset": "gsm8k",
283
+ "run": "dflash_k7",
284
+ "method": "dflash",
285
+ "num_speculative_tokens": 7,
286
+ "requests": 1319,
287
+ "output_tokens": 168457,
288
+ "request_throughput_rps": 0.5735945671017055,
289
+ "output_throughput_tps": 73.25702804416376,
290
+ "speedup_vs_baseline": 0.6339363834814603,
291
+ "latency_mean_ms": 1743.2748062024025,
292
+ "latency_p50_ms": 1739.7538450004504,
293
+ "latency_p95_ms": 2099.799393000285,
294
+ "latency_p99_ms": 2201.536506499797,
295
+ "ttft_mean_ms": 152.56252339044147,
296
+ "ttft_p50_ms": 159.50948600038828,
297
+ "ttft_p95_ms": 246.41776080115957,
298
+ "ttft_p99_ms": 261.92414222023217,
299
+ "itl_mean_ms": 12.548829301304638,
300
+ "itl_p50_ms": 12.529087370075011,
301
+ "itl_p95_ms": 15.037010089759487,
302
+ "itl_p99_ms": 15.820388422991211,
303
+ "tpot_mean_ms": 12.550042645359513,
304
+ "tpot_p50_ms": 12.530304661416404,
305
+ "tpot_p95_ms": 15.038574778736802,
306
+ "acceptance_rate": 0.02749077227835654,
307
+ "acceptance_pos_1": 0.1718565178355114,
308
+ "acceptance_pos_2": 0.018334307172683095,
309
+ "acceptance_pos_3": 0.002037936980717981,
310
+ "mean_acceptance_length": 1.1924354059484958
311
+ },
312
+ {
313
+ "dataset": "gsm8k",
314
+ "run": "dflare_k3",
315
+ "method": "dflare",
316
+ "num_speculative_tokens": 3,
317
+ "requests": 1319,
318
+ "output_tokens": 168418,
319
+ "request_throughput_rps": 0.6339721362775607,
320
+ "output_throughput_tps": 80.94944597998045,
321
+ "speedup_vs_baseline": 0.7005034247149607,
322
+ "latency_mean_ms": 1577.243275963595,
323
+ "latency_p50_ms": 1558.0307409982197,
324
+ "latency_p95_ms": 2166.574809700978,
325
+ "latency_p99_ms": 2443.7027309426035,
326
+ "ttft_mean_ms": 150.18097911596254,
327
+ "ttft_p50_ms": 151.24057199864183,
328
+ "ttft_p95_ms": 254.45422550219513,
329
+ "ttft_p99_ms": 278.5744088418869,
330
+ "itl_mean_ms": 11.259462841455447,
331
+ "itl_p50_ms": 11.12902188976914,
332
+ "itl_p95_ms": 15.608968344093311,
333
+ "itl_p99_ms": 17.811628303623607,
334
+ "tpot_mean_ms": 11.260660320716259,
335
+ "tpot_p50_ms": 11.130129110223226,
336
+ "tpot_p95_ms": 15.610202330715275,
337
+ "acceptance_rate": 0.2788578880838151,
338
+ "acceptance_pos_1": 0.5339278493601303,
339
+ "acceptance_pos_2": 0.21577434619629957,
340
+ "acceptance_pos_3": 0.08687146869501547,
341
+ "mean_acceptance_length": 1.8365736642514454
342
+ },
343
+ {
344
+ "dataset": "gsm8k",
345
+ "run": "dflare_k7",
346
+ "method": "dflare",
347
+ "num_speculative_tokens": 7,
348
+ "requests": 1319,
349
+ "output_tokens": 168457,
350
+ "request_throughput_rps": 0.6414136486780062,
351
+ "output_throughput_tps": 81.91858909427664,
352
+ "speedup_vs_baseline": 0.7088899931761125,
353
+ "latency_mean_ms": 1558.9424188529392,
354
+ "latency_p50_ms": 1528.7051639970741,
355
+ "latency_p95_ms": 2191.441884898086,
356
+ "latency_p99_ms": 2472.421863719936,
357
+ "ttft_mean_ms": 152.77644680597203,
358
+ "ttft_p50_ms": 155.94628499820828,
359
+ "ttft_p95_ms": 255.01179830098403,
360
+ "ttft_p99_ms": 283.681260881276,
361
+ "itl_mean_ms": 11.093297977502198,
362
+ "itl_p50_ms": 10.81332909192518,
363
+ "itl_p95_ms": 15.859892152744344,
364
+ "itl_p99_ms": 18.10012607823774,
365
+ "tpot_mean_ms": 11.094531792060318,
366
+ "tpot_p50_ms": 10.814917770089934,
367
+ "tpot_p95_ms": 15.861106548793142,
368
+ "acceptance_rate": 0.12798578221940327,
369
+ "acceptance_pos_1": 0.5417164364111695,
370
+ "acceptance_pos_2": 0.21953528205359357,
371
+ "acceptance_pos_3": 0.0932478420590025,
372
+ "mean_acceptance_length": 1.8959004755358229
373
+ },
374
+ {
375
+ "dataset": "gsm8k",
376
+ "run": "dspark_k3",
377
+ "method": "dspark",
378
+ "num_speculative_tokens": 3,
379
+ "requests": 1319,
380
+ "output_tokens": 168418,
381
+ "request_throughput_rps": 0.8767773042557421,
382
+ "output_throughput_tps": 111.95229721618163,
383
+ "speedup_vs_baseline": 0.9687894296896996,
384
+ "latency_mean_ms": 1140.4352353411668,
385
+ "latency_p50_ms": 1110.0252579999506,
386
+ "latency_p95_ms": 1627.445946199441,
387
+ "latency_p99_ms": 1797.3359449025884,
388
+ "ttft_mean_ms": 137.89601687177677,
389
+ "ttft_p50_ms": 139.47895800083643,
390
+ "ttft_p95_ms": 232.75966649744078,
391
+ "ttft_p99_ms": 255.23558505970868,
392
+ "itl_mean_ms": 7.9109000767037285,
393
+ "itl_p50_ms": 7.7173600157683415,
394
+ "itl_p95_ms": 11.63812698740246,
395
+ "itl_p99_ms": 13.068145703495471,
396
+ "tpot_mean_ms": 7.912022636927084,
397
+ "tpot_p50_ms": 7.718454007901284,
398
+ "tpot_p95_ms": 11.63953219130328,
399
+ "acceptance_rate": 0.3119374812973321,
400
+ "acceptance_pos_1": 0.5350344129088691,
401
+ "acceptance_pos_2": 0.257809083166448,
402
+ "acceptance_pos_3": 0.14296894781667932,
403
+ "mean_acceptance_length": 1.9358124438919964
404
+ },
405
+ {
406
+ "dataset": "gsm8k",
407
+ "run": "dspark_k7",
408
+ "method": "dspark",
409
+ "num_speculative_tokens": 7,
410
+ "requests": 1319,
411
+ "output_tokens": 168457,
412
+ "request_throughput_rps": 0.8698276010199105,
413
+ "output_throughput_tps": 111.09063547006147,
414
+ "speedup_vs_baseline": 0.9613329610654137,
415
+ "latency_mean_ms": 1149.4913456012362,
416
+ "latency_p50_ms": 1122.8163880005013,
417
+ "latency_p95_ms": 1690.7677308932762,
418
+ "latency_p99_ms": 1912.2929262730754,
419
+ "ttft_mean_ms": 142.42033671721288,
420
+ "ttft_p50_ms": 144.59181799611542,
421
+ "ttft_p95_ms": 238.7138173042331,
422
+ "ttft_p99_ms": 260.84847668505967,
423
+ "itl_mean_ms": 7.943716780175663,
424
+ "itl_p50_ms": 7.752916023642096,
425
+ "itl_p95_ms": 11.936723438570985,
426
+ "itl_p99_ms": 13.552413253823115,
427
+ "tpot_mean_ms": 7.944849474277738,
428
+ "tpot_p50_ms": 7.753948110208927,
429
+ "tpot_p95_ms": 11.937846825916434,
430
+ "acceptance_rate": 0.14634874499637113,
431
+ "acceptance_pos_1": 0.5336472057746123,
432
+ "acceptance_pos_2": 0.25006905994403145,
433
+ "acceptance_pos_3": 0.13272720721586337,
434
+ "mean_acceptance_length": 2.024441214974598
435
+ },
436
+ {
437
+ "dataset": "humaneval",
438
+ "run": "baseline",
439
+ "method": "baseline",
440
+ "num_speculative_tokens": null,
441
+ "requests": 164,
442
+ "output_tokens": 11593,
443
+ "request_throughput_rps": 1.3248947198163699,
444
+ "output_throughput_tps": 93.65551516360473,
445
+ "speedup_vs_baseline": 1.0,
446
+ "latency_mean_ms": 754.6755473965566,
447
+ "latency_p50_ms": 647.226564502489,
448
+ "latency_p95_ms": 1367.1402201009187,
449
+ "latency_p99_ms": 1480.0008050996985,
450
+ "ttft_mean_ms": 189.28278684156462,
451
+ "ttft_p50_ms": 179.46013799883076,
452
+ "ttft_p95_ms": 342.49747914982436,
453
+ "ttft_p99_ms": 379.2299685735634,
454
+ "itl_mean_ms": 8.10896273002792,
455
+ "itl_p50_ms": 7.874335342868083,
456
+ "itl_p95_ms": 9.866437620078749,
457
+ "itl_p99_ms": 14.497655275340552,
458
+ "tpot_mean_ms": 8.11360654911452,
459
+ "tpot_p50_ms": 7.876261433408698,
460
+ "tpot_p95_ms": 9.867678297241653,
461
+ "acceptance_rate": null,
462
+ "acceptance_pos_1": null,
463
+ "acceptance_pos_2": null,
464
+ "acceptance_pos_3": null,
465
+ "mean_acceptance_length": null
466
+ },
467
+ {
468
+ "dataset": "humaneval",
469
+ "run": "dflash_k3",
470
+ "method": "dflash",
471
+ "num_speculative_tokens": 3,
472
+ "requests": 164,
473
+ "output_tokens": 11403,
474
+ "request_throughput_rps": 0.8482418297936308,
475
+ "output_throughput_tps": 58.97866820205349,
476
+ "speedup_vs_baseline": 0.6297404706922488,
477
+ "latency_mean_ms": 1178.8075736159687,
478
+ "latency_p50_ms": 1028.3337114997266,
479
+ "latency_p95_ms": 2207.2047492016277,
480
+ "latency_p99_ms": 2550.0725987079936,
481
+ "ttft_mean_ms": 162.98695540243034,
482
+ "ttft_p50_ms": 142.10437850124435,
483
+ "ttft_p95_ms": 323.0461064536938,
484
+ "ttft_p99_ms": 404.1426902490639,
485
+ "itl_mean_ms": 15.05167389736459,
486
+ "itl_p50_ms": 15.00903958145443,
487
+ "itl_p95_ms": 20.248163725045735,
488
+ "itl_p99_ms": 21.988641405840404,
489
+ "tpot_mean_ms": 15.056187308266047,
490
+ "tpot_p50_ms": 15.011203893487512,
491
+ "tpot_p95_ms": 20.267178071169052,
492
+ "acceptance_rate": 0.0599447417200014,
493
+ "acceptance_pos_1": 0.1643059490084986,
494
+ "acceptance_pos_2": 0.01447906830343091,
495
+ "acceptance_pos_3": 0.0010492078480747037,
496
+ "mean_acceptance_length": 1.1798342251600042
497
+ },
498
+ {
499
+ "dataset": "humaneval",
500
+ "run": "dflash_k7",
501
+ "method": "dflash",
502
+ "num_speculative_tokens": 7,
503
+ "requests": 164,
504
+ "output_tokens": 10873,
505
+ "request_throughput_rps": 0.9775628464767565,
506
+ "output_throughput_tps": 64.81122457159618,
507
+ "speedup_vs_baseline": 0.6920171701407963,
508
+ "latency_mean_ms": 1022.8616001402481,
509
+ "latency_p50_ms": 861.6272605004269,
510
+ "latency_p95_ms": 2083.6442281001837,
511
+ "latency_p99_ms": 2187.8588047894846,
512
+ "ttft_mean_ms": 157.66290578664288,
513
+ "ttft_p50_ms": 154.99908150104602,
514
+ "ttft_p95_ms": 238.5054721988126,
515
+ "ttft_p99_ms": 254.32537110971683,
516
+ "itl_mean_ms": 13.23754715845204,
517
+ "itl_p50_ms": 13.002521015674134,
518
+ "itl_p95_ms": 16.242605144630183,
519
+ "itl_p99_ms": 17.38454934863588,
520
+ "tpot_mean_ms": 13.2414967604306,
521
+ "tpot_p50_ms": 13.004417010839589,
522
+ "tpot_p95_ms": 16.244994796315652,
523
+ "acceptance_rate": 0.027065165688917075,
524
+ "acceptance_pos_1": 0.17458379578246394,
525
+ "acceptance_pos_2": 0.014095449500554939,
526
+ "acceptance_pos_3": 0.0007769145394006659,
527
+ "mean_acceptance_length": 1.1894561598224196
528
+ },
529
+ {
530
+ "dataset": "humaneval",
531
+ "run": "dflare_k3",
532
+ "method": "dflare",
533
+ "num_speculative_tokens": 3,
534
+ "requests": 164,
535
+ "output_tokens": 11403,
536
+ "request_throughput_rps": 1.4279144513142106,
537
+ "output_throughput_tps": 99.28358834351184,
538
+ "speedup_vs_baseline": 1.060093344957588,
539
+ "latency_mean_ms": 700.2340810428306,
540
+ "latency_p50_ms": 654.7297254983278,
541
+ "latency_p95_ms": 1298.7420633009606,
542
+ "latency_p99_ms": 1572.5833712578244,
543
+ "ttft_mean_ms": 163.544509548978,
544
+ "ttft_p50_ms": 175.85190250065352,
545
+ "ttft_p95_ms": 255.46592105038144,
546
+ "ttft_p99_ms": 272.46247330847837,
547
+ "itl_mean_ms": 8.18464679387673,
548
+ "itl_p50_ms": 8.052460137035897,
549
+ "itl_p95_ms": 11.823310047215534,
550
+ "itl_p99_ms": 14.873981783527022,
551
+ "tpot_mean_ms": 8.188209899387681,
552
+ "tpot_p50_ms": 8.053541158448532,
553
+ "tpot_p95_ms": 11.828740774528667,
554
+ "acceptance_rate": 0.5862826458384184,
555
+ "acceptance_pos_1": 0.7759336099585062,
556
+ "acceptance_pos_2": 0.5643153526970954,
557
+ "acceptance_pos_3": 0.4185989748596534,
558
+ "mean_acceptance_length": 2.758847937515255
559
+ },
560
+ {
561
+ "dataset": "humaneval",
562
+ "run": "dflare_k7",
563
+ "method": "dflare",
564
+ "num_speculative_tokens": 7,
565
+ "requests": 164,
566
+ "output_tokens": 10873,
567
+ "request_throughput_rps": 1.7259982556670077,
568
+ "output_throughput_tps": 114.43157947480107,
569
+ "speedup_vs_baseline": 1.2218349263778336,
570
+ "latency_mean_ms": 579.2890396647502,
571
+ "latency_p50_ms": 542.1822514981613,
572
+ "latency_p95_ms": 1124.121437451322,
573
+ "latency_p99_ms": 1337.6976848527559,
574
+ "ttft_mean_ms": 153.88535212816083,
575
+ "ttft_p50_ms": 160.26985099961166,
576
+ "ttft_p95_ms": 249.8991386499256,
577
+ "ttft_p99_ms": 257.3446220774349,
578
+ "itl_mean_ms": 7.2881835467627765,
579
+ "itl_p50_ms": 6.791492409145974,
580
+ "itl_p95_ms": 11.28842372509098,
581
+ "itl_p99_ms": 14.967644061684823,
582
+ "tpot_mean_ms": 7.292224562039036,
583
+ "tpot_p50_ms": 6.792956900041677,
584
+ "tpot_p95_ms": 11.300806915223802,
585
+ "acceptance_rate": 0.3260095527572731,
586
+ "acceptance_pos_1": 0.7689969604863222,
587
+ "acceptance_pos_2": 0.5525835866261398,
588
+ "acceptance_pos_3": 0.40091185410334346,
589
+ "mean_acceptance_length": 3.282066869300912
590
+ },
591
+ {
592
+ "dataset": "humaneval",
593
+ "run": "dspark_k3",
594
+ "method": "dspark",
595
+ "num_speculative_tokens": 3,
596
+ "requests": 164,
597
+ "output_tokens": 11403,
598
+ "request_throughput_rps": 1.8838722899407694,
599
+ "output_throughput_tps": 130.98655928167435,
600
+ "speedup_vs_baseline": 1.3985995277785492,
601
+ "latency_mean_ms": 530.7444518413565,
602
+ "latency_p50_ms": 495.157746001496,
603
+ "latency_p95_ms": 905.6995584996912,
604
+ "latency_p99_ms": 1086.2262809240203,
605
+ "ttft_mean_ms": 146.0434188045882,
606
+ "ttft_p50_ms": 152.46622500490048,
607
+ "ttft_p95_ms": 236.91825044916186,
608
+ "ttft_p99_ms": 255.82899200926477,
609
+ "itl_mean_ms": 6.104835246645276,
610
+ "itl_p50_ms": 5.68536281673191,
611
+ "itl_p95_ms": 8.98480516036281,
612
+ "itl_p99_ms": 11.694451736160172,
613
+ "tpot_mean_ms": 6.108340038664795,
614
+ "tpot_p50_ms": 5.68948486237622,
615
+ "tpot_p95_ms": 8.989236841355433,
616
+ "acceptance_rate": 0.6043326693227091,
617
+ "acceptance_pos_1": 0.7711653386454184,
618
+ "acceptance_pos_2": 0.5893924302788844,
619
+ "acceptance_pos_3": 0.4524402390438247,
620
+ "mean_acceptance_length": 2.812998007968128
621
+ },
622
+ {
623
+ "dataset": "humaneval",
624
+ "run": "dspark_k7",
625
+ "method": "dspark",
626
+ "num_speculative_tokens": 7,
627
+ "requests": 164,
628
+ "output_tokens": 10873,
629
+ "request_throughput_rps": 2.193269418244654,
630
+ "output_throughput_tps": 145.4110877108178,
631
+ "speedup_vs_baseline": 1.5526163884401514,
632
+ "latency_mean_ms": 455.86265411590676,
633
+ "latency_p50_ms": 409.3146830055048,
634
+ "latency_p95_ms": 852.2122731519629,
635
+ "latency_p99_ms": 1123.0342373249005,
636
+ "ttft_mean_ms": 143.6314728172608,
637
+ "ttft_p50_ms": 148.64660549210384,
638
+ "ttft_p95_ms": 241.35335180908442,
639
+ "ttft_p99_ms": 261.36555448989384,
640
+ "itl_mean_ms": 5.509904282925857,
641
+ "itl_p50_ms": 5.137632333503879,
642
+ "itl_p95_ms": 9.656399889036864,
643
+ "itl_p99_ms": 11.480592018691826,
644
+ "tpot_mean_ms": 5.513652760595837,
645
+ "tpot_p50_ms": 5.139975778089672,
646
+ "tpot_p95_ms": 9.664061358919506,
647
+ "acceptance_rate": 0.3497128270580728,
648
+ "acceptance_pos_1": 0.7345245692405871,
649
+ "acceptance_pos_2": 0.5520102105934908,
650
+ "acceptance_pos_3": 0.3937460114869177,
651
+ "mean_acceptance_length": 3.4479897894065092
652
+ },
653
+ {
654
+ "dataset": "mbpp",
655
+ "run": "baseline",
656
+ "method": "baseline",
657
+ "num_speculative_tokens": null,
658
+ "requests": 500,
659
+ "output_tokens": 61467,
660
+ "request_throughput_rps": 0.9566788994866338,
661
+ "output_throughput_tps": 117.60836382948983,
662
+ "speedup_vs_baseline": 1.0,
663
+ "latency_mean_ms": 1045.163285173956,
664
+ "latency_p50_ms": 1051.2518215000455,
665
+ "latency_p95_ms": 1252.2429954937252,
666
+ "latency_p99_ms": 1313.4473929634257,
667
+ "ttft_mean_ms": 170.204570235961,
668
+ "ttft_p50_ms": 147.96629649936222,
669
+ "ttft_p95_ms": 343.0072944531275,
670
+ "ttft_p99_ms": 394.77327711974795,
671
+ "itl_mean_ms": 7.1850096596128905,
672
+ "itl_p50_ms": 7.149241377965513,
673
+ "itl_p95_ms": 7.642400291320152,
674
+ "itl_p99_ms": 7.887752700210706,
675
+ "tpot_mean_ms": 7.1880918593224585,
676
+ "tpot_p50_ms": 7.1504635433104955,
677
+ "tpot_p95_ms": 7.643652335044196,
678
+ "acceptance_rate": null,
679
+ "acceptance_pos_1": null,
680
+ "acceptance_pos_2": null,
681
+ "acceptance_pos_3": null,
682
+ "mean_acceptance_length": null
683
+ },
684
+ {
685
+ "dataset": "mbpp",
686
+ "run": "dflash_k3",
687
+ "method": "dflash",
688
+ "num_speculative_tokens": 3,
689
+ "requests": 500,
690
+ "output_tokens": 61643,
691
+ "request_throughput_rps": 0.5463233439436157,
692
+ "output_throughput_tps": 67.3540197814326,
693
+ "speedup_vs_baseline": 0.5726975326268746,
694
+ "latency_mean_ms": 1830.2107265740342,
695
+ "latency_p50_ms": 1857.0996774942614,
696
+ "latency_p95_ms": 2291.14192195193,
697
+ "latency_p99_ms": 2455.683664069438,
698
+ "ttft_mean_ms": 181.87522897598683,
699
+ "ttft_p50_ms": 156.96376850246452,
700
+ "ttft_p95_ms": 374.19471385073825,
701
+ "ttft_p99_ms": 413.4018152903445,
702
+ "itl_mean_ms": 13.36878509883122,
703
+ "itl_p50_ms": 13.397268279545893,
704
+ "itl_p95_ms": 16.285712324037817,
705
+ "itl_p99_ms": 17.16560508802913,
706
+ "tpot_mean_ms": 13.37178172838754,
707
+ "tpot_p50_ms": 13.398526082703144,
708
+ "tpot_p95_ms": 16.287178615374877,
709
+ "acceptance_rate": 0.0651825815270455,
710
+ "acceptance_pos_1": 0.18390939269673892,
711
+ "acceptance_pos_2": 0.011013473930872876,
712
+ "acceptance_pos_3": 0.0006248779535247023,
713
+ "mean_acceptance_length": 1.1955477445811364
714
+ },
715
+ {
716
+ "dataset": "mbpp",
717
+ "run": "dflash_k7",
718
+ "method": "dflash",
719
+ "num_speculative_tokens": 7,
720
+ "requests": 500,
721
+ "output_tokens": 61199,
722
+ "request_throughput_rps": 0.6112544218481429,
723
+ "output_throughput_tps": 74.81631872536899,
724
+ "speedup_vs_baseline": 0.636147942962957,
725
+ "latency_mean_ms": 1635.86529272798,
726
+ "latency_p50_ms": 1672.3464854994745,
727
+ "latency_p95_ms": 2016.2770743999317,
728
+ "latency_p99_ms": 2129.984438859737,
729
+ "ttft_mean_ms": 152.66953481407472,
730
+ "ttft_p50_ms": 159.74267549972865,
731
+ "ttft_p95_ms": 244.47033859860304,
732
+ "ttft_p99_ms": 260.42180475840723,
733
+ "itl_mean_ms": 12.100660442193382,
734
+ "itl_p50_ms": 12.01978580708575,
735
+ "itl_p95_ms": 14.406062782671242,
736
+ "itl_p99_ms": 15.092129389210932,
737
+ "tpot_mean_ms": 12.10357721618688,
738
+ "tpot_p50_ms": 12.02091915748017,
739
+ "tpot_p95_ms": 14.40738571140975,
740
+ "acceptance_rate": 0.028364658688842314,
741
+ "acceptance_pos_1": 0.18660277646316453,
742
+ "acceptance_pos_2": 0.011358258400378608,
743
+ "acceptance_pos_3": 0.0005718567597412841,
744
+ "mean_acceptance_length": 1.1985526108218962
745
+ },
746
+ {
747
+ "dataset": "mbpp",
748
+ "run": "dflare_k3",
749
+ "method": "dflare",
750
+ "num_speculative_tokens": 3,
751
+ "requests": 500,
752
+ "output_tokens": 61643,
753
+ "request_throughput_rps": 0.8389172370608934,
754
+ "output_throughput_tps": 103.4267504882893,
755
+ "speedup_vs_baseline": 0.8794166258297648,
756
+ "latency_mean_ms": 1191.9062847682944,
757
+ "latency_p50_ms": 1208.0225355002767,
758
+ "latency_p95_ms": 1663.9658735984995,
759
+ "latency_p99_ms": 1887.62577743968,
760
+ "ttft_mean_ms": 151.1433905701415,
761
+ "ttft_p50_ms": 151.9770585000515,
762
+ "ttft_p95_ms": 261.6679305512662,
763
+ "ttft_p99_ms": 283.6371392303044,
764
+ "itl_mean_ms": 8.617537094703247,
765
+ "itl_p50_ms": 8.440096641743008,
766
+ "itl_p95_ms": 12.05171109251937,
767
+ "itl_p99_ms": 14.760888378997743,
768
+ "tpot_mean_ms": 8.620249662427044,
769
+ "tpot_p50_ms": 8.441339763779492,
770
+ "tpot_p95_ms": 12.052845620474532,
771
+ "acceptance_rate": 0.4696401115367576,
772
+ "acceptance_pos_1": 0.6867328590415136,
773
+ "acceptance_pos_2": 0.4438276913454773,
774
+ "acceptance_pos_3": 0.278359784223282,
775
+ "mean_acceptance_length": 2.408920334610273
776
+ },
777
+ {
778
+ "dataset": "mbpp",
779
+ "run": "dflare_k7",
780
+ "method": "dflare",
781
+ "num_speculative_tokens": 7,
782
+ "requests": 500,
783
+ "output_tokens": 61199,
784
+ "request_throughput_rps": 0.943455812538664,
785
+ "output_throughput_tps": 115.47710454310739,
786
+ "speedup_vs_baseline": 0.9818783357153716,
787
+ "latency_mean_ms": 1059.8270873299334,
788
+ "latency_p50_ms": 1066.4042809985403,
789
+ "latency_p95_ms": 1511.5341901015197,
790
+ "latency_p99_ms": 1678.6425156925543,
791
+ "ttft_mean_ms": 149.29563258778944,
792
+ "ttft_p50_ms": 151.24238849966787,
793
+ "ttft_p95_ms": 254.46768340189007,
794
+ "ttft_p99_ms": 276.2093989884306,
795
+ "itl_mean_ms": 7.8246956861011725,
796
+ "itl_p50_ms": 7.491708066904327,
797
+ "itl_p95_ms": 11.13285018701698,
798
+ "itl_p99_ms": 19.920353018048132,
799
+ "tpot_mean_ms": 7.827419804285574,
800
+ "tpot_p50_ms": 7.492821476362439,
801
+ "tpot_p95_ms": 11.13404580474156,
802
+ "acceptance_rate": 0.24501954356323288,
803
+ "acceptance_pos_1": 0.6746690203000882,
804
+ "acceptance_pos_2": 0.42497793468667255,
805
+ "acceptance_pos_3": 0.2500882612533098,
806
+ "mean_acceptance_length": 2.71513680494263
807
+ },
808
+ {
809
+ "dataset": "mbpp",
810
+ "run": "dspark_k3",
811
+ "method": "dspark",
812
+ "num_speculative_tokens": 3,
813
+ "requests": 500,
814
+ "output_tokens": 61643,
815
+ "request_throughput_rps": 1.1901763850957827,
816
+ "output_throughput_tps": 146.73208581291865,
817
+ "speedup_vs_baseline": 1.247633085225578,
818
+ "latency_mean_ms": 840.1123063238338,
819
+ "latency_p50_ms": 843.1062914969516,
820
+ "latency_p95_ms": 1144.961133646211,
821
+ "latency_p99_ms": 1246.0605967608715,
822
+ "ttft_mean_ms": 133.81045833000098,
823
+ "ttft_p50_ms": 131.7662695000763,
824
+ "ttft_p95_ms": 238.02317654808573,
825
+ "ttft_p99_ms": 263.0950807044428,
826
+ "itl_mean_ms": 5.951950751595078,
827
+ "itl_p50_ms": 5.73346276769729,
828
+ "itl_p95_ms": 8.067283917319386,
829
+ "itl_p99_ms": 14.154150555114027,
830
+ "tpot_mean_ms": 5.954451005112758,
831
+ "tpot_p50_ms": 5.734595043312457,
832
+ "tpot_p95_ms": 8.068427130726949,
833
+ "acceptance_rate": 0.5237361111111111,
834
+ "acceptance_pos_1": 0.7102916666666667,
835
+ "acceptance_pos_2": 0.510625,
836
+ "acceptance_pos_3": 0.35029166666666667,
837
+ "mean_acceptance_length": 2.5712083333333333
838
+ },
839
+ {
840
+ "dataset": "mbpp",
841
+ "run": "dspark_k7",
842
+ "method": "dspark",
843
+ "num_speculative_tokens": 7,
844
+ "requests": 500,
845
+ "output_tokens": 61199,
846
+ "request_throughput_rps": 1.292868654843097,
847
+ "output_throughput_tps": 158.2445376154854,
848
+ "speedup_vs_baseline": 1.3455211216517766,
849
+ "latency_mean_ms": 773.3765653301089,
850
+ "latency_p50_ms": 777.3538839974208,
851
+ "latency_p95_ms": 1069.8221424441717,
852
+ "latency_p99_ms": 1181.5079208668612,
853
+ "ttft_mean_ms": 144.87902384001063,
854
+ "ttft_p50_ms": 148.97060450311983,
855
+ "ttft_p95_ms": 240.50168554604164,
856
+ "ttft_p99_ms": 261.4171255609835,
857
+ "itl_mean_ms": 5.4609269159301945,
858
+ "itl_p50_ms": 5.171082055140708,
859
+ "itl_p95_ms": 7.696279004271422,
860
+ "itl_p99_ms": 16.670999059686896,
861
+ "tpot_mean_ms": 5.463527012393008,
862
+ "tpot_p50_ms": 5.172086559067843,
863
+ "tpot_p95_ms": 7.697418791287318,
864
+ "acceptance_rate": 0.2885384335766015,
865
+ "acceptance_pos_1": 0.6823742415345468,
866
+ "acceptance_pos_2": 0.46951458211000197,
867
+ "acceptance_pos_3": 0.3062732432961441,
868
+ "mean_acceptance_length": 3.0197690350362105
869
+ },
870
+ {
871
+ "dataset": "mt_bench",
872
+ "run": "baseline",
873
+ "method": "baseline",
874
+ "num_speculative_tokens": null,
875
+ "requests": 160,
876
+ "output_tokens": 20102,
877
+ "request_throughput_rps": 0.9303956789559812,
878
+ "output_throughput_tps": 116.89258711483208,
879
+ "speedup_vs_baseline": 1.0,
880
+ "latency_mean_ms": 1074.6847601811623,
881
+ "latency_p50_ms": 1056.2882739977795,
882
+ "latency_p95_ms": 1319.7490790018492,
883
+ "latency_p99_ms": 1393.648768519415,
884
+ "ttft_mean_ms": 160.69353549364678,
885
+ "ttft_p50_ms": 136.07312599924626,
886
+ "ttft_p95_ms": 327.46918089833343,
887
+ "ttft_p99_ms": 382.2414645081152,
888
+ "itl_mean_ms": 7.309607731920508,
889
+ "itl_p50_ms": 7.198581275588367,
890
+ "itl_p95_ms": 8.339637732306286,
891
+ "itl_p99_ms": 9.805146286736829,
892
+ "tpot_mean_ms": 7.3133077895495875,
893
+ "tpot_p50_ms": 7.1998062007842805,
894
+ "tpot_p95_ms": 8.34087489329106,
895
+ "acceptance_rate": null,
896
+ "acceptance_pos_1": null,
897
+ "acceptance_pos_2": null,
898
+ "acceptance_pos_3": null,
899
+ "mean_acceptance_length": null
900
+ },
901
+ {
902
+ "dataset": "mt_bench",
903
+ "run": "dflash_k3",
904
+ "method": "dflash",
905
+ "num_speculative_tokens": 3,
906
+ "requests": 160,
907
+ "output_tokens": 20102,
908
+ "request_throughput_rps": 0.5241432036444518,
909
+ "output_throughput_tps": 65.85204174787981,
910
+ "speedup_vs_baseline": 0.5633551568431672,
911
+ "latency_mean_ms": 1907.7480007938448,
912
+ "latency_p50_ms": 1930.5097770011344,
913
+ "latency_p95_ms": 2463.4897702966555,
914
+ "latency_p99_ms": 2646.199334648336,
915
+ "ttft_mean_ms": 175.24922163756855,
916
+ "ttft_p50_ms": 140.2629744989099,
917
+ "ttft_p95_ms": 376.67113924690057,
918
+ "ttft_p99_ms": 423.97999386870646,
919
+ "itl_mean_ms": 13.833307178800341,
920
+ "itl_p50_ms": 13.946147039380268,
921
+ "itl_p95_ms": 17.445409657068915,
922
+ "itl_p99_ms": 18.298039104984053,
923
+ "tpot_mean_ms": 13.837227284098185,
924
+ "tpot_p50_ms": 13.947568574815339,
925
+ "tpot_p95_ms": 17.446681594068878,
926
+ "acceptance_rate": 0.060423199037646175,
927
+ "acceptance_pos_1": 0.16210140211796722,
928
+ "acceptance_pos_2": 0.017630006507720522,
929
+ "acceptance_pos_3": 0.0015381884872507838,
930
+ "mean_acceptance_length": 1.1812695971129386
931
+ },
932
+ {
933
+ "dataset": "mt_bench",
934
+ "run": "dflash_k7",
935
+ "method": "dflash",
936
+ "num_speculative_tokens": 7,
937
+ "requests": 160,
938
+ "output_tokens": 20102,
939
+ "request_throughput_rps": 0.583168838359363,
940
+ "output_throughput_tps": 73.26787492937446,
941
+ "speedup_vs_baseline": 0.6267965893970513,
942
+ "latency_mean_ms": 1714.6447665063306,
943
+ "latency_p50_ms": 1721.8866950006486,
944
+ "latency_p95_ms": 2135.267027699956,
945
+ "latency_p99_ms": 2242.278299470854,
946
+ "ttft_mean_ms": 139.6615898878281,
947
+ "ttft_p50_ms": 138.0474095003592,
948
+ "ttft_p95_ms": 237.62467689830373,
949
+ "ttft_p99_ms": 245.49128495971672,
950
+ "itl_mean_ms": 12.686621501440076,
951
+ "itl_p50_ms": 12.566233303133897,
952
+ "itl_p95_ms": 15.546194449997866,
953
+ "itl_p99_ms": 16.16330862709806,
954
+ "tpot_mean_ms": 12.6899270927419,
955
+ "tpot_p50_ms": 12.567349094479857,
956
+ "tpot_p95_ms": 15.547512893692872,
957
+ "acceptance_rate": 0.02348325183475921,
958
+ "acceptance_pos_1": 0.14881334188582424,
959
+ "acceptance_pos_2": 0.01463642194880168,
960
+ "acceptance_pos_3": 0.0008746865706455186,
961
+ "mean_acceptance_length": 1.1643827628433145
962
+ },
963
+ {
964
+ "dataset": "mt_bench",
965
+ "run": "dflare_k3",
966
+ "method": "dflare",
967
+ "num_speculative_tokens": 3,
968
+ "requests": 160,
969
+ "output_tokens": 20102,
970
+ "request_throughput_rps": 0.6809063012234507,
971
+ "output_throughput_tps": 85.5473654199613,
972
+ "speedup_vs_baseline": 0.7318459410597347,
973
+ "latency_mean_ms": 1468.511645206172,
974
+ "latency_p50_ms": 1454.6153324990883,
975
+ "latency_p95_ms": 2127.0678361986943,
976
+ "latency_p99_ms": 2281.048237952054,
977
+ "ttft_mean_ms": 159.72944469986032,
978
+ "ttft_p50_ms": 168.77598499922897,
979
+ "ttft_p95_ms": 265.74251724632626,
980
+ "ttft_p99_ms": 281.86643974164326,
981
+ "itl_mean_ms": 10.654948740516124,
982
+ "itl_p50_ms": 10.288291291322736,
983
+ "itl_p95_ms": 15.705922906309695,
984
+ "itl_p99_ms": 16.95837595336085,
985
+ "tpot_mean_ms": 10.6584103940507,
986
+ "tpot_p50_ms": 10.289786913365493,
987
+ "tpot_p95_ms": 15.707090863808236,
988
+ "acceptance_rate": 0.3230895107183767,
989
+ "acceptance_pos_1": 0.5774177712322042,
990
+ "acceptance_pos_2": 0.27245949926362295,
991
+ "acceptance_pos_3": 0.1193912616593029,
992
+ "mean_acceptance_length": 1.9692685321551302
993
+ },
994
+ {
995
+ "dataset": "mt_bench",
996
+ "run": "dflare_k7",
997
+ "method": "dflare",
998
+ "num_speculative_tokens": 7,
999
+ "requests": 160,
1000
+ "output_tokens": 20102,
1001
+ "request_throughput_rps": 0.7093667936140545,
1002
+ "output_throughput_tps": 89.12307053268577,
1003
+ "speedup_vs_baseline": 0.7624356063326214,
1004
+ "latency_mean_ms": 1409.5885398314294,
1005
+ "latency_p50_ms": 1421.8769274993974,
1006
+ "latency_p95_ms": 2124.1017438478584,
1007
+ "latency_p99_ms": 2515.584632036989,
1008
+ "ttft_mean_ms": 146.91454585622523,
1009
+ "ttft_p50_ms": 142.44566849811235,
1010
+ "ttft_p95_ms": 259.6700968468212,
1011
+ "ttft_p99_ms": 287.97775861195987,
1012
+ "itl_mean_ms": 10.234430485377915,
1013
+ "itl_p50_ms": 10.088829999998364,
1014
+ "itl_p95_ms": 15.341923362584064,
1015
+ "itl_p99_ms": 19.70016743978345,
1016
+ "tpot_mean_ms": 10.238094617695932,
1017
+ "tpot_p50_ms": 10.089903972448514,
1018
+ "tpot_p95_ms": 15.343091349977053,
1019
+ "acceptance_rate": 0.14626535131870344,
1020
+ "acceptance_pos_1": 0.5742903160861688,
1021
+ "acceptance_pos_2": 0.2700825447956513,
1022
+ "acceptance_pos_3": 0.1106301590497282,
1023
+ "mean_acceptance_length": 2.023857459230924
1024
+ },
1025
+ {
1026
+ "dataset": "mt_bench",
1027
+ "run": "dspark_k3",
1028
+ "method": "dspark",
1029
+ "num_speculative_tokens": 3,
1030
+ "requests": 160,
1031
+ "output_tokens": 20102,
1032
+ "request_throughput_rps": 0.9638367060855711,
1033
+ "output_throughput_tps": 121.09403416082594,
1034
+ "speedup_vs_baseline": 1.035942801418763,
1035
+ "latency_mean_ms": 1037.4081412996475,
1036
+ "latency_p50_ms": 1001.3265734996821,
1037
+ "latency_p95_ms": 1565.5059430991967,
1038
+ "latency_p99_ms": 1781.7731402603386,
1039
+ "ttft_mean_ms": 141.7672610684349,
1040
+ "ttft_p50_ms": 145.46368399896892,
1041
+ "ttft_p95_ms": 240.4056666531687,
1042
+ "ttft_p99_ms": 261.25688084066496,
1043
+ "itl_mean_ms": 7.313367654694055,
1044
+ "itl_p50_ms": 6.893495897653395,
1045
+ "itl_p95_ms": 11.711175241387847,
1046
+ "itl_p99_ms": 16.168680668779416,
1047
+ "tpot_mean_ms": 7.316552068142107,
1048
+ "tpot_p50_ms": 6.894642385820525,
1049
+ "tpot_p95_ms": 11.712829905159229,
1050
+ "acceptance_rate": 0.3706431026018655,
1051
+ "acceptance_pos_1": 0.5900483904902167,
1052
+ "acceptance_pos_2": 0.3288449400378708,
1053
+ "acceptance_pos_3": 0.19303597727750893,
1054
+ "mean_acceptance_length": 2.1119293078055965
1055
+ },
1056
+ {
1057
+ "dataset": "mt_bench",
1058
+ "run": "dspark_k7",
1059
+ "method": "dspark",
1060
+ "num_speculative_tokens": 7,
1061
+ "requests": 160,
1062
+ "output_tokens": 20102,
1063
+ "request_throughput_rps": 0.9729636803231215,
1064
+ "output_throughput_tps": 122.24072438659618,
1065
+ "speedup_vs_baseline": 1.045752578531864,
1066
+ "latency_mean_ms": 1027.6755360433526,
1067
+ "latency_p50_ms": 1009.7822754978552,
1068
+ "latency_p95_ms": 1596.3315117551247,
1069
+ "latency_p99_ms": 2005.884019333607,
1070
+ "ttft_mean_ms": 141.24648624401743,
1071
+ "ttft_p50_ms": 139.84237199474592,
1072
+ "ttft_p95_ms": 255.56160285341318,
1073
+ "ttft_p99_ms": 265.59654699100065,
1074
+ "itl_mean_ms": 7.283154806994812,
1075
+ "itl_p50_ms": 6.8463791023933425,
1076
+ "itl_p95_ms": 11.787724323593851,
1077
+ "itl_p99_ms": 15.836048513204252,
1078
+ "tpot_mean_ms": 7.286351986039958,
1079
+ "tpot_p50_ms": 6.847493661481403,
1080
+ "tpot_p95_ms": 11.788784734661597,
1081
+ "acceptance_rate": 0.1742194735272419,
1082
+ "acceptance_pos_1": 0.5641138336446544,
1083
+ "acceptance_pos_2": 0.30238435336776176,
1084
+ "acceptance_pos_3": 0.17075046698165036,
1085
+ "mean_acceptance_length": 2.2195363146906932
1086
+ },
1087
+ {
1088
+ "dataset": "ultrachat",
1089
+ "run": "baseline",
1090
+ "method": "baseline",
1091
+ "num_speculative_tokens": null,
1092
+ "requests": 5000,
1093
+ "output_tokens": 636089,
1094
+ "request_throughput_rps": 0.4938431604479032,
1095
+ "output_throughput_tps": 62.825640417229266,
1096
+ "speedup_vs_baseline": 1.0,
1097
+ "latency_mean_ms": 2024.8159037780163,
1098
+ "latency_p50_ms": 1899.8980629985454,
1099
+ "latency_p95_ms": 3256.729267303672,
1100
+ "latency_p99_ms": 3405.7137782224895,
1101
+ "ttft_mean_ms": 166.95593686518114,
1102
+ "ttft_p50_ms": 163.98859200126026,
1103
+ "ttft_p95_ms": 289.8830948040995,
1104
+ "ttft_p99_ms": 336.2988253685762,
1105
+ "itl_mean_ms": 14.712897944777563,
1106
+ "itl_p50_ms": 13.827794673245338,
1107
+ "itl_p95_ms": 23.864679124793426,
1108
+ "itl_p99_ms": 24.76342741740255,
1109
+ "tpot_mean_ms": 14.714261969753975,
1110
+ "tpot_p50_ms": 13.829047236223541,
1111
+ "tpot_p95_ms": 23.866155100384233,
1112
+ "acceptance_rate": null,
1113
+ "acceptance_pos_1": null,
1114
+ "acceptance_pos_2": null,
1115
+ "acceptance_pos_3": null,
1116
+ "mean_acceptance_length": null
1117
+ },
1118
+ {
1119
+ "dataset": "ultrachat",
1120
+ "run": "dflash_k3",
1121
+ "method": "dflash",
1122
+ "num_speculative_tokens": 3,
1123
+ "requests": 5000,
1124
+ "output_tokens": 635846,
1125
+ "request_throughput_rps": 0.4093959318736204,
1126
+ "output_throughput_tps": 52.06255313962281,
1127
+ "speedup_vs_baseline": 0.82868320631309,
1128
+ "latency_mean_ms": 2442.487533897996,
1129
+ "latency_p50_ms": 2383.8188690006064,
1130
+ "latency_p95_ms": 3377.258205899534,
1131
+ "latency_p99_ms": 3705.6293327211833,
1132
+ "ttft_mean_ms": 168.35537181059328,
1133
+ "ttft_p50_ms": 170.54413749974628,
1134
+ "ttft_p95_ms": 252.9078775001381,
1135
+ "ttft_p99_ms": 299.23500963023804,
1136
+ "itl_mean_ms": 18.0134018722681,
1137
+ "itl_p50_ms": 17.54899170471861,
1138
+ "itl_p95_ms": 24.705050003148795,
1139
+ "itl_p99_ms": 27.191358835904875,
1140
+ "tpot_mean_ms": 18.01468435680956,
1141
+ "tpot_p50_ms": 17.550207216533355,
1142
+ "tpot_p95_ms": 24.706307322046488,
1143
+ "acceptance_rate": 0.07081888392688648,
1144
+ "acceptance_pos_1": 0.18361221407447353,
1145
+ "acceptance_pos_2": 0.02588322896495871,
1146
+ "acceptance_pos_3": 0.002961208741227203,
1147
+ "mean_acceptance_length": 1.2124566517806594
1148
+ },
1149
+ {
1150
+ "dataset": "ultrachat",
1151
+ "run": "dflash_k7",
1152
+ "method": "dflash",
1153
+ "num_speculative_tokens": 7,
1154
+ "requests": 5000,
1155
+ "output_tokens": 636040,
1156
+ "request_throughput_rps": 0.4019325528965641,
1157
+ "output_throughput_tps": 51.12903618886613,
1158
+ "speedup_vs_baseline": 0.8138243533900298,
1159
+ "latency_mean_ms": 2487.8614642295834,
1160
+ "latency_p50_ms": 2432.8269440011354,
1161
+ "latency_p95_ms": 3443.123125650527,
1162
+ "latency_p99_ms": 3724.6332480803176,
1163
+ "ttft_mean_ms": 172.7844437341555,
1164
+ "ttft_p50_ms": 173.04360800153518,
1165
+ "ttft_p95_ms": 258.7694342015311,
1166
+ "ttft_p99_ms": 299.8475944703024,
1167
+ "itl_mean_ms": 18.332019165246155,
1168
+ "itl_p50_ms": 17.85771458268332,
1169
+ "itl_p95_ms": 25.186547632286487,
1170
+ "itl_p99_ms": 27.352591655754214,
1171
+ "tpot_mean_ms": 18.33325328096626,
1172
+ "tpot_p50_ms": 17.85883874804062,
1173
+ "tpot_p95_ms": 25.18777078149849,
1174
+ "acceptance_rate": 0.03064899424451109,
1175
+ "acceptance_pos_1": 0.1849223980874338,
1176
+ "acceptance_pos_2": 0.025778901811864367,
1177
+ "acceptance_pos_3": 0.0031517369145264325,
1178
+ "mean_acceptance_length": 1.2145429597115776
1179
+ },
1180
+ {
1181
+ "dataset": "ultrachat",
1182
+ "run": "dflare_k3",
1183
+ "method": "dflare",
1184
+ "num_speculative_tokens": 3,
1185
+ "requests": 5000,
1186
+ "output_tokens": 635846,
1187
+ "request_throughput_rps": 0.4906630866625573,
1188
+ "output_throughput_tps": 62.397232200408084,
1189
+ "speedup_vs_baseline": 0.9931809972174402,
1190
+ "latency_mean_ms": 2037.9430946188047,
1191
+ "latency_p50_ms": 2007.9161120011122,
1192
+ "latency_p95_ms": 2756.5027899490815,
1193
+ "latency_p99_ms": 3044.030925800253,
1194
+ "ttft_mean_ms": 185.9597727056098,
1195
+ "ttft_p50_ms": 186.23321399718407,
1196
+ "ttft_p95_ms": 279.4342198045342,
1197
+ "ttft_p99_ms": 323.5009970532701,
1198
+ "itl_mean_ms": 14.673263611031553,
1199
+ "itl_p50_ms": 14.47747526376982,
1200
+ "itl_p95_ms": 19.803011401590926,
1201
+ "itl_p99_ms": 21.86518714472933,
1202
+ "tpot_mean_ms": 14.674543237540032,
1203
+ "tpot_p50_ms": 14.478983830686477,
1204
+ "tpot_p95_ms": 19.804314228371027,
1205
+ "acceptance_rate": 0.3113198824188073,
1206
+ "acceptance_pos_1": 0.572229825914399,
1207
+ "acceptance_pos_2": 0.26063458484348756,
1208
+ "acceptance_pos_3": 0.10109523649853532,
1209
+ "mean_acceptance_length": 1.933959647256422
1210
+ },
1211
+ {
1212
+ "dataset": "ultrachat",
1213
+ "run": "dflare_k7",
1214
+ "method": "dflare",
1215
+ "num_speculative_tokens": 7,
1216
+ "requests": 5000,
1217
+ "output_tokens": 636040,
1218
+ "request_throughput_rps": 0.5191022628219358,
1219
+ "output_throughput_tps": 66.03396064905282,
1220
+ "speedup_vs_baseline": 1.0510670517724432,
1221
+ "latency_mean_ms": 1925.9773102255406,
1222
+ "latency_p50_ms": 1903.7692794991017,
1223
+ "latency_p95_ms": 2635.482599895113,
1224
+ "latency_p99_ms": 2962.525904481372,
1225
+ "ttft_mean_ms": 180.70931879136043,
1226
+ "ttft_p50_ms": 182.9802385000221,
1227
+ "ttft_p95_ms": 272.8241580512986,
1228
+ "ttft_p99_ms": 313.5787184005314,
1229
+ "itl_mean_ms": 13.822185940257995,
1230
+ "itl_p50_ms": 13.62802470079417,
1231
+ "itl_p95_ms": 18.901379390565385,
1232
+ "itl_p99_ms": 21.488975903824134,
1233
+ "tpot_mean_ms": 13.823438931487352,
1234
+ "tpot_p50_ms": 13.629216417345067,
1235
+ "tpot_p95_ms": 18.902619697261734,
1236
+ "acceptance_rate": 0.14394009500546442,
1237
+ "acceptance_pos_1": 0.5769995228510126,
1238
+ "acceptance_pos_2": 0.26659988687461095,
1239
+ "acceptance_pos_3": 0.10386364282712356,
1240
+ "mean_acceptance_length": 2.007580665038251
1241
+ },
1242
+ {
1243
+ "dataset": "ultrachat",
1244
+ "run": "dspark_k3",
1245
+ "method": "dspark",
1246
+ "num_speculative_tokens": 3,
1247
+ "requests": 5000,
1248
+ "output_tokens": 635846,
1249
+ "request_throughput_rps": 0.6141321767148702,
1250
+ "output_throughput_tps": 78.09869760708868,
1251
+ "speedup_vs_baseline": 1.2431022921283417,
1252
+ "latency_mean_ms": 1628.2056611145947,
1253
+ "latency_p50_ms": 1592.831803496665,
1254
+ "latency_p95_ms": 2287.4158730010095,
1255
+ "latency_p99_ms": 2571.3276440004856,
1256
+ "ttft_mean_ms": 171.98177616532774,
1257
+ "ttft_p50_ms": 172.63183150498662,
1258
+ "ttft_p95_ms": 258.64595805287536,
1259
+ "ttft_p99_ms": 302.3406934656669,
1260
+ "itl_mean_ms": 11.538623067112681,
1261
+ "itl_p50_ms": 11.238307917321478,
1262
+ "itl_p95_ms": 16.24375355278012,
1263
+ "itl_p99_ms": 18.46682838556656,
1264
+ "tpot_mean_ms": 11.5398444087042,
1265
+ "tpot_p50_ms": 11.239705511848223,
1266
+ "tpot_p95_ms": 16.245154050035826,
1267
+ "acceptance_rate": 0.3240773825244086,
1268
+ "acceptance_pos_1": 0.5557454318356237,
1269
+ "acceptance_pos_2": 0.28176742365161084,
1270
+ "acceptance_pos_3": 0.13471929208599118,
1271
+ "mean_acceptance_length": 1.9722321475732256
1272
+ },
1273
+ {
1274
+ "dataset": "ultrachat",
1275
+ "run": "dspark_k7",
1276
+ "method": "dspark",
1277
+ "num_speculative_tokens": 7,
1278
+ "requests": 5000,
1279
+ "output_tokens": 636040,
1280
+ "request_throughput_rps": 0.6186701811110291,
1281
+ "output_throughput_tps": 78.69979639877178,
1282
+ "speedup_vs_baseline": 1.2526700225595981,
1283
+ "latency_mean_ms": 1616.259658270469,
1284
+ "latency_p50_ms": 1584.57970800373,
1285
+ "latency_p95_ms": 2290.956548342365,
1286
+ "latency_p99_ms": 2594.4233495666413,
1287
+ "ttft_mean_ms": 176.71817260388633,
1288
+ "ttft_p50_ms": 176.76159800612368,
1289
+ "ttft_p95_ms": 263.7752173024638,
1290
+ "ttft_p99_ms": 303.1083872308955,
1291
+ "itl_mean_ms": 11.399967330431618,
1292
+ "itl_p50_ms": 11.174435653507444,
1293
+ "itl_p95_ms": 16.282335170467917,
1294
+ "itl_p99_ms": 18.624601763757692,
1295
+ "tpot_mean_ms": 11.401195973910607,
1296
+ "tpot_p50_ms": 11.175635023563679,
1297
+ "tpot_p95_ms": 16.283561415453793,
1298
+ "acceptance_rate": 0.15448514765416219,
1299
+ "acceptance_pos_1": 0.5533425372792525,
1300
+ "acceptance_pos_2": 0.28025688169439844,
1301
+ "acceptance_pos_3": 0.13306681148704796,
1302
+ "mean_acceptance_length": 2.0813960335791357
1303
+ }
1304
+ ]
benchmarks/large/bs1/run_config.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "args": {
3
+ "base_model": "google/t5gemma-2-1b-1b",
4
+ "dflash_model": "/mnt/d/Projects/dflash_t5/dflash-output/dflash_t5gemma2_mixture_200k/checkpoints/5",
5
+ "dflare_model": "/mnt/d/Projects/dflash_t5/dflash-output/dflare_t5gemma2_mixture_200k/checkpoints/5",
6
+ "dspark_model": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_t5gemma2_mixture_200k/checkpoints/5",
7
+ "speculative_token_counts": [
8
+ 3,
9
+ 7
10
+ ],
11
+ "methods": [
12
+ "dflash",
13
+ "dflare",
14
+ "dspark"
15
+ ],
16
+ "datasets": [
17
+ "math500",
18
+ "gsm8k",
19
+ "humaneval",
20
+ "mbpp",
21
+ "mt_bench",
22
+ "ultrachat"
23
+ ],
24
+ "num_prompts": 0,
25
+ "ultrachat_num_prompts": 5000,
26
+ "warmup": 8,
27
+ "concurrency": 1,
28
+ "max_num_seqs": 1,
29
+ "max_num_batched_tokens": 4096,
30
+ "max_model_len": 2048,
31
+ "max_tokens": 128,
32
+ "gpu_memory_utilization": 0.85,
33
+ "host": "127.0.0.1",
34
+ "port": 8011,
35
+ "temperature": 0.0,
36
+ "top_p": 1.0,
37
+ "seed": 0,
38
+ "timeout_s": 180.0,
39
+ "server_timeout_s": 600.0,
40
+ "enforce_eager": false,
41
+ "include_baseline": true
42
+ },
43
+ "runs": [
44
+ {
45
+ "name": "baseline",
46
+ "checkpoint": null,
47
+ "num_speculative_tokens": null
48
+ },
49
+ {
50
+ "name": "dflash_k3",
51
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dflash_t5gemma2_mixture_200k/checkpoints/5",
52
+ "num_speculative_tokens": 3
53
+ },
54
+ {
55
+ "name": "dflash_k7",
56
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dflash_t5gemma2_mixture_200k/checkpoints/5",
57
+ "num_speculative_tokens": 7
58
+ },
59
+ {
60
+ "name": "dflare_k3",
61
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dflare_t5gemma2_mixture_200k/checkpoints/5",
62
+ "num_speculative_tokens": 3
63
+ },
64
+ {
65
+ "name": "dflare_k7",
66
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dflare_t5gemma2_mixture_200k/checkpoints/5",
67
+ "num_speculative_tokens": 7
68
+ },
69
+ {
70
+ "name": "dspark_k3",
71
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_t5gemma2_mixture_200k/checkpoints/5",
72
+ "num_speculative_tokens": 3
73
+ },
74
+ {
75
+ "name": "dspark_k7",
76
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_t5gemma2_mixture_200k/checkpoints/5",
77
+ "num_speculative_tokens": 7
78
+ }
79
+ ],
80
+ "prompt_sets": {
81
+ "math500": {
82
+ "count": 500,
83
+ "sha256": "78a67699bc700588d0e23da6457ea3afc00d5635897d456a6245f1e964449c4a"
84
+ },
85
+ "gsm8k": {
86
+ "count": 1319,
87
+ "sha256": "d591bbef95c9d5b17f6f26999bde24def2f6fbf25d7e20953b9ac89c65ffbb8e"
88
+ },
89
+ "humaneval": {
90
+ "count": 164,
91
+ "sha256": "de1066c5b81dc0f99eab434315cee2c3c68c5a522b8c25d53c73f9c9042b44c8"
92
+ },
93
+ "mbpp": {
94
+ "count": 500,
95
+ "sha256": "c596be7f77834627fd0a05755691e30dbf4f6724425842de6d03348614e5fecd"
96
+ },
97
+ "mt_bench": {
98
+ "count": 160,
99
+ "sha256": "8761bfece58bd26e5b93c33e9aad480728ea9950a7d257aaff267db5c7b98010"
100
+ },
101
+ "ultrachat": {
102
+ "count": 5000,
103
+ "sha256": "5dac9e9dc0d63372c701dbebbb18f3f22a568e9b62cc0ff1b4fb88fc41bf5bf7"
104
+ }
105
+ },
106
+ "benchmark_fingerprint": "436353e1f7cd491994a7f381976fb001a63b77a4fea4411f0b645d604defc27e",
107
+ "output_dir": "/mnt/d/Projects/dflash_t5/benchmark-results/t5gemma2_speculators_suite_bs1_fixed"
108
+ }
benchmarks/large/bs4/comparison.csv ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset,run,method,num_speculative_tokens,requests,output_tokens,request_throughput_rps,output_throughput_tps,speedup_vs_baseline,latency_mean_ms,latency_p50_ms,latency_p95_ms,latency_p99_ms,ttft_mean_ms,ttft_p50_ms,ttft_p95_ms,ttft_p99_ms,itl_mean_ms,itl_p50_ms,itl_p95_ms,itl_p99_ms,tpot_mean_ms,tpot_p50_ms,tpot_p95_ms,acceptance_rate,acceptance_pos_1,acceptance_pos_2,acceptance_pos_3,mean_acceptance_length
2
+ math500,baseline,baseline,,500,63527,2.0994279500650657,266.7407187675668,1.0,1901.9527513722423,1894.7456854948541,2310.2332794354875,2623.0439431988634,211.01336648262804,200.41962849791162,379.0829671488606,495.6532387045445,13.40169340837536,13.301524035513445,16.309320616836498,19.31773654766166,13.403480814341385,13.303263444846724,16.311841278199893,,,,,
3
+ math500,dflash_k3,dflash,3,500,63537,1.4572988369276767,185.18479240374757,0.694250181447229,2740.524441106001,2728.2846120000104,3396.0575988000182,3908.6018861800358,232.72850664999817,208.99405350002098,422.7843856499816,635.657571979995,19.894394063291394,19.884664330708496,24.709495220472647,27.384374742046813,19.89611259958302,19.88607477952736,24.71110046456739,0.06285151149944762,0.16639047905995782,0.019716028924374813,0.002448026514010244,1.1885545344983428
4
+ math500,dflash_k7,dflash,7,500,63468,1.484521663636696,188.43924189538765,0.7064509789358043,2690.2326844700183,2693.1952875002025,3411.2693664001654,3642.2530803891277,223.1485508320311,201.97454650042346,410.6845789998714,603.7728062999304,19.605501851902595,19.610514098427146,24.830368157877164,27.14365097669306,19.607220136180974,19.612673795280877,24.8317818901585,0.02742245654217219,0.1686266354080012,0.020192089540951374,0.0026090902215836044,1.1919571957952053
5
+ math500,dflare_k3,dflare,3,500,63495,1.7148645616582274,217.7706506849783,0.8164132258889946,2328.9442384679533,2273.6253690000012,3331.7489405495494,3864.866585709678,279.50968451999506,263.16054300059477,506.23001639960404,776.1183005902055,16.27184360810761,15.999782673234437,23.205805455507797,27.393199366532944,16.273605324281704,16.000888346459,23.207303030310158,0.3935291759720552,0.6488919429651263,0.35275725820305787,0.17893832674798144,2.1805875279161655
6
+ math500,dflare_k7,dflare,7,500,63622,1.7760438758773052,225.9909269421318,0.8472307039820806,2249.2024364179815,2185.3041670019593,3338.340588499702,4000.3402635519888,263.0280147520243,252.19799500155204,475.0075314999774,595.4660286509533,15.760428864173193,15.345385657476402,24.247727375981995,29.25197200714273,15.762062569323362,15.347322909449966,24.248864364582953,0.18693377898042707,0.6466625620223824,0.3548223534098729,0.17529245590525516,2.3085364528629895
7
+ math500,dspark_k3,dspark,3,500,63636,2.2498034619335257,286.33698620720367,1.0734656018405375,1774.1428698560267,1733.4975750000012,2512.932257099783,2941.1046552174953,237.00501048202568,212.508828000864,434.44543489968055,581.4404782277412,12.18272455456093,11.912186838580821,17.877204798435372,22.473681951484796,12.18441765344298,11.913581936995776,17.87863581495454,0.4499175952574226,0.6567411999114456,0.42247804590067156,0.27053353996015056,2.3497527857722678
8
+ math500,dspark_k7,dspark,7,500,63621,2.316449613127783,294.7496816736054,1.1050044516467135,1725.2525323180525,1675.7616530012456,2646.2700289983313,3227.1719797111646,247.76108907210437,221.10979600074643,461.0275230510521,670.7492681724033,11.723149998862587,11.28927224801989,18.88152986101506,22.771947493768472,11.72477114787681,11.290766421259073,18.882649400401576,0.22890383017299992,0.6397510474718301,0.3964121547410812,0.24219989423585406,2.6023268112109994
9
+ gsm8k,baseline,baseline,,1319,168502,2.196360834095345,280.5846802628763,1.0,1819.2423071760666,1798.3721370110288,2167.7596873778384,2310.5863884446435,217.04894016683772,191.49014502181672,398.45379750477116,646.2297889695037,12.638841870584082,12.576321425240883,15.217476899920795,16.315808897562086,12.640636354922657,12.58000173247566,15.218959284321164,,,,,
10
+ gsm8k,dflash_k3,dflash,3,1319,168356,1.4790952868779552,188.79042162064067,0.6728465055318247,2702.3829456360854,2683.6698380000144,3317.1016436999594,3597.6961572799746,235.6068064935536,221.15605599992705,424.62412700004944,526.131548720104,19.477842147847973,19.355762133858388,24.183653737845873,26.07432056251997,19.479491279517458,19.357246826771867,24.18510518785972,0.0680806946304376,0.18367244085417656,0.018568116693305686,0.002001526343830547,1.2042420838913128
11
+ gsm8k,dflash_k7,dflash,7,1319,168367,1.4764153266187332,188.46066663898122,0.6716712632436481,2705.295749132689,2679.983797999739,3477.261450399509,4079.732661799678,301.1807209363258,224.2310860001453,834.4522548001792,1980.7203211395963,18.978770912763007,19.034192118114312,23.592571637004227,25.352459187087952,18.980617877378993,19.03604929134238,23.594471511024295,0.027380290750817878,0.17135507958901572,0.018069627919570206,0.001987944081056817,1.1916620352557252
12
+ gsm8k,dflare_k3,dflare,3,1319,168415,1.574435488473932,201.0299869532504,0.7164681505950642,2536.437202144023,2473.5267859996384,3534.031745998982,4064.8575092010615,258.1910506959681,238.57910900005663,484.66444300011057,598.7782853190582,17.977036765777857,17.445515787392107,25.81660302204809,30.753264190233132,17.978638165785107,17.446966267718064,25.818113115744246,0.2794753137068277,0.536425000273502,0.21512575623311125,0.08687518461386984,1.838425941120483
13
+ gsm8k,dflare_k7,dflare,7,1319,168400,1.2094482721851378,154.41325931461503,0.5503267647041427,3304.2710242100056,3064.5563209982356,5885.097530001435,7240.322633720641,1205.8129131272765,677.296675999969,4089.5798977991944,5644.379561060411,16.556715234828605,16.74034803936521,27.050037795280637,35.51621275700378,16.558478447758667,16.743846314973666,27.058657145679476,0.12825457741085033,0.5421524916756024,0.21891754613691516,0.09374118178226762,1.8977820418759523
14
+ gsm8k,dspark_k3,dspark,3,1319,168413,2.0975172075679485,267.81589497963677,0.954492222200882,1904.8592331402729,1849.926056998811,2717.593596396909,3128.5920352824137,232.41419941998183,211.30282399826683,436.5587686021171,608.768046818439,13.20091798661006,12.809261669308327,19.22371915434054,22.673929599071368,13.202611622505504,12.810728181104036,19.225053650402195,0.31145141140312554,0.5333057414177645,0.2575245453082247,0.14352394748338737,1.9343542342093767
15
+ gsm8k,dspark_k7,dspark,7,1319,168420,2.0069879067415446,256.2675536417065,0.9133340900922055,1991.4858750174596,1940.2353619989299,2946.936268898934,3409.506298801133,240.2313964965955,217.0051639986923,457.4054478005564,621.9962791216665,13.815387803215751,13.491749685057384,21.069445844088154,24.68408968393126,13.817049546266604,13.493896850398981,21.07079229370886,0.1463064478504878,0.5319253673998655,0.2490394774757468,0.13306838920372682,2.0241451349534145
16
+ humaneval,baseline,baseline,,164,11229,2.83651766504482,194.21498085846514,1.0,1403.542471638946,1171.1717744910857,2734.2781511018984,3048.235554893327,218.20821551103487,209.54365949728526,420.2904565172503,467.85162955609854,17.843567054063506,17.024532066210227,29.900638077389125,38.85421750062092,17.849692097307134,17.028038263717008,29.90535920137036,,,,,
17
+ humaneval,dflash_k3,dflash,3,164,11292,2.1388107405014773,147.26494440087,0.7582573895686753,1856.8446467317099,1529.8299214999815,3609.9989535499276,4076.3032318901037,250.89464046951855,233.70097149984304,497.8459723500346,638.7824368799534,24.549073372278432,22.60172811232828,42.012251182637584,51.31418752062339,24.555336995750512,22.603792561644838,42.01500447592228,0.059506172839506176,0.16412698412698412,0.013544973544973546,0.0008465608465608466,1.1785185185185185
18
+ humaneval,dflash_k7,dflash,7,164,11052,2.1057562192267367,141.90742521276766,0.7306718801274306,1877.2794746829145,1504.3869174996871,3978.088593899155,4819.554965540591,343.89938129273037,254.9212224994335,982.0552947493524,1265.2674350103007,22.96417710011784,22.33989236389506,33.208631611878445,43.04405845282055,22.970011297649936,22.34099295422598,33.23066878742338,0.02684898226160627,0.17398888040989863,0.013081870707511174,0.0008721247138340783,1.1879428758312438
19
+ humaneval,dflare_k3,dflare,3,164,11277,2.8294040460667382,194.55603309447932,1.0017560552461333,1401.6537050121503,1262.2241380004198,2758.0062766009178,3165.725670439934,307.73021359141796,282.3090209994916,627.4767150008302,760.1846476996616,17.775962665717213,16.24701220755945,33.04292447846012,49.24142361158533,17.781789938797445,16.250892179999738,33.04544840657803,0.5873682476943346,0.7734683794466403,0.5642292490118577,0.4244071146245059,2.762104743083004
20
+ humaneval,dflare_k7,dflare,7,164,11047,3.0665775841960174,206.5639181256915,1.0635838554402026,1296.2304299939337,1225.3228209992812,2684.5432901496665,3137.9315633195806,395.1852547253976,324.23020049827755,956.4745560996016,1385.3407927481385,16.226717747252554,13.57385855245207,32.95489575833981,75.28418661784087,16.23359719581637,13.576510465236616,32.96468897523092,0.33047302832995556,0.7790522185330516,0.5644431029278599,0.4044672502263809,3.3133111983096892
21
+ humaneval,dspark_k3,dspark,3,164,11346,3.393797033660498,234.79281185312203,1.2089325489480554,1172.9745371464626,1033.1892974991206,2107.933460299682,3156.528969858848,265.29695418294733,228.4132034983486,502.8849432006609,699.91048091968,14.77773082701616,13.023184389006781,29.633302174848463,45.321116141877226,14.783925134182368,13.039449575903792,29.64001845995613,0.5991372158619546,0.7653061224489796,0.587356893977103,0.44474863115978097,2.7974116475858635
22
+ humaneval,dspark_k7,dspark,7,164,11058,3.1234019762512726,210.6010917889425,1.08437099372071,1276.6294960669388,1098.64930799813,2616.217871799927,3188.0119062716053,564.2550010548891,336.2399385005119,1681.4955957521306,2938.6766085621284,12.486812538079404,11.807729195672675,25.278697270681064,43.8447163140126,12.494207252966246,11.83652314342243,25.281766504248417,0.35094729280775794,0.740100565681961,0.5502828409805154,0.39849151477058453,3.4566310496543053
23
+ mbpp,baseline,baseline,,500,61587,2.23460184339787,275.2448474586892,1.0,1788.0222868800047,1819.359868997708,2216.346881000209,2362.3936853421037,221.07102080830373,204.21197451651096,398.6740397042012,655.3067808030755,13.201886877023522,12.736825452678412,15.664009772456069,17.321856500478695,13.205948736768402,12.738972996026057,15.67098670536386,,,,,
24
+ mbpp,dflash_k3,dflash,3,500,61808,1.5365610042290248,189.94352509877513,0.690089303587357,2595.6573488480017,2617.603001500015,3320.9663893999277,3516.577585000016,234.1106791739985,218.79009800011318,439.53066730014143,544.9614302001191,19.14316073130201,18.9773965472434,23.96081993622043,25.695518167638486,19.146981896371145,18.978798267717032,23.96214876692921,0.06462320419065401,0.1824529329391629,0.01106659405632488,0.0003500855764742493,1.1938696125719621
25
+ mbpp,dflash_k7,dflash,7,500,61377,1.387242813763742,170.2896043607544,0.6186840768611036,2875.578809605966,2855.830152499948,4074.322934499559,4764.013334749542,634.0442261159515,392.3641729988958,1885.916530999566,2897.4566687989864,18.201249949891572,18.463196299214943,24.69457239645406,30.63269140497326,18.205769807911185,18.464951303145412,24.695845573618083,0.028501713363674443,0.1877840964993408,0.011255632735787795,0.0004525866309844743,1.199511993545721
26
+ mbpp,dflare_k3,dflare,3,500,61640,1.9801835796759275,244.11703170244834,0.8869086340992713,2016.50626224402,2021.2945930006754,2791.478140551044,3086.5239088800263,280.0661946479813,256.2331505005204,557.8820319009537,769.5084362501256,14.264965995399256,14.109097578741029,19.439541319448956,23.81797452189929,14.269046870264877,14.11056187795813,19.634308889327635,0.47048386886358,0.6888967163711792,0.44499236820476695,0.2775625220147939,2.41145160659074
27
+ mbpp,dflare_k7,dflare,7,500,61475,1.503343533132173,184.83608739860065,0.6715333242572042,2657.845550606042,2483.5515449995,4488.94517174831,5523.38156365822,1190.47147037393,932.4905619996571,3259.4635773521077,4279.743841777054,12.451201825429687,12.228331582672416,22.859363721256052,36.967242600596585,12.456394792296264,12.230752885830222,22.860772319684717,0.24657171832973235,0.6712818025486132,0.42739979716918736,0.2544644825609595,2.7260020283081268
28
+ mbpp,dspark_k3,dspark,3,500,61981,2.507209609073491,310.7987175599681,1.1291717916958104,1592.6791832899762,1603.4026140005153,2178.7681314988727,2552.1267430388243,240.7260946480019,224.12168300070334,455.65863744814123,601.2736888401558,11.346454396871485,10.845360450802424,15.682580235835754,23.395322236705972,11.350096012527779,10.847383575174785,15.684506253152122,0.5228963898667771,0.7125284738041002,0.5082211638020294,0.3479395319942017,2.568689169600331
29
+ mbpp,dspark_k7,dspark,7,500,61632,2.2269171937357544,274.498720968644,0.997289226312739,1794.3305799321024,1694.5109794996824,3171.435100350026,4215.3635372184735,643.143013108056,362.4557425009698,2119.0080873015154,3187.935962892621,10.101565495090881,9.322213830710384,14.88066484486098,19.67402437656759,10.105878412845934,9.323771708668072,14.882234868113521,0.28831800034716193,0.6831591737545565,0.47018226002430136,0.3054678007290401,3.0182260024301337
30
+ mt_bench,baseline,baseline,,160,20102,2.461309935234548,309.2328269880305,1.0,1607.6186366983165,1548.2021450006869,2284.110534451611,2534.602298826794,320.49049263077904,293.138627501321,629.1677434302974,759.140422597702,11.007379475699068,9.985256696983395,15.183904158686165,26.580996584276846,11.014195983013959,9.988513000022554,15.18576166809785,,,,,
31
+ mt_bench,dflash_k3,dflash,3,160,20228,1.5473009629136512,195.61752423635835,0.632589774318915,2573.229441274998,2591.1725164999098,3166.3267970500783,3608.086452589978,221.35167090626453,203.15486550020978,448.1615023500803,696.169536259867,18.676105907776027,18.64073133858227,23.103904855904904,25.284028265118394,18.68020851087627,18.641842641731216,23.105400170866087,0.060748671490479834,0.16453909053473734,0.01705982704864992,0.0006470968880522384,1.1822460144714395
32
+ mt_bench,dflash_k7,dflash,7,160,20102,1.4356652700068615,180.37339536048705,0.5832931681844656,2753.9001531249596,2798.7496705000012,3791.8684454991308,4289.662929459572,381.8320665374472,295.44119050024165,1026.5876399000251,1367.1522384703346,21.709309200685574,18.78574032282878,25.575840727953157,59.525236419324514,21.713930513288513,18.787575688973476,25.57992160196576,0.024768061794215188,0.15474581251836614,0.016044666470761092,0.0012342051131354686,1.1733764325595064
33
+ mt_bench,dflare_k3,dflare,3,160,20228,1.7821635622658862,225.31002835946467,0.7286096710818666,2231.2470228500047,2197.780867999427,3333.7097092000463,3700.461037129698,248.96705823127832,215.34929249992274,520.0022110006103,662.6540237599145,15.77862160127276,15.232473944878599,23.602753981101593,27.57565280062838,15.782222927801888,15.23403437795065,23.60411872952008,0.3229694606887589,0.5750487329434698,0.27573099415204677,0.11812865497076024,1.9689083820662767
34
+ mt_bench,dflare_k7,dflare,7,160,20102,1.0658824478410331,133.9148060406278,0.4330549487419434,3752.528322143644,3464.8722160018224,6717.973978601185,7876.092720710149,1934.0097326686418,1588.4214640009304,4820.7839886515985,6494.002312830161,14.317043586959333,13.67209011023508,29.82729992639314,39.377268431499964,14.323458562974045,13.673784755900577,29.829240646451908,0.14578666207134242,0.5689585846401287,0.26940088459991957,0.11540008041817451,2.020506634499397
35
+ mt_bench,dspark_k3,dspark,3,160,20228,2.2379435718508462,282.9320160712432,0.9149481923605564,1771.671463362577,1775.1809370001865,2604.8437047013063,3118.5169013906484,252.11589151258522,227.79171349975513,503.8048422973585,627.0037127103565,12.360936149822532,11.83748445670406,19.148658472828007,25.009972698654565,12.364664553850584,11.838727370086703,19.150851622824714,0.36540854417254254,0.5802571547075902,0.3253836582330983,0.19058481957693904,2.0962256325176276
36
+ mt_bench,dspark_k7,dspark,7,160,20102,1.784863821370322,224.24582835741384,0.7251682511898833,2225.1736813125035,2117.7182369992806,3657.939555099983,4345.6770745698295,838.8437911749861,589.9439045006147,2441.8948530525054,2773.190703780456,11.426459321042842,10.71108703149011,22.870212017662954,25.594833969671022,11.431539335517765,10.713255098423582,23.0010987298119,0.17215237263282687,0.5529591613889495,0.2997379340467351,0.16739462764795807,2.205066608429788
37
+ ultrachat,baseline,baseline,,5000,635569,1.2230023684575178,155.4604784636352,1.0,3269.5651201336645,3276.8055605120026,3934.875892131822,4087.044628756121,231.24218063543086,218.61417350010015,386.9901933081565,553.9115706225857,24.08620830909222,24.040817992012823,28.90904858166638,29.91989293644905,24.087996070253364,24.042644452736308,28.910471471294663,,,,,
38
+ ultrachat,dflash_k3,dflash,3,5000,636175,1.0622074332559788,135.14996277032446,0.8693525461002507,3763.952480385199,3769.2712649998157,4515.89870830021,4805.0974385998825,257.6036252754003,246.59032999988995,405.558623099887,540.4809878199559,27.764084011389272,27.68626928346698,33.282436218505644,35.5445708588995,27.765764208304795,27.687906570868,33.28350510590754,0.07093823412968715,0.1840484911746139,0.02574222849873457,0.0030239827157130055,1.2128147023890614
39
+ ultrachat,dflash_k7,dflash,7,5000,636064,1.0536069317356047,134.03228788549515,0.8621630990081349,3794.9240800698,3797.6578120005797,4543.265116648946,4838.748624158453,255.93729505000047,246.4688734989977,399.62789619985415,533.8578004602641,28.02829548006744,27.958994283470407,33.55774176338532,35.83546665536011,28.030316558857468,27.961111295281434,33.55949413779617,0.030697806232490035,0.1853871675887231,0.025839366107025186,0.0030756573256390638,1.2148846436274303
40
+ ultrachat,dflare_k3,dflare,3,5000,636228,1.267241365085764,161.25088784515708,1.0372468259376697,3155.8181194270032,3158.2490724995296,4013.4220384479713,4389.7799070399205,282.9019767206311,270.00340999984473,456.05508385024234,595.7626636705755,22.751411578135976,22.677721858262814,29.19536946929717,32.0268499520443,22.753117775499057,22.679262984259076,29.196810057103683,0.31057058500760176,0.5710008489248474,0.2600387645252867,0.10067214157267132,1.9317117550228053
41
+ ultrachat,dflare_k7,dflare,7,5000,635796,1.2415631421695674,157.87617590776844,1.0155389811481785,3221.0815614180046,3164.543153499835,4123.292088050039,4616.265497698114,352.63900740198807,287.9059334991325,612.3089999979129,1196.3210188611995,22.7251370702789,22.450031862195097,29.62520190592225,33.215207786221775,22.72683404563422,22.451526275598177,29.626681563398265,0.1436652803641537,0.5763152990672803,0.26589619110489227,0.10326562455582894,2.005656962549076
42
+ ultrachat,dspark_k3,dspark,3,5000,636215,1.5004265390600509,190.91877410961806,1.2280855944636573,2665.1578789277846,2665.9706919999735,3441.952741001842,3755.308294759525,264.3723180442066,253.26144649989146,429.1125219519018,559.1942446103716,19.008812154313944,18.913669216526902,24.80109081614243,27.068464386929747,19.010452079968594,18.915089492132775,24.80313036299977,0.32401200895393567,0.5557804733415505,0.28182543551086175,0.1344301180093948,1.9720360268618071
43
+ ultrachat,dspark_k7,dspark,7,5000,636157,1.4902242443540412,189.60331692310675,1.2196239121151176,2683.3432791144196,2638.018617002672,3469.7974141512536,3857.7436888694515,287.66377756739894,259.45143649914826,433.6856615469515,568.5856753819111,18.969870524426348,18.7173821692899,25.069323533594044,28.087401625863414,18.971464480602076,18.718672405515193,25.071671481768842,0.15400452166690387,0.5521141942543566,0.27944601414362474,0.13266262718646393,2.078031651668327
benchmarks/large/bs4/comparison.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ | Dataset | Run | Req | Output tok/s | Speedup | Latency mean/p95 ms | TTFT mean/p95 ms | ITL mean/p95 ms | TPOT mean/p95 ms | Accept rate | Accept p1/p2/p3 | Accept len |
2
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
3
+ | math500 | baseline | 500 | 266.74 | 1.000x | 1901.95/2310.23 | 211.01/379.08 | 13.40/16.31 | 13.40/16.31 | — | -/-/- | — |
4
+ | math500 | dflash_k3 | 500 | 185.18 | 0.694x | 2740.52/3396.06 | 232.73/422.78 | 19.89/24.71 | 19.90/24.71 | 6.29% | 16.64%/1.97%/0.24% | 1.189 |
5
+ | math500 | dflash_k7 | 500 | 188.44 | 0.706x | 2690.23/3411.27 | 223.15/410.68 | 19.61/24.83 | 19.61/24.83 | 2.74% | 16.86%/2.02%/0.26% | 1.192 |
6
+ | math500 | dflare_k3 | 500 | 217.77 | 0.816x | 2328.94/3331.75 | 279.51/506.23 | 16.27/23.21 | 16.27/23.21 | 39.35% | 64.89%/35.28%/17.89% | 2.181 |
7
+ | math500 | dflare_k7 | 500 | 225.99 | 0.847x | 2249.20/3338.34 | 263.03/475.01 | 15.76/24.25 | 15.76/24.25 | 18.69% | 64.67%/35.48%/17.53% | 2.309 |
8
+ | math500 | dspark_k3 | 500 | 286.34 | 1.073x | 1774.14/2512.93 | 237.01/434.45 | 12.18/17.88 | 12.18/17.88 | 44.99% | 65.67%/42.25%/27.05% | 2.350 |
9
+ | math500 | dspark_k7 | 500 | 294.75 | 1.105x | 1725.25/2646.27 | 247.76/461.03 | 11.72/18.88 | 11.72/18.88 | 22.89% | 63.98%/39.64%/24.22% | 2.602 |
10
+ | gsm8k | baseline | 1319 | 280.58 | 1.000x | 1819.24/2167.76 | 217.05/398.45 | 12.64/15.22 | 12.64/15.22 | — | -/-/- | — |
11
+ | gsm8k | dflash_k3 | 1319 | 188.79 | 0.673x | 2702.38/3317.10 | 235.61/424.62 | 19.48/24.18 | 19.48/24.19 | 6.81% | 18.37%/1.86%/0.20% | 1.204 |
12
+ | gsm8k | dflash_k7 | 1319 | 188.46 | 0.672x | 2705.30/3477.26 | 301.18/834.45 | 18.98/23.59 | 18.98/23.59 | 2.74% | 17.14%/1.81%/0.20% | 1.192 |
13
+ | gsm8k | dflare_k3 | 1319 | 201.03 | 0.716x | 2536.44/3534.03 | 258.19/484.66 | 17.98/25.82 | 17.98/25.82 | 27.95% | 53.64%/21.51%/8.69% | 1.838 |
14
+ | gsm8k | dflare_k7 | 1319 | 154.41 | 0.550x | 3304.27/5885.10 | 1205.81/4089.58 | 16.56/27.05 | 16.56/27.06 | 12.83% | 54.22%/21.89%/9.37% | 1.898 |
15
+ | gsm8k | dspark_k3 | 1319 | 267.82 | 0.954x | 1904.86/2717.59 | 232.41/436.56 | 13.20/19.22 | 13.20/19.23 | 31.15% | 53.33%/25.75%/14.35% | 1.934 |
16
+ | gsm8k | dspark_k7 | 1319 | 256.27 | 0.913x | 1991.49/2946.94 | 240.23/457.41 | 13.82/21.07 | 13.82/21.07 | 14.63% | 53.19%/24.90%/13.31% | 2.024 |
17
+ | humaneval | baseline | 164 | 194.21 | 1.000x | 1403.54/2734.28 | 218.21/420.29 | 17.84/29.90 | 17.85/29.91 | — | -/-/- | — |
18
+ | humaneval | dflash_k3 | 164 | 147.26 | 0.758x | 1856.84/3610.00 | 250.89/497.85 | 24.55/42.01 | 24.56/42.02 | 5.95% | 16.41%/1.35%/0.08% | 1.179 |
19
+ | humaneval | dflash_k7 | 164 | 141.91 | 0.731x | 1877.28/3978.09 | 343.90/982.06 | 22.96/33.21 | 22.97/33.23 | 2.68% | 17.40%/1.31%/0.09% | 1.188 |
20
+ | humaneval | dflare_k3 | 164 | 194.56 | 1.002x | 1401.65/2758.01 | 307.73/627.48 | 17.78/33.04 | 17.78/33.05 | 58.74% | 77.35%/56.42%/42.44% | 2.762 |
21
+ | humaneval | dflare_k7 | 164 | 206.56 | 1.064x | 1296.23/2684.54 | 395.19/956.47 | 16.23/32.95 | 16.23/32.96 | 33.05% | 77.91%/56.44%/40.45% | 3.313 |
22
+ | humaneval | dspark_k3 | 164 | 234.79 | 1.209x | 1172.97/2107.93 | 265.30/502.88 | 14.78/29.63 | 14.78/29.64 | 59.91% | 76.53%/58.74%/44.47% | 2.797 |
23
+ | humaneval | dspark_k7 | 164 | 210.60 | 1.084x | 1276.63/2616.22 | 564.26/1681.50 | 12.49/25.28 | 12.49/25.28 | 35.09% | 74.01%/55.03%/39.85% | 3.457 |
24
+ | mbpp | baseline | 500 | 275.24 | 1.000x | 1788.02/2216.35 | 221.07/398.67 | 13.20/15.66 | 13.21/15.67 | — | -/-/- | — |
25
+ | mbpp | dflash_k3 | 500 | 189.94 | 0.690x | 2595.66/3320.97 | 234.11/439.53 | 19.14/23.96 | 19.15/23.96 | 6.46% | 18.25%/1.11%/0.04% | 1.194 |
26
+ | mbpp | dflash_k7 | 500 | 170.29 | 0.619x | 2875.58/4074.32 | 634.04/1885.92 | 18.20/24.69 | 18.21/24.70 | 2.85% | 18.78%/1.13%/0.05% | 1.200 |
27
+ | mbpp | dflare_k3 | 500 | 244.12 | 0.887x | 2016.51/2791.48 | 280.07/557.88 | 14.26/19.44 | 14.27/19.63 | 47.05% | 68.89%/44.50%/27.76% | 2.411 |
28
+ | mbpp | dflare_k7 | 500 | 184.84 | 0.672x | 2657.85/4488.95 | 1190.47/3259.46 | 12.45/22.86 | 12.46/22.86 | 24.66% | 67.13%/42.74%/25.45% | 2.726 |
29
+ | mbpp | dspark_k3 | 500 | 310.80 | 1.129x | 1592.68/2178.77 | 240.73/455.66 | 11.35/15.68 | 11.35/15.68 | 52.29% | 71.25%/50.82%/34.79% | 2.569 |
30
+ | mbpp | dspark_k7 | 500 | 274.50 | 0.997x | 1794.33/3171.44 | 643.14/2119.01 | 10.10/14.88 | 10.11/14.88 | 28.83% | 68.32%/47.02%/30.55% | 3.018 |
31
+ | mt_bench | baseline | 160 | 309.23 | 1.000x | 1607.62/2284.11 | 320.49/629.17 | 11.01/15.18 | 11.01/15.19 | — | -/-/- | — |
32
+ | mt_bench | dflash_k3 | 160 | 195.62 | 0.633x | 2573.23/3166.33 | 221.35/448.16 | 18.68/23.10 | 18.68/23.11 | 6.07% | 16.45%/1.71%/0.06% | 1.182 |
33
+ | mt_bench | dflash_k7 | 160 | 180.37 | 0.583x | 2753.90/3791.87 | 381.83/1026.59 | 21.71/25.58 | 21.71/25.58 | 2.48% | 15.47%/1.60%/0.12% | 1.173 |
34
+ | mt_bench | dflare_k3 | 160 | 225.31 | 0.729x | 2231.25/3333.71 | 248.97/520.00 | 15.78/23.60 | 15.78/23.60 | 32.30% | 57.50%/27.57%/11.81% | 1.969 |
35
+ | mt_bench | dflare_k7 | 160 | 133.91 | 0.433x | 3752.53/6717.97 | 1934.01/4820.78 | 14.32/29.83 | 14.32/29.83 | 14.58% | 56.90%/26.94%/11.54% | 2.021 |
36
+ | mt_bench | dspark_k3 | 160 | 282.93 | 0.915x | 1771.67/2604.84 | 252.12/503.80 | 12.36/19.15 | 12.36/19.15 | 36.54% | 58.03%/32.54%/19.06% | 2.096 |
37
+ | mt_bench | dspark_k7 | 160 | 224.25 | 0.725x | 2225.17/3657.94 | 838.84/2441.89 | 11.43/22.87 | 11.43/23.00 | 17.22% | 55.30%/29.97%/16.74% | 2.205 |
38
+ | ultrachat | baseline | 5000 | 155.46 | 1.000x | 3269.57/3934.88 | 231.24/386.99 | 24.09/28.91 | 24.09/28.91 | — | -/-/- | — |
39
+ | ultrachat | dflash_k3 | 5000 | 135.15 | 0.869x | 3763.95/4515.90 | 257.60/405.56 | 27.76/33.28 | 27.77/33.28 | 7.09% | 18.40%/2.57%/0.30% | 1.213 |
40
+ | ultrachat | dflash_k7 | 5000 | 134.03 | 0.862x | 3794.92/4543.27 | 255.94/399.63 | 28.03/33.56 | 28.03/33.56 | 3.07% | 18.54%/2.58%/0.31% | 1.215 |
41
+ | ultrachat | dflare_k3 | 5000 | 161.25 | 1.037x | 3155.82/4013.42 | 282.90/456.06 | 22.75/29.20 | 22.75/29.20 | 31.06% | 57.10%/26.00%/10.07% | 1.932 |
42
+ | ultrachat | dflare_k7 | 5000 | 157.88 | 1.016x | 3221.08/4123.29 | 352.64/612.31 | 22.73/29.63 | 22.73/29.63 | 14.37% | 57.63%/26.59%/10.33% | 2.006 |
43
+ | ultrachat | dspark_k3 | 5000 | 190.92 | 1.228x | 2665.16/3441.95 | 264.37/429.11 | 19.01/24.80 | 19.01/24.80 | 32.40% | 55.58%/28.18%/13.44% | 1.972 |
44
+ | ultrachat | dspark_k7 | 5000 | 189.60 | 1.220x | 2683.34/3469.80 | 287.66/433.69 | 18.97/25.07 | 18.97/25.07 | 15.40% | 55.21%/27.94%/13.27% | 2.078 |
benchmarks/large/bs4/results.json ADDED
@@ -0,0 +1,1304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "dataset": "math500",
4
+ "run": "baseline",
5
+ "method": "baseline",
6
+ "num_speculative_tokens": null,
7
+ "requests": 500,
8
+ "output_tokens": 63527,
9
+ "request_throughput_rps": 2.0994279500650657,
10
+ "output_throughput_tps": 266.7407187675668,
11
+ "speedup_vs_baseline": 1.0,
12
+ "latency_mean_ms": 1901.9527513722423,
13
+ "latency_p50_ms": 1894.7456854948541,
14
+ "latency_p95_ms": 2310.2332794354875,
15
+ "latency_p99_ms": 2623.0439431988634,
16
+ "ttft_mean_ms": 211.01336648262804,
17
+ "ttft_p50_ms": 200.41962849791162,
18
+ "ttft_p95_ms": 379.0829671488606,
19
+ "ttft_p99_ms": 495.6532387045445,
20
+ "itl_mean_ms": 13.40169340837536,
21
+ "itl_p50_ms": 13.301524035513445,
22
+ "itl_p95_ms": 16.309320616836498,
23
+ "itl_p99_ms": 19.31773654766166,
24
+ "tpot_mean_ms": 13.403480814341385,
25
+ "tpot_p50_ms": 13.303263444846724,
26
+ "tpot_p95_ms": 16.311841278199893,
27
+ "acceptance_rate": null,
28
+ "acceptance_pos_1": null,
29
+ "acceptance_pos_2": null,
30
+ "acceptance_pos_3": null,
31
+ "mean_acceptance_length": null
32
+ },
33
+ {
34
+ "dataset": "math500",
35
+ "run": "dflash_k3",
36
+ "method": "dflash",
37
+ "num_speculative_tokens": 3,
38
+ "requests": 500,
39
+ "output_tokens": 63537,
40
+ "request_throughput_rps": 1.4572988369276767,
41
+ "output_throughput_tps": 185.18479240374757,
42
+ "speedup_vs_baseline": 0.694250181447229,
43
+ "latency_mean_ms": 2740.524441106001,
44
+ "latency_p50_ms": 2728.2846120000104,
45
+ "latency_p95_ms": 3396.0575988000182,
46
+ "latency_p99_ms": 3908.6018861800358,
47
+ "ttft_mean_ms": 232.72850664999817,
48
+ "ttft_p50_ms": 208.99405350002098,
49
+ "ttft_p95_ms": 422.7843856499816,
50
+ "ttft_p99_ms": 635.657571979995,
51
+ "itl_mean_ms": 19.894394063291394,
52
+ "itl_p50_ms": 19.884664330708496,
53
+ "itl_p95_ms": 24.709495220472647,
54
+ "itl_p99_ms": 27.384374742046813,
55
+ "tpot_mean_ms": 19.89611259958302,
56
+ "tpot_p50_ms": 19.88607477952736,
57
+ "tpot_p95_ms": 24.71110046456739,
58
+ "acceptance_rate": 0.06285151149944762,
59
+ "acceptance_pos_1": 0.16639047905995782,
60
+ "acceptance_pos_2": 0.019716028924374813,
61
+ "acceptance_pos_3": 0.002448026514010244,
62
+ "mean_acceptance_length": 1.1885545344983428
63
+ },
64
+ {
65
+ "dataset": "math500",
66
+ "run": "dflash_k7",
67
+ "method": "dflash",
68
+ "num_speculative_tokens": 7,
69
+ "requests": 500,
70
+ "output_tokens": 63468,
71
+ "request_throughput_rps": 1.484521663636696,
72
+ "output_throughput_tps": 188.43924189538765,
73
+ "speedup_vs_baseline": 0.7064509789358043,
74
+ "latency_mean_ms": 2690.2326844700183,
75
+ "latency_p50_ms": 2693.1952875002025,
76
+ "latency_p95_ms": 3411.2693664001654,
77
+ "latency_p99_ms": 3642.2530803891277,
78
+ "ttft_mean_ms": 223.1485508320311,
79
+ "ttft_p50_ms": 201.97454650042346,
80
+ "ttft_p95_ms": 410.6845789998714,
81
+ "ttft_p99_ms": 603.7728062999304,
82
+ "itl_mean_ms": 19.605501851902595,
83
+ "itl_p50_ms": 19.610514098427146,
84
+ "itl_p95_ms": 24.830368157877164,
85
+ "itl_p99_ms": 27.14365097669306,
86
+ "tpot_mean_ms": 19.607220136180974,
87
+ "tpot_p50_ms": 19.612673795280877,
88
+ "tpot_p95_ms": 24.8317818901585,
89
+ "acceptance_rate": 0.02742245654217219,
90
+ "acceptance_pos_1": 0.1686266354080012,
91
+ "acceptance_pos_2": 0.020192089540951374,
92
+ "acceptance_pos_3": 0.0026090902215836044,
93
+ "mean_acceptance_length": 1.1919571957952053
94
+ },
95
+ {
96
+ "dataset": "math500",
97
+ "run": "dflare_k3",
98
+ "method": "dflare",
99
+ "num_speculative_tokens": 3,
100
+ "requests": 500,
101
+ "output_tokens": 63495,
102
+ "request_throughput_rps": 1.7148645616582274,
103
+ "output_throughput_tps": 217.7706506849783,
104
+ "speedup_vs_baseline": 0.8164132258889946,
105
+ "latency_mean_ms": 2328.9442384679533,
106
+ "latency_p50_ms": 2273.6253690000012,
107
+ "latency_p95_ms": 3331.7489405495494,
108
+ "latency_p99_ms": 3864.866585709678,
109
+ "ttft_mean_ms": 279.50968451999506,
110
+ "ttft_p50_ms": 263.16054300059477,
111
+ "ttft_p95_ms": 506.23001639960404,
112
+ "ttft_p99_ms": 776.1183005902055,
113
+ "itl_mean_ms": 16.27184360810761,
114
+ "itl_p50_ms": 15.999782673234437,
115
+ "itl_p95_ms": 23.205805455507797,
116
+ "itl_p99_ms": 27.393199366532944,
117
+ "tpot_mean_ms": 16.273605324281704,
118
+ "tpot_p50_ms": 16.000888346459,
119
+ "tpot_p95_ms": 23.207303030310158,
120
+ "acceptance_rate": 0.3935291759720552,
121
+ "acceptance_pos_1": 0.6488919429651263,
122
+ "acceptance_pos_2": 0.35275725820305787,
123
+ "acceptance_pos_3": 0.17893832674798144,
124
+ "mean_acceptance_length": 2.1805875279161655
125
+ },
126
+ {
127
+ "dataset": "math500",
128
+ "run": "dflare_k7",
129
+ "method": "dflare",
130
+ "num_speculative_tokens": 7,
131
+ "requests": 500,
132
+ "output_tokens": 63622,
133
+ "request_throughput_rps": 1.7760438758773052,
134
+ "output_throughput_tps": 225.9909269421318,
135
+ "speedup_vs_baseline": 0.8472307039820806,
136
+ "latency_mean_ms": 2249.2024364179815,
137
+ "latency_p50_ms": 2185.3041670019593,
138
+ "latency_p95_ms": 3338.340588499702,
139
+ "latency_p99_ms": 4000.3402635519888,
140
+ "ttft_mean_ms": 263.0280147520243,
141
+ "ttft_p50_ms": 252.19799500155204,
142
+ "ttft_p95_ms": 475.0075314999774,
143
+ "ttft_p99_ms": 595.4660286509533,
144
+ "itl_mean_ms": 15.760428864173193,
145
+ "itl_p50_ms": 15.345385657476402,
146
+ "itl_p95_ms": 24.247727375981995,
147
+ "itl_p99_ms": 29.25197200714273,
148
+ "tpot_mean_ms": 15.762062569323362,
149
+ "tpot_p50_ms": 15.347322909449966,
150
+ "tpot_p95_ms": 24.248864364582953,
151
+ "acceptance_rate": 0.18693377898042707,
152
+ "acceptance_pos_1": 0.6466625620223824,
153
+ "acceptance_pos_2": 0.3548223534098729,
154
+ "acceptance_pos_3": 0.17529245590525516,
155
+ "mean_acceptance_length": 2.3085364528629895
156
+ },
157
+ {
158
+ "dataset": "math500",
159
+ "run": "dspark_k3",
160
+ "method": "dspark",
161
+ "num_speculative_tokens": 3,
162
+ "requests": 500,
163
+ "output_tokens": 63636,
164
+ "request_throughput_rps": 2.2498034619335257,
165
+ "output_throughput_tps": 286.33698620720367,
166
+ "speedup_vs_baseline": 1.0734656018405375,
167
+ "latency_mean_ms": 1774.1428698560267,
168
+ "latency_p50_ms": 1733.4975750000012,
169
+ "latency_p95_ms": 2512.932257099783,
170
+ "latency_p99_ms": 2941.1046552174953,
171
+ "ttft_mean_ms": 237.00501048202568,
172
+ "ttft_p50_ms": 212.508828000864,
173
+ "ttft_p95_ms": 434.44543489968055,
174
+ "ttft_p99_ms": 581.4404782277412,
175
+ "itl_mean_ms": 12.18272455456093,
176
+ "itl_p50_ms": 11.912186838580821,
177
+ "itl_p95_ms": 17.877204798435372,
178
+ "itl_p99_ms": 22.473681951484796,
179
+ "tpot_mean_ms": 12.18441765344298,
180
+ "tpot_p50_ms": 11.913581936995776,
181
+ "tpot_p95_ms": 17.87863581495454,
182
+ "acceptance_rate": 0.4499175952574226,
183
+ "acceptance_pos_1": 0.6567411999114456,
184
+ "acceptance_pos_2": 0.42247804590067156,
185
+ "acceptance_pos_3": 0.27053353996015056,
186
+ "mean_acceptance_length": 2.3497527857722678
187
+ },
188
+ {
189
+ "dataset": "math500",
190
+ "run": "dspark_k7",
191
+ "method": "dspark",
192
+ "num_speculative_tokens": 7,
193
+ "requests": 500,
194
+ "output_tokens": 63621,
195
+ "request_throughput_rps": 2.316449613127783,
196
+ "output_throughput_tps": 294.7496816736054,
197
+ "speedup_vs_baseline": 1.1050044516467135,
198
+ "latency_mean_ms": 1725.2525323180525,
199
+ "latency_p50_ms": 1675.7616530012456,
200
+ "latency_p95_ms": 2646.2700289983313,
201
+ "latency_p99_ms": 3227.1719797111646,
202
+ "ttft_mean_ms": 247.76108907210437,
203
+ "ttft_p50_ms": 221.10979600074643,
204
+ "ttft_p95_ms": 461.0275230510521,
205
+ "ttft_p99_ms": 670.7492681724033,
206
+ "itl_mean_ms": 11.723149998862587,
207
+ "itl_p50_ms": 11.28927224801989,
208
+ "itl_p95_ms": 18.88152986101506,
209
+ "itl_p99_ms": 22.771947493768472,
210
+ "tpot_mean_ms": 11.72477114787681,
211
+ "tpot_p50_ms": 11.290766421259073,
212
+ "tpot_p95_ms": 18.882649400401576,
213
+ "acceptance_rate": 0.22890383017299992,
214
+ "acceptance_pos_1": 0.6397510474718301,
215
+ "acceptance_pos_2": 0.3964121547410812,
216
+ "acceptance_pos_3": 0.24219989423585406,
217
+ "mean_acceptance_length": 2.6023268112109994
218
+ },
219
+ {
220
+ "dataset": "gsm8k",
221
+ "run": "baseline",
222
+ "method": "baseline",
223
+ "num_speculative_tokens": null,
224
+ "requests": 1319,
225
+ "output_tokens": 168502,
226
+ "request_throughput_rps": 2.196360834095345,
227
+ "output_throughput_tps": 280.5846802628763,
228
+ "speedup_vs_baseline": 1.0,
229
+ "latency_mean_ms": 1819.2423071760666,
230
+ "latency_p50_ms": 1798.3721370110288,
231
+ "latency_p95_ms": 2167.7596873778384,
232
+ "latency_p99_ms": 2310.5863884446435,
233
+ "ttft_mean_ms": 217.04894016683772,
234
+ "ttft_p50_ms": 191.49014502181672,
235
+ "ttft_p95_ms": 398.45379750477116,
236
+ "ttft_p99_ms": 646.2297889695037,
237
+ "itl_mean_ms": 12.638841870584082,
238
+ "itl_p50_ms": 12.576321425240883,
239
+ "itl_p95_ms": 15.217476899920795,
240
+ "itl_p99_ms": 16.315808897562086,
241
+ "tpot_mean_ms": 12.640636354922657,
242
+ "tpot_p50_ms": 12.58000173247566,
243
+ "tpot_p95_ms": 15.218959284321164,
244
+ "acceptance_rate": null,
245
+ "acceptance_pos_1": null,
246
+ "acceptance_pos_2": null,
247
+ "acceptance_pos_3": null,
248
+ "mean_acceptance_length": null
249
+ },
250
+ {
251
+ "dataset": "gsm8k",
252
+ "run": "dflash_k3",
253
+ "method": "dflash",
254
+ "num_speculative_tokens": 3,
255
+ "requests": 1319,
256
+ "output_tokens": 168356,
257
+ "request_throughput_rps": 1.4790952868779552,
258
+ "output_throughput_tps": 188.79042162064067,
259
+ "speedup_vs_baseline": 0.6728465055318247,
260
+ "latency_mean_ms": 2702.3829456360854,
261
+ "latency_p50_ms": 2683.6698380000144,
262
+ "latency_p95_ms": 3317.1016436999594,
263
+ "latency_p99_ms": 3597.6961572799746,
264
+ "ttft_mean_ms": 235.6068064935536,
265
+ "ttft_p50_ms": 221.15605599992705,
266
+ "ttft_p95_ms": 424.62412700004944,
267
+ "ttft_p99_ms": 526.131548720104,
268
+ "itl_mean_ms": 19.477842147847973,
269
+ "itl_p50_ms": 19.355762133858388,
270
+ "itl_p95_ms": 24.183653737845873,
271
+ "itl_p99_ms": 26.07432056251997,
272
+ "tpot_mean_ms": 19.479491279517458,
273
+ "tpot_p50_ms": 19.357246826771867,
274
+ "tpot_p95_ms": 24.18510518785972,
275
+ "acceptance_rate": 0.0680806946304376,
276
+ "acceptance_pos_1": 0.18367244085417656,
277
+ "acceptance_pos_2": 0.018568116693305686,
278
+ "acceptance_pos_3": 0.002001526343830547,
279
+ "mean_acceptance_length": 1.2042420838913128
280
+ },
281
+ {
282
+ "dataset": "gsm8k",
283
+ "run": "dflash_k7",
284
+ "method": "dflash",
285
+ "num_speculative_tokens": 7,
286
+ "requests": 1319,
287
+ "output_tokens": 168367,
288
+ "request_throughput_rps": 1.4764153266187332,
289
+ "output_throughput_tps": 188.46066663898122,
290
+ "speedup_vs_baseline": 0.6716712632436481,
291
+ "latency_mean_ms": 2705.295749132689,
292
+ "latency_p50_ms": 2679.983797999739,
293
+ "latency_p95_ms": 3477.261450399509,
294
+ "latency_p99_ms": 4079.732661799678,
295
+ "ttft_mean_ms": 301.1807209363258,
296
+ "ttft_p50_ms": 224.2310860001453,
297
+ "ttft_p95_ms": 834.4522548001792,
298
+ "ttft_p99_ms": 1980.7203211395963,
299
+ "itl_mean_ms": 18.978770912763007,
300
+ "itl_p50_ms": 19.034192118114312,
301
+ "itl_p95_ms": 23.592571637004227,
302
+ "itl_p99_ms": 25.352459187087952,
303
+ "tpot_mean_ms": 18.980617877378993,
304
+ "tpot_p50_ms": 19.03604929134238,
305
+ "tpot_p95_ms": 23.594471511024295,
306
+ "acceptance_rate": 0.027380290750817878,
307
+ "acceptance_pos_1": 0.17135507958901572,
308
+ "acceptance_pos_2": 0.018069627919570206,
309
+ "acceptance_pos_3": 0.001987944081056817,
310
+ "mean_acceptance_length": 1.1916620352557252
311
+ },
312
+ {
313
+ "dataset": "gsm8k",
314
+ "run": "dflare_k3",
315
+ "method": "dflare",
316
+ "num_speculative_tokens": 3,
317
+ "requests": 1319,
318
+ "output_tokens": 168415,
319
+ "request_throughput_rps": 1.574435488473932,
320
+ "output_throughput_tps": 201.0299869532504,
321
+ "speedup_vs_baseline": 0.7164681505950642,
322
+ "latency_mean_ms": 2536.437202144023,
323
+ "latency_p50_ms": 2473.5267859996384,
324
+ "latency_p95_ms": 3534.031745998982,
325
+ "latency_p99_ms": 4064.8575092010615,
326
+ "ttft_mean_ms": 258.1910506959681,
327
+ "ttft_p50_ms": 238.57910900005663,
328
+ "ttft_p95_ms": 484.66444300011057,
329
+ "ttft_p99_ms": 598.7782853190582,
330
+ "itl_mean_ms": 17.977036765777857,
331
+ "itl_p50_ms": 17.445515787392107,
332
+ "itl_p95_ms": 25.81660302204809,
333
+ "itl_p99_ms": 30.753264190233132,
334
+ "tpot_mean_ms": 17.978638165785107,
335
+ "tpot_p50_ms": 17.446966267718064,
336
+ "tpot_p95_ms": 25.818113115744246,
337
+ "acceptance_rate": 0.2794753137068277,
338
+ "acceptance_pos_1": 0.536425000273502,
339
+ "acceptance_pos_2": 0.21512575623311125,
340
+ "acceptance_pos_3": 0.08687518461386984,
341
+ "mean_acceptance_length": 1.838425941120483
342
+ },
343
+ {
344
+ "dataset": "gsm8k",
345
+ "run": "dflare_k7",
346
+ "method": "dflare",
347
+ "num_speculative_tokens": 7,
348
+ "requests": 1319,
349
+ "output_tokens": 168400,
350
+ "request_throughput_rps": 1.2094482721851378,
351
+ "output_throughput_tps": 154.41325931461503,
352
+ "speedup_vs_baseline": 0.5503267647041427,
353
+ "latency_mean_ms": 3304.2710242100056,
354
+ "latency_p50_ms": 3064.5563209982356,
355
+ "latency_p95_ms": 5885.097530001435,
356
+ "latency_p99_ms": 7240.322633720641,
357
+ "ttft_mean_ms": 1205.8129131272765,
358
+ "ttft_p50_ms": 677.296675999969,
359
+ "ttft_p95_ms": 4089.5798977991944,
360
+ "ttft_p99_ms": 5644.379561060411,
361
+ "itl_mean_ms": 16.556715234828605,
362
+ "itl_p50_ms": 16.74034803936521,
363
+ "itl_p95_ms": 27.050037795280637,
364
+ "itl_p99_ms": 35.51621275700378,
365
+ "tpot_mean_ms": 16.558478447758667,
366
+ "tpot_p50_ms": 16.743846314973666,
367
+ "tpot_p95_ms": 27.058657145679476,
368
+ "acceptance_rate": 0.12825457741085033,
369
+ "acceptance_pos_1": 0.5421524916756024,
370
+ "acceptance_pos_2": 0.21891754613691516,
371
+ "acceptance_pos_3": 0.09374118178226762,
372
+ "mean_acceptance_length": 1.8977820418759523
373
+ },
374
+ {
375
+ "dataset": "gsm8k",
376
+ "run": "dspark_k3",
377
+ "method": "dspark",
378
+ "num_speculative_tokens": 3,
379
+ "requests": 1319,
380
+ "output_tokens": 168413,
381
+ "request_throughput_rps": 2.0975172075679485,
382
+ "output_throughput_tps": 267.81589497963677,
383
+ "speedup_vs_baseline": 0.954492222200882,
384
+ "latency_mean_ms": 1904.8592331402729,
385
+ "latency_p50_ms": 1849.926056998811,
386
+ "latency_p95_ms": 2717.593596396909,
387
+ "latency_p99_ms": 3128.5920352824137,
388
+ "ttft_mean_ms": 232.41419941998183,
389
+ "ttft_p50_ms": 211.30282399826683,
390
+ "ttft_p95_ms": 436.5587686021171,
391
+ "ttft_p99_ms": 608.768046818439,
392
+ "itl_mean_ms": 13.20091798661006,
393
+ "itl_p50_ms": 12.809261669308327,
394
+ "itl_p95_ms": 19.22371915434054,
395
+ "itl_p99_ms": 22.673929599071368,
396
+ "tpot_mean_ms": 13.202611622505504,
397
+ "tpot_p50_ms": 12.810728181104036,
398
+ "tpot_p95_ms": 19.225053650402195,
399
+ "acceptance_rate": 0.31145141140312554,
400
+ "acceptance_pos_1": 0.5333057414177645,
401
+ "acceptance_pos_2": 0.2575245453082247,
402
+ "acceptance_pos_3": 0.14352394748338737,
403
+ "mean_acceptance_length": 1.9343542342093767
404
+ },
405
+ {
406
+ "dataset": "gsm8k",
407
+ "run": "dspark_k7",
408
+ "method": "dspark",
409
+ "num_speculative_tokens": 7,
410
+ "requests": 1319,
411
+ "output_tokens": 168420,
412
+ "request_throughput_rps": 2.0069879067415446,
413
+ "output_throughput_tps": 256.2675536417065,
414
+ "speedup_vs_baseline": 0.9133340900922055,
415
+ "latency_mean_ms": 1991.4858750174596,
416
+ "latency_p50_ms": 1940.2353619989299,
417
+ "latency_p95_ms": 2946.936268898934,
418
+ "latency_p99_ms": 3409.506298801133,
419
+ "ttft_mean_ms": 240.2313964965955,
420
+ "ttft_p50_ms": 217.0051639986923,
421
+ "ttft_p95_ms": 457.4054478005564,
422
+ "ttft_p99_ms": 621.9962791216665,
423
+ "itl_mean_ms": 13.815387803215751,
424
+ "itl_p50_ms": 13.491749685057384,
425
+ "itl_p95_ms": 21.069445844088154,
426
+ "itl_p99_ms": 24.68408968393126,
427
+ "tpot_mean_ms": 13.817049546266604,
428
+ "tpot_p50_ms": 13.493896850398981,
429
+ "tpot_p95_ms": 21.07079229370886,
430
+ "acceptance_rate": 0.1463064478504878,
431
+ "acceptance_pos_1": 0.5319253673998655,
432
+ "acceptance_pos_2": 0.2490394774757468,
433
+ "acceptance_pos_3": 0.13306838920372682,
434
+ "mean_acceptance_length": 2.0241451349534145
435
+ },
436
+ {
437
+ "dataset": "humaneval",
438
+ "run": "baseline",
439
+ "method": "baseline",
440
+ "num_speculative_tokens": null,
441
+ "requests": 164,
442
+ "output_tokens": 11229,
443
+ "request_throughput_rps": 2.83651766504482,
444
+ "output_throughput_tps": 194.21498085846514,
445
+ "speedup_vs_baseline": 1.0,
446
+ "latency_mean_ms": 1403.542471638946,
447
+ "latency_p50_ms": 1171.1717744910857,
448
+ "latency_p95_ms": 2734.2781511018984,
449
+ "latency_p99_ms": 3048.235554893327,
450
+ "ttft_mean_ms": 218.20821551103487,
451
+ "ttft_p50_ms": 209.54365949728526,
452
+ "ttft_p95_ms": 420.2904565172503,
453
+ "ttft_p99_ms": 467.85162955609854,
454
+ "itl_mean_ms": 17.843567054063506,
455
+ "itl_p50_ms": 17.024532066210227,
456
+ "itl_p95_ms": 29.900638077389125,
457
+ "itl_p99_ms": 38.85421750062092,
458
+ "tpot_mean_ms": 17.849692097307134,
459
+ "tpot_p50_ms": 17.028038263717008,
460
+ "tpot_p95_ms": 29.90535920137036,
461
+ "acceptance_rate": null,
462
+ "acceptance_pos_1": null,
463
+ "acceptance_pos_2": null,
464
+ "acceptance_pos_3": null,
465
+ "mean_acceptance_length": null
466
+ },
467
+ {
468
+ "dataset": "humaneval",
469
+ "run": "dflash_k3",
470
+ "method": "dflash",
471
+ "num_speculative_tokens": 3,
472
+ "requests": 164,
473
+ "output_tokens": 11292,
474
+ "request_throughput_rps": 2.1388107405014773,
475
+ "output_throughput_tps": 147.26494440087,
476
+ "speedup_vs_baseline": 0.7582573895686753,
477
+ "latency_mean_ms": 1856.8446467317099,
478
+ "latency_p50_ms": 1529.8299214999815,
479
+ "latency_p95_ms": 3609.9989535499276,
480
+ "latency_p99_ms": 4076.3032318901037,
481
+ "ttft_mean_ms": 250.89464046951855,
482
+ "ttft_p50_ms": 233.70097149984304,
483
+ "ttft_p95_ms": 497.8459723500346,
484
+ "ttft_p99_ms": 638.7824368799534,
485
+ "itl_mean_ms": 24.549073372278432,
486
+ "itl_p50_ms": 22.60172811232828,
487
+ "itl_p95_ms": 42.012251182637584,
488
+ "itl_p99_ms": 51.31418752062339,
489
+ "tpot_mean_ms": 24.555336995750512,
490
+ "tpot_p50_ms": 22.603792561644838,
491
+ "tpot_p95_ms": 42.01500447592228,
492
+ "acceptance_rate": 0.059506172839506176,
493
+ "acceptance_pos_1": 0.16412698412698412,
494
+ "acceptance_pos_2": 0.013544973544973546,
495
+ "acceptance_pos_3": 0.0008465608465608466,
496
+ "mean_acceptance_length": 1.1785185185185185
497
+ },
498
+ {
499
+ "dataset": "humaneval",
500
+ "run": "dflash_k7",
501
+ "method": "dflash",
502
+ "num_speculative_tokens": 7,
503
+ "requests": 164,
504
+ "output_tokens": 11052,
505
+ "request_throughput_rps": 2.1057562192267367,
506
+ "output_throughput_tps": 141.90742521276766,
507
+ "speedup_vs_baseline": 0.7306718801274306,
508
+ "latency_mean_ms": 1877.2794746829145,
509
+ "latency_p50_ms": 1504.3869174996871,
510
+ "latency_p95_ms": 3978.088593899155,
511
+ "latency_p99_ms": 4819.554965540591,
512
+ "ttft_mean_ms": 343.89938129273037,
513
+ "ttft_p50_ms": 254.9212224994335,
514
+ "ttft_p95_ms": 982.0552947493524,
515
+ "ttft_p99_ms": 1265.2674350103007,
516
+ "itl_mean_ms": 22.96417710011784,
517
+ "itl_p50_ms": 22.33989236389506,
518
+ "itl_p95_ms": 33.208631611878445,
519
+ "itl_p99_ms": 43.04405845282055,
520
+ "tpot_mean_ms": 22.970011297649936,
521
+ "tpot_p50_ms": 22.34099295422598,
522
+ "tpot_p95_ms": 33.23066878742338,
523
+ "acceptance_rate": 0.02684898226160627,
524
+ "acceptance_pos_1": 0.17398888040989863,
525
+ "acceptance_pos_2": 0.013081870707511174,
526
+ "acceptance_pos_3": 0.0008721247138340783,
527
+ "mean_acceptance_length": 1.1879428758312438
528
+ },
529
+ {
530
+ "dataset": "humaneval",
531
+ "run": "dflare_k3",
532
+ "method": "dflare",
533
+ "num_speculative_tokens": 3,
534
+ "requests": 164,
535
+ "output_tokens": 11277,
536
+ "request_throughput_rps": 2.8294040460667382,
537
+ "output_throughput_tps": 194.55603309447932,
538
+ "speedup_vs_baseline": 1.0017560552461333,
539
+ "latency_mean_ms": 1401.6537050121503,
540
+ "latency_p50_ms": 1262.2241380004198,
541
+ "latency_p95_ms": 2758.0062766009178,
542
+ "latency_p99_ms": 3165.725670439934,
543
+ "ttft_mean_ms": 307.73021359141796,
544
+ "ttft_p50_ms": 282.3090209994916,
545
+ "ttft_p95_ms": 627.4767150008302,
546
+ "ttft_p99_ms": 760.1846476996616,
547
+ "itl_mean_ms": 17.775962665717213,
548
+ "itl_p50_ms": 16.24701220755945,
549
+ "itl_p95_ms": 33.04292447846012,
550
+ "itl_p99_ms": 49.24142361158533,
551
+ "tpot_mean_ms": 17.781789938797445,
552
+ "tpot_p50_ms": 16.250892179999738,
553
+ "tpot_p95_ms": 33.04544840657803,
554
+ "acceptance_rate": 0.5873682476943346,
555
+ "acceptance_pos_1": 0.7734683794466403,
556
+ "acceptance_pos_2": 0.5642292490118577,
557
+ "acceptance_pos_3": 0.4244071146245059,
558
+ "mean_acceptance_length": 2.762104743083004
559
+ },
560
+ {
561
+ "dataset": "humaneval",
562
+ "run": "dflare_k7",
563
+ "method": "dflare",
564
+ "num_speculative_tokens": 7,
565
+ "requests": 164,
566
+ "output_tokens": 11047,
567
+ "request_throughput_rps": 3.0665775841960174,
568
+ "output_throughput_tps": 206.5639181256915,
569
+ "speedup_vs_baseline": 1.0635838554402026,
570
+ "latency_mean_ms": 1296.2304299939337,
571
+ "latency_p50_ms": 1225.3228209992812,
572
+ "latency_p95_ms": 2684.5432901496665,
573
+ "latency_p99_ms": 3137.9315633195806,
574
+ "ttft_mean_ms": 395.1852547253976,
575
+ "ttft_p50_ms": 324.23020049827755,
576
+ "ttft_p95_ms": 956.4745560996016,
577
+ "ttft_p99_ms": 1385.3407927481385,
578
+ "itl_mean_ms": 16.226717747252554,
579
+ "itl_p50_ms": 13.57385855245207,
580
+ "itl_p95_ms": 32.95489575833981,
581
+ "itl_p99_ms": 75.28418661784087,
582
+ "tpot_mean_ms": 16.23359719581637,
583
+ "tpot_p50_ms": 13.576510465236616,
584
+ "tpot_p95_ms": 32.96468897523092,
585
+ "acceptance_rate": 0.33047302832995556,
586
+ "acceptance_pos_1": 0.7790522185330516,
587
+ "acceptance_pos_2": 0.5644431029278599,
588
+ "acceptance_pos_3": 0.4044672502263809,
589
+ "mean_acceptance_length": 3.3133111983096892
590
+ },
591
+ {
592
+ "dataset": "humaneval",
593
+ "run": "dspark_k3",
594
+ "method": "dspark",
595
+ "num_speculative_tokens": 3,
596
+ "requests": 164,
597
+ "output_tokens": 11346,
598
+ "request_throughput_rps": 3.393797033660498,
599
+ "output_throughput_tps": 234.79281185312203,
600
+ "speedup_vs_baseline": 1.2089325489480554,
601
+ "latency_mean_ms": 1172.9745371464626,
602
+ "latency_p50_ms": 1033.1892974991206,
603
+ "latency_p95_ms": 2107.933460299682,
604
+ "latency_p99_ms": 3156.528969858848,
605
+ "ttft_mean_ms": 265.29695418294733,
606
+ "ttft_p50_ms": 228.4132034983486,
607
+ "ttft_p95_ms": 502.8849432006609,
608
+ "ttft_p99_ms": 699.91048091968,
609
+ "itl_mean_ms": 14.77773082701616,
610
+ "itl_p50_ms": 13.023184389006781,
611
+ "itl_p95_ms": 29.633302174848463,
612
+ "itl_p99_ms": 45.321116141877226,
613
+ "tpot_mean_ms": 14.783925134182368,
614
+ "tpot_p50_ms": 13.039449575903792,
615
+ "tpot_p95_ms": 29.64001845995613,
616
+ "acceptance_rate": 0.5991372158619546,
617
+ "acceptance_pos_1": 0.7653061224489796,
618
+ "acceptance_pos_2": 0.587356893977103,
619
+ "acceptance_pos_3": 0.44474863115978097,
620
+ "mean_acceptance_length": 2.7974116475858635
621
+ },
622
+ {
623
+ "dataset": "humaneval",
624
+ "run": "dspark_k7",
625
+ "method": "dspark",
626
+ "num_speculative_tokens": 7,
627
+ "requests": 164,
628
+ "output_tokens": 11058,
629
+ "request_throughput_rps": 3.1234019762512726,
630
+ "output_throughput_tps": 210.6010917889425,
631
+ "speedup_vs_baseline": 1.08437099372071,
632
+ "latency_mean_ms": 1276.6294960669388,
633
+ "latency_p50_ms": 1098.64930799813,
634
+ "latency_p95_ms": 2616.217871799927,
635
+ "latency_p99_ms": 3188.0119062716053,
636
+ "ttft_mean_ms": 564.2550010548891,
637
+ "ttft_p50_ms": 336.2399385005119,
638
+ "ttft_p95_ms": 1681.4955957521306,
639
+ "ttft_p99_ms": 2938.6766085621284,
640
+ "itl_mean_ms": 12.486812538079404,
641
+ "itl_p50_ms": 11.807729195672675,
642
+ "itl_p95_ms": 25.278697270681064,
643
+ "itl_p99_ms": 43.8447163140126,
644
+ "tpot_mean_ms": 12.494207252966246,
645
+ "tpot_p50_ms": 11.83652314342243,
646
+ "tpot_p95_ms": 25.281766504248417,
647
+ "acceptance_rate": 0.35094729280775794,
648
+ "acceptance_pos_1": 0.740100565681961,
649
+ "acceptance_pos_2": 0.5502828409805154,
650
+ "acceptance_pos_3": 0.39849151477058453,
651
+ "mean_acceptance_length": 3.4566310496543053
652
+ },
653
+ {
654
+ "dataset": "mbpp",
655
+ "run": "baseline",
656
+ "method": "baseline",
657
+ "num_speculative_tokens": null,
658
+ "requests": 500,
659
+ "output_tokens": 61587,
660
+ "request_throughput_rps": 2.23460184339787,
661
+ "output_throughput_tps": 275.2448474586892,
662
+ "speedup_vs_baseline": 1.0,
663
+ "latency_mean_ms": 1788.0222868800047,
664
+ "latency_p50_ms": 1819.359868997708,
665
+ "latency_p95_ms": 2216.346881000209,
666
+ "latency_p99_ms": 2362.3936853421037,
667
+ "ttft_mean_ms": 221.07102080830373,
668
+ "ttft_p50_ms": 204.21197451651096,
669
+ "ttft_p95_ms": 398.6740397042012,
670
+ "ttft_p99_ms": 655.3067808030755,
671
+ "itl_mean_ms": 13.201886877023522,
672
+ "itl_p50_ms": 12.736825452678412,
673
+ "itl_p95_ms": 15.664009772456069,
674
+ "itl_p99_ms": 17.321856500478695,
675
+ "tpot_mean_ms": 13.205948736768402,
676
+ "tpot_p50_ms": 12.738972996026057,
677
+ "tpot_p95_ms": 15.67098670536386,
678
+ "acceptance_rate": null,
679
+ "acceptance_pos_1": null,
680
+ "acceptance_pos_2": null,
681
+ "acceptance_pos_3": null,
682
+ "mean_acceptance_length": null
683
+ },
684
+ {
685
+ "dataset": "mbpp",
686
+ "run": "dflash_k3",
687
+ "method": "dflash",
688
+ "num_speculative_tokens": 3,
689
+ "requests": 500,
690
+ "output_tokens": 61808,
691
+ "request_throughput_rps": 1.5365610042290248,
692
+ "output_throughput_tps": 189.94352509877513,
693
+ "speedup_vs_baseline": 0.690089303587357,
694
+ "latency_mean_ms": 2595.6573488480017,
695
+ "latency_p50_ms": 2617.603001500015,
696
+ "latency_p95_ms": 3320.9663893999277,
697
+ "latency_p99_ms": 3516.577585000016,
698
+ "ttft_mean_ms": 234.1106791739985,
699
+ "ttft_p50_ms": 218.79009800011318,
700
+ "ttft_p95_ms": 439.53066730014143,
701
+ "ttft_p99_ms": 544.9614302001191,
702
+ "itl_mean_ms": 19.14316073130201,
703
+ "itl_p50_ms": 18.9773965472434,
704
+ "itl_p95_ms": 23.96081993622043,
705
+ "itl_p99_ms": 25.695518167638486,
706
+ "tpot_mean_ms": 19.146981896371145,
707
+ "tpot_p50_ms": 18.978798267717032,
708
+ "tpot_p95_ms": 23.96214876692921,
709
+ "acceptance_rate": 0.06462320419065401,
710
+ "acceptance_pos_1": 0.1824529329391629,
711
+ "acceptance_pos_2": 0.01106659405632488,
712
+ "acceptance_pos_3": 0.0003500855764742493,
713
+ "mean_acceptance_length": 1.1938696125719621
714
+ },
715
+ {
716
+ "dataset": "mbpp",
717
+ "run": "dflash_k7",
718
+ "method": "dflash",
719
+ "num_speculative_tokens": 7,
720
+ "requests": 500,
721
+ "output_tokens": 61377,
722
+ "request_throughput_rps": 1.387242813763742,
723
+ "output_throughput_tps": 170.2896043607544,
724
+ "speedup_vs_baseline": 0.6186840768611036,
725
+ "latency_mean_ms": 2875.578809605966,
726
+ "latency_p50_ms": 2855.830152499948,
727
+ "latency_p95_ms": 4074.322934499559,
728
+ "latency_p99_ms": 4764.013334749542,
729
+ "ttft_mean_ms": 634.0442261159515,
730
+ "ttft_p50_ms": 392.3641729988958,
731
+ "ttft_p95_ms": 1885.916530999566,
732
+ "ttft_p99_ms": 2897.4566687989864,
733
+ "itl_mean_ms": 18.201249949891572,
734
+ "itl_p50_ms": 18.463196299214943,
735
+ "itl_p95_ms": 24.69457239645406,
736
+ "itl_p99_ms": 30.63269140497326,
737
+ "tpot_mean_ms": 18.205769807911185,
738
+ "tpot_p50_ms": 18.464951303145412,
739
+ "tpot_p95_ms": 24.695845573618083,
740
+ "acceptance_rate": 0.028501713363674443,
741
+ "acceptance_pos_1": 0.1877840964993408,
742
+ "acceptance_pos_2": 0.011255632735787795,
743
+ "acceptance_pos_3": 0.0004525866309844743,
744
+ "mean_acceptance_length": 1.199511993545721
745
+ },
746
+ {
747
+ "dataset": "mbpp",
748
+ "run": "dflare_k3",
749
+ "method": "dflare",
750
+ "num_speculative_tokens": 3,
751
+ "requests": 500,
752
+ "output_tokens": 61640,
753
+ "request_throughput_rps": 1.9801835796759275,
754
+ "output_throughput_tps": 244.11703170244834,
755
+ "speedup_vs_baseline": 0.8869086340992713,
756
+ "latency_mean_ms": 2016.50626224402,
757
+ "latency_p50_ms": 2021.2945930006754,
758
+ "latency_p95_ms": 2791.478140551044,
759
+ "latency_p99_ms": 3086.5239088800263,
760
+ "ttft_mean_ms": 280.0661946479813,
761
+ "ttft_p50_ms": 256.2331505005204,
762
+ "ttft_p95_ms": 557.8820319009537,
763
+ "ttft_p99_ms": 769.5084362501256,
764
+ "itl_mean_ms": 14.264965995399256,
765
+ "itl_p50_ms": 14.109097578741029,
766
+ "itl_p95_ms": 19.439541319448956,
767
+ "itl_p99_ms": 23.81797452189929,
768
+ "tpot_mean_ms": 14.269046870264877,
769
+ "tpot_p50_ms": 14.11056187795813,
770
+ "tpot_p95_ms": 19.634308889327635,
771
+ "acceptance_rate": 0.47048386886358,
772
+ "acceptance_pos_1": 0.6888967163711792,
773
+ "acceptance_pos_2": 0.44499236820476695,
774
+ "acceptance_pos_3": 0.2775625220147939,
775
+ "mean_acceptance_length": 2.41145160659074
776
+ },
777
+ {
778
+ "dataset": "mbpp",
779
+ "run": "dflare_k7",
780
+ "method": "dflare",
781
+ "num_speculative_tokens": 7,
782
+ "requests": 500,
783
+ "output_tokens": 61475,
784
+ "request_throughput_rps": 1.503343533132173,
785
+ "output_throughput_tps": 184.83608739860065,
786
+ "speedup_vs_baseline": 0.6715333242572042,
787
+ "latency_mean_ms": 2657.845550606042,
788
+ "latency_p50_ms": 2483.5515449995,
789
+ "latency_p95_ms": 4488.94517174831,
790
+ "latency_p99_ms": 5523.38156365822,
791
+ "ttft_mean_ms": 1190.47147037393,
792
+ "ttft_p50_ms": 932.4905619996571,
793
+ "ttft_p95_ms": 3259.4635773521077,
794
+ "ttft_p99_ms": 4279.743841777054,
795
+ "itl_mean_ms": 12.451201825429687,
796
+ "itl_p50_ms": 12.228331582672416,
797
+ "itl_p95_ms": 22.859363721256052,
798
+ "itl_p99_ms": 36.967242600596585,
799
+ "tpot_mean_ms": 12.456394792296264,
800
+ "tpot_p50_ms": 12.230752885830222,
801
+ "tpot_p95_ms": 22.860772319684717,
802
+ "acceptance_rate": 0.24657171832973235,
803
+ "acceptance_pos_1": 0.6712818025486132,
804
+ "acceptance_pos_2": 0.42739979716918736,
805
+ "acceptance_pos_3": 0.2544644825609595,
806
+ "mean_acceptance_length": 2.7260020283081268
807
+ },
808
+ {
809
+ "dataset": "mbpp",
810
+ "run": "dspark_k3",
811
+ "method": "dspark",
812
+ "num_speculative_tokens": 3,
813
+ "requests": 500,
814
+ "output_tokens": 61981,
815
+ "request_throughput_rps": 2.507209609073491,
816
+ "output_throughput_tps": 310.7987175599681,
817
+ "speedup_vs_baseline": 1.1291717916958104,
818
+ "latency_mean_ms": 1592.6791832899762,
819
+ "latency_p50_ms": 1603.4026140005153,
820
+ "latency_p95_ms": 2178.7681314988727,
821
+ "latency_p99_ms": 2552.1267430388243,
822
+ "ttft_mean_ms": 240.7260946480019,
823
+ "ttft_p50_ms": 224.12168300070334,
824
+ "ttft_p95_ms": 455.65863744814123,
825
+ "ttft_p99_ms": 601.2736888401558,
826
+ "itl_mean_ms": 11.346454396871485,
827
+ "itl_p50_ms": 10.845360450802424,
828
+ "itl_p95_ms": 15.682580235835754,
829
+ "itl_p99_ms": 23.395322236705972,
830
+ "tpot_mean_ms": 11.350096012527779,
831
+ "tpot_p50_ms": 10.847383575174785,
832
+ "tpot_p95_ms": 15.684506253152122,
833
+ "acceptance_rate": 0.5228963898667771,
834
+ "acceptance_pos_1": 0.7125284738041002,
835
+ "acceptance_pos_2": 0.5082211638020294,
836
+ "acceptance_pos_3": 0.3479395319942017,
837
+ "mean_acceptance_length": 2.568689169600331
838
+ },
839
+ {
840
+ "dataset": "mbpp",
841
+ "run": "dspark_k7",
842
+ "method": "dspark",
843
+ "num_speculative_tokens": 7,
844
+ "requests": 500,
845
+ "output_tokens": 61632,
846
+ "request_throughput_rps": 2.2269171937357544,
847
+ "output_throughput_tps": 274.498720968644,
848
+ "speedup_vs_baseline": 0.997289226312739,
849
+ "latency_mean_ms": 1794.3305799321024,
850
+ "latency_p50_ms": 1694.5109794996824,
851
+ "latency_p95_ms": 3171.435100350026,
852
+ "latency_p99_ms": 4215.3635372184735,
853
+ "ttft_mean_ms": 643.143013108056,
854
+ "ttft_p50_ms": 362.4557425009698,
855
+ "ttft_p95_ms": 2119.0080873015154,
856
+ "ttft_p99_ms": 3187.935962892621,
857
+ "itl_mean_ms": 10.101565495090881,
858
+ "itl_p50_ms": 9.322213830710384,
859
+ "itl_p95_ms": 14.88066484486098,
860
+ "itl_p99_ms": 19.67402437656759,
861
+ "tpot_mean_ms": 10.105878412845934,
862
+ "tpot_p50_ms": 9.323771708668072,
863
+ "tpot_p95_ms": 14.882234868113521,
864
+ "acceptance_rate": 0.28831800034716193,
865
+ "acceptance_pos_1": 0.6831591737545565,
866
+ "acceptance_pos_2": 0.47018226002430136,
867
+ "acceptance_pos_3": 0.3054678007290401,
868
+ "mean_acceptance_length": 3.0182260024301337
869
+ },
870
+ {
871
+ "dataset": "mt_bench",
872
+ "run": "baseline",
873
+ "method": "baseline",
874
+ "num_speculative_tokens": null,
875
+ "requests": 160,
876
+ "output_tokens": 20102,
877
+ "request_throughput_rps": 2.461309935234548,
878
+ "output_throughput_tps": 309.2328269880305,
879
+ "speedup_vs_baseline": 1.0,
880
+ "latency_mean_ms": 1607.6186366983165,
881
+ "latency_p50_ms": 1548.2021450006869,
882
+ "latency_p95_ms": 2284.110534451611,
883
+ "latency_p99_ms": 2534.602298826794,
884
+ "ttft_mean_ms": 320.49049263077904,
885
+ "ttft_p50_ms": 293.138627501321,
886
+ "ttft_p95_ms": 629.1677434302974,
887
+ "ttft_p99_ms": 759.140422597702,
888
+ "itl_mean_ms": 11.007379475699068,
889
+ "itl_p50_ms": 9.985256696983395,
890
+ "itl_p95_ms": 15.183904158686165,
891
+ "itl_p99_ms": 26.580996584276846,
892
+ "tpot_mean_ms": 11.014195983013959,
893
+ "tpot_p50_ms": 9.988513000022554,
894
+ "tpot_p95_ms": 15.18576166809785,
895
+ "acceptance_rate": null,
896
+ "acceptance_pos_1": null,
897
+ "acceptance_pos_2": null,
898
+ "acceptance_pos_3": null,
899
+ "mean_acceptance_length": null
900
+ },
901
+ {
902
+ "dataset": "mt_bench",
903
+ "run": "dflash_k3",
904
+ "method": "dflash",
905
+ "num_speculative_tokens": 3,
906
+ "requests": 160,
907
+ "output_tokens": 20228,
908
+ "request_throughput_rps": 1.5473009629136512,
909
+ "output_throughput_tps": 195.61752423635835,
910
+ "speedup_vs_baseline": 0.632589774318915,
911
+ "latency_mean_ms": 2573.229441274998,
912
+ "latency_p50_ms": 2591.1725164999098,
913
+ "latency_p95_ms": 3166.3267970500783,
914
+ "latency_p99_ms": 3608.086452589978,
915
+ "ttft_mean_ms": 221.35167090626453,
916
+ "ttft_p50_ms": 203.15486550020978,
917
+ "ttft_p95_ms": 448.1615023500803,
918
+ "ttft_p99_ms": 696.169536259867,
919
+ "itl_mean_ms": 18.676105907776027,
920
+ "itl_p50_ms": 18.64073133858227,
921
+ "itl_p95_ms": 23.103904855904904,
922
+ "itl_p99_ms": 25.284028265118394,
923
+ "tpot_mean_ms": 18.68020851087627,
924
+ "tpot_p50_ms": 18.641842641731216,
925
+ "tpot_p95_ms": 23.105400170866087,
926
+ "acceptance_rate": 0.060748671490479834,
927
+ "acceptance_pos_1": 0.16453909053473734,
928
+ "acceptance_pos_2": 0.01705982704864992,
929
+ "acceptance_pos_3": 0.0006470968880522384,
930
+ "mean_acceptance_length": 1.1822460144714395
931
+ },
932
+ {
933
+ "dataset": "mt_bench",
934
+ "run": "dflash_k7",
935
+ "method": "dflash",
936
+ "num_speculative_tokens": 7,
937
+ "requests": 160,
938
+ "output_tokens": 20102,
939
+ "request_throughput_rps": 1.4356652700068615,
940
+ "output_throughput_tps": 180.37339536048705,
941
+ "speedup_vs_baseline": 0.5832931681844656,
942
+ "latency_mean_ms": 2753.9001531249596,
943
+ "latency_p50_ms": 2798.7496705000012,
944
+ "latency_p95_ms": 3791.8684454991308,
945
+ "latency_p99_ms": 4289.662929459572,
946
+ "ttft_mean_ms": 381.8320665374472,
947
+ "ttft_p50_ms": 295.44119050024165,
948
+ "ttft_p95_ms": 1026.5876399000251,
949
+ "ttft_p99_ms": 1367.1522384703346,
950
+ "itl_mean_ms": 21.709309200685574,
951
+ "itl_p50_ms": 18.78574032282878,
952
+ "itl_p95_ms": 25.575840727953157,
953
+ "itl_p99_ms": 59.525236419324514,
954
+ "tpot_mean_ms": 21.713930513288513,
955
+ "tpot_p50_ms": 18.787575688973476,
956
+ "tpot_p95_ms": 25.57992160196576,
957
+ "acceptance_rate": 0.024768061794215188,
958
+ "acceptance_pos_1": 0.15474581251836614,
959
+ "acceptance_pos_2": 0.016044666470761092,
960
+ "acceptance_pos_3": 0.0012342051131354686,
961
+ "mean_acceptance_length": 1.1733764325595064
962
+ },
963
+ {
964
+ "dataset": "mt_bench",
965
+ "run": "dflare_k3",
966
+ "method": "dflare",
967
+ "num_speculative_tokens": 3,
968
+ "requests": 160,
969
+ "output_tokens": 20228,
970
+ "request_throughput_rps": 1.7821635622658862,
971
+ "output_throughput_tps": 225.31002835946467,
972
+ "speedup_vs_baseline": 0.7286096710818666,
973
+ "latency_mean_ms": 2231.2470228500047,
974
+ "latency_p50_ms": 2197.780867999427,
975
+ "latency_p95_ms": 3333.7097092000463,
976
+ "latency_p99_ms": 3700.461037129698,
977
+ "ttft_mean_ms": 248.96705823127832,
978
+ "ttft_p50_ms": 215.34929249992274,
979
+ "ttft_p95_ms": 520.0022110006103,
980
+ "ttft_p99_ms": 662.6540237599145,
981
+ "itl_mean_ms": 15.77862160127276,
982
+ "itl_p50_ms": 15.232473944878599,
983
+ "itl_p95_ms": 23.602753981101593,
984
+ "itl_p99_ms": 27.57565280062838,
985
+ "tpot_mean_ms": 15.782222927801888,
986
+ "tpot_p50_ms": 15.23403437795065,
987
+ "tpot_p95_ms": 23.60411872952008,
988
+ "acceptance_rate": 0.3229694606887589,
989
+ "acceptance_pos_1": 0.5750487329434698,
990
+ "acceptance_pos_2": 0.27573099415204677,
991
+ "acceptance_pos_3": 0.11812865497076024,
992
+ "mean_acceptance_length": 1.9689083820662767
993
+ },
994
+ {
995
+ "dataset": "mt_bench",
996
+ "run": "dflare_k7",
997
+ "method": "dflare",
998
+ "num_speculative_tokens": 7,
999
+ "requests": 160,
1000
+ "output_tokens": 20102,
1001
+ "request_throughput_rps": 1.0658824478410331,
1002
+ "output_throughput_tps": 133.9148060406278,
1003
+ "speedup_vs_baseline": 0.4330549487419434,
1004
+ "latency_mean_ms": 3752.528322143644,
1005
+ "latency_p50_ms": 3464.8722160018224,
1006
+ "latency_p95_ms": 6717.973978601185,
1007
+ "latency_p99_ms": 7876.092720710149,
1008
+ "ttft_mean_ms": 1934.0097326686418,
1009
+ "ttft_p50_ms": 1588.4214640009304,
1010
+ "ttft_p95_ms": 4820.7839886515985,
1011
+ "ttft_p99_ms": 6494.002312830161,
1012
+ "itl_mean_ms": 14.317043586959333,
1013
+ "itl_p50_ms": 13.67209011023508,
1014
+ "itl_p95_ms": 29.82729992639314,
1015
+ "itl_p99_ms": 39.377268431499964,
1016
+ "tpot_mean_ms": 14.323458562974045,
1017
+ "tpot_p50_ms": 13.673784755900577,
1018
+ "tpot_p95_ms": 29.829240646451908,
1019
+ "acceptance_rate": 0.14578666207134242,
1020
+ "acceptance_pos_1": 0.5689585846401287,
1021
+ "acceptance_pos_2": 0.26940088459991957,
1022
+ "acceptance_pos_3": 0.11540008041817451,
1023
+ "mean_acceptance_length": 2.020506634499397
1024
+ },
1025
+ {
1026
+ "dataset": "mt_bench",
1027
+ "run": "dspark_k3",
1028
+ "method": "dspark",
1029
+ "num_speculative_tokens": 3,
1030
+ "requests": 160,
1031
+ "output_tokens": 20228,
1032
+ "request_throughput_rps": 2.2379435718508462,
1033
+ "output_throughput_tps": 282.9320160712432,
1034
+ "speedup_vs_baseline": 0.9149481923605564,
1035
+ "latency_mean_ms": 1771.671463362577,
1036
+ "latency_p50_ms": 1775.1809370001865,
1037
+ "latency_p95_ms": 2604.8437047013063,
1038
+ "latency_p99_ms": 3118.5169013906484,
1039
+ "ttft_mean_ms": 252.11589151258522,
1040
+ "ttft_p50_ms": 227.79171349975513,
1041
+ "ttft_p95_ms": 503.8048422973585,
1042
+ "ttft_p99_ms": 627.0037127103565,
1043
+ "itl_mean_ms": 12.360936149822532,
1044
+ "itl_p50_ms": 11.83748445670406,
1045
+ "itl_p95_ms": 19.148658472828007,
1046
+ "itl_p99_ms": 25.009972698654565,
1047
+ "tpot_mean_ms": 12.364664553850584,
1048
+ "tpot_p50_ms": 11.838727370086703,
1049
+ "tpot_p95_ms": 19.150851622824714,
1050
+ "acceptance_rate": 0.36540854417254254,
1051
+ "acceptance_pos_1": 0.5802571547075902,
1052
+ "acceptance_pos_2": 0.3253836582330983,
1053
+ "acceptance_pos_3": 0.19058481957693904,
1054
+ "mean_acceptance_length": 2.0962256325176276
1055
+ },
1056
+ {
1057
+ "dataset": "mt_bench",
1058
+ "run": "dspark_k7",
1059
+ "method": "dspark",
1060
+ "num_speculative_tokens": 7,
1061
+ "requests": 160,
1062
+ "output_tokens": 20102,
1063
+ "request_throughput_rps": 1.784863821370322,
1064
+ "output_throughput_tps": 224.24582835741384,
1065
+ "speedup_vs_baseline": 0.7251682511898833,
1066
+ "latency_mean_ms": 2225.1736813125035,
1067
+ "latency_p50_ms": 2117.7182369992806,
1068
+ "latency_p95_ms": 3657.939555099983,
1069
+ "latency_p99_ms": 4345.6770745698295,
1070
+ "ttft_mean_ms": 838.8437911749861,
1071
+ "ttft_p50_ms": 589.9439045006147,
1072
+ "ttft_p95_ms": 2441.8948530525054,
1073
+ "ttft_p99_ms": 2773.190703780456,
1074
+ "itl_mean_ms": 11.426459321042842,
1075
+ "itl_p50_ms": 10.71108703149011,
1076
+ "itl_p95_ms": 22.870212017662954,
1077
+ "itl_p99_ms": 25.594833969671022,
1078
+ "tpot_mean_ms": 11.431539335517765,
1079
+ "tpot_p50_ms": 10.713255098423582,
1080
+ "tpot_p95_ms": 23.0010987298119,
1081
+ "acceptance_rate": 0.17215237263282687,
1082
+ "acceptance_pos_1": 0.5529591613889495,
1083
+ "acceptance_pos_2": 0.2997379340467351,
1084
+ "acceptance_pos_3": 0.16739462764795807,
1085
+ "mean_acceptance_length": 2.205066608429788
1086
+ },
1087
+ {
1088
+ "dataset": "ultrachat",
1089
+ "run": "baseline",
1090
+ "method": "baseline",
1091
+ "num_speculative_tokens": null,
1092
+ "requests": 5000,
1093
+ "output_tokens": 635569,
1094
+ "request_throughput_rps": 1.2230023684575178,
1095
+ "output_throughput_tps": 155.4604784636352,
1096
+ "speedup_vs_baseline": 1.0,
1097
+ "latency_mean_ms": 3269.5651201336645,
1098
+ "latency_p50_ms": 3276.8055605120026,
1099
+ "latency_p95_ms": 3934.875892131822,
1100
+ "latency_p99_ms": 4087.044628756121,
1101
+ "ttft_mean_ms": 231.24218063543086,
1102
+ "ttft_p50_ms": 218.61417350010015,
1103
+ "ttft_p95_ms": 386.9901933081565,
1104
+ "ttft_p99_ms": 553.9115706225857,
1105
+ "itl_mean_ms": 24.08620830909222,
1106
+ "itl_p50_ms": 24.040817992012823,
1107
+ "itl_p95_ms": 28.90904858166638,
1108
+ "itl_p99_ms": 29.91989293644905,
1109
+ "tpot_mean_ms": 24.087996070253364,
1110
+ "tpot_p50_ms": 24.042644452736308,
1111
+ "tpot_p95_ms": 28.910471471294663,
1112
+ "acceptance_rate": null,
1113
+ "acceptance_pos_1": null,
1114
+ "acceptance_pos_2": null,
1115
+ "acceptance_pos_3": null,
1116
+ "mean_acceptance_length": null
1117
+ },
1118
+ {
1119
+ "dataset": "ultrachat",
1120
+ "run": "dflash_k3",
1121
+ "method": "dflash",
1122
+ "num_speculative_tokens": 3,
1123
+ "requests": 5000,
1124
+ "output_tokens": 636175,
1125
+ "request_throughput_rps": 1.0622074332559788,
1126
+ "output_throughput_tps": 135.14996277032446,
1127
+ "speedup_vs_baseline": 0.8693525461002507,
1128
+ "latency_mean_ms": 3763.952480385199,
1129
+ "latency_p50_ms": 3769.2712649998157,
1130
+ "latency_p95_ms": 4515.89870830021,
1131
+ "latency_p99_ms": 4805.0974385998825,
1132
+ "ttft_mean_ms": 257.6036252754003,
1133
+ "ttft_p50_ms": 246.59032999988995,
1134
+ "ttft_p95_ms": 405.558623099887,
1135
+ "ttft_p99_ms": 540.4809878199559,
1136
+ "itl_mean_ms": 27.764084011389272,
1137
+ "itl_p50_ms": 27.68626928346698,
1138
+ "itl_p95_ms": 33.282436218505644,
1139
+ "itl_p99_ms": 35.5445708588995,
1140
+ "tpot_mean_ms": 27.765764208304795,
1141
+ "tpot_p50_ms": 27.687906570868,
1142
+ "tpot_p95_ms": 33.28350510590754,
1143
+ "acceptance_rate": 0.07093823412968715,
1144
+ "acceptance_pos_1": 0.1840484911746139,
1145
+ "acceptance_pos_2": 0.02574222849873457,
1146
+ "acceptance_pos_3": 0.0030239827157130055,
1147
+ "mean_acceptance_length": 1.2128147023890614
1148
+ },
1149
+ {
1150
+ "dataset": "ultrachat",
1151
+ "run": "dflash_k7",
1152
+ "method": "dflash",
1153
+ "num_speculative_tokens": 7,
1154
+ "requests": 5000,
1155
+ "output_tokens": 636064,
1156
+ "request_throughput_rps": 1.0536069317356047,
1157
+ "output_throughput_tps": 134.03228788549515,
1158
+ "speedup_vs_baseline": 0.8621630990081349,
1159
+ "latency_mean_ms": 3794.9240800698,
1160
+ "latency_p50_ms": 3797.6578120005797,
1161
+ "latency_p95_ms": 4543.265116648946,
1162
+ "latency_p99_ms": 4838.748624158453,
1163
+ "ttft_mean_ms": 255.93729505000047,
1164
+ "ttft_p50_ms": 246.4688734989977,
1165
+ "ttft_p95_ms": 399.62789619985415,
1166
+ "ttft_p99_ms": 533.8578004602641,
1167
+ "itl_mean_ms": 28.02829548006744,
1168
+ "itl_p50_ms": 27.958994283470407,
1169
+ "itl_p95_ms": 33.55774176338532,
1170
+ "itl_p99_ms": 35.83546665536011,
1171
+ "tpot_mean_ms": 28.030316558857468,
1172
+ "tpot_p50_ms": 27.961111295281434,
1173
+ "tpot_p95_ms": 33.55949413779617,
1174
+ "acceptance_rate": 0.030697806232490035,
1175
+ "acceptance_pos_1": 0.1853871675887231,
1176
+ "acceptance_pos_2": 0.025839366107025186,
1177
+ "acceptance_pos_3": 0.0030756573256390638,
1178
+ "mean_acceptance_length": 1.2148846436274303
1179
+ },
1180
+ {
1181
+ "dataset": "ultrachat",
1182
+ "run": "dflare_k3",
1183
+ "method": "dflare",
1184
+ "num_speculative_tokens": 3,
1185
+ "requests": 5000,
1186
+ "output_tokens": 636228,
1187
+ "request_throughput_rps": 1.267241365085764,
1188
+ "output_throughput_tps": 161.25088784515708,
1189
+ "speedup_vs_baseline": 1.0372468259376697,
1190
+ "latency_mean_ms": 3155.8181194270032,
1191
+ "latency_p50_ms": 3158.2490724995296,
1192
+ "latency_p95_ms": 4013.4220384479713,
1193
+ "latency_p99_ms": 4389.7799070399205,
1194
+ "ttft_mean_ms": 282.9019767206311,
1195
+ "ttft_p50_ms": 270.00340999984473,
1196
+ "ttft_p95_ms": 456.05508385024234,
1197
+ "ttft_p99_ms": 595.7626636705755,
1198
+ "itl_mean_ms": 22.751411578135976,
1199
+ "itl_p50_ms": 22.677721858262814,
1200
+ "itl_p95_ms": 29.19536946929717,
1201
+ "itl_p99_ms": 32.0268499520443,
1202
+ "tpot_mean_ms": 22.753117775499057,
1203
+ "tpot_p50_ms": 22.679262984259076,
1204
+ "tpot_p95_ms": 29.196810057103683,
1205
+ "acceptance_rate": 0.31057058500760176,
1206
+ "acceptance_pos_1": 0.5710008489248474,
1207
+ "acceptance_pos_2": 0.2600387645252867,
1208
+ "acceptance_pos_3": 0.10067214157267132,
1209
+ "mean_acceptance_length": 1.9317117550228053
1210
+ },
1211
+ {
1212
+ "dataset": "ultrachat",
1213
+ "run": "dflare_k7",
1214
+ "method": "dflare",
1215
+ "num_speculative_tokens": 7,
1216
+ "requests": 5000,
1217
+ "output_tokens": 635796,
1218
+ "request_throughput_rps": 1.2415631421695674,
1219
+ "output_throughput_tps": 157.87617590776844,
1220
+ "speedup_vs_baseline": 1.0155389811481785,
1221
+ "latency_mean_ms": 3221.0815614180046,
1222
+ "latency_p50_ms": 3164.543153499835,
1223
+ "latency_p95_ms": 4123.292088050039,
1224
+ "latency_p99_ms": 4616.265497698114,
1225
+ "ttft_mean_ms": 352.63900740198807,
1226
+ "ttft_p50_ms": 287.9059334991325,
1227
+ "ttft_p95_ms": 612.3089999979129,
1228
+ "ttft_p99_ms": 1196.3210188611995,
1229
+ "itl_mean_ms": 22.7251370702789,
1230
+ "itl_p50_ms": 22.450031862195097,
1231
+ "itl_p95_ms": 29.62520190592225,
1232
+ "itl_p99_ms": 33.215207786221775,
1233
+ "tpot_mean_ms": 22.72683404563422,
1234
+ "tpot_p50_ms": 22.451526275598177,
1235
+ "tpot_p95_ms": 29.626681563398265,
1236
+ "acceptance_rate": 0.1436652803641537,
1237
+ "acceptance_pos_1": 0.5763152990672803,
1238
+ "acceptance_pos_2": 0.26589619110489227,
1239
+ "acceptance_pos_3": 0.10326562455582894,
1240
+ "mean_acceptance_length": 2.005656962549076
1241
+ },
1242
+ {
1243
+ "dataset": "ultrachat",
1244
+ "run": "dspark_k3",
1245
+ "method": "dspark",
1246
+ "num_speculative_tokens": 3,
1247
+ "requests": 5000,
1248
+ "output_tokens": 636215,
1249
+ "request_throughput_rps": 1.5004265390600509,
1250
+ "output_throughput_tps": 190.91877410961806,
1251
+ "speedup_vs_baseline": 1.2280855944636573,
1252
+ "latency_mean_ms": 2665.1578789277846,
1253
+ "latency_p50_ms": 2665.9706919999735,
1254
+ "latency_p95_ms": 3441.952741001842,
1255
+ "latency_p99_ms": 3755.308294759525,
1256
+ "ttft_mean_ms": 264.3723180442066,
1257
+ "ttft_p50_ms": 253.26144649989146,
1258
+ "ttft_p95_ms": 429.1125219519018,
1259
+ "ttft_p99_ms": 559.1942446103716,
1260
+ "itl_mean_ms": 19.008812154313944,
1261
+ "itl_p50_ms": 18.913669216526902,
1262
+ "itl_p95_ms": 24.80109081614243,
1263
+ "itl_p99_ms": 27.068464386929747,
1264
+ "tpot_mean_ms": 19.010452079968594,
1265
+ "tpot_p50_ms": 18.915089492132775,
1266
+ "tpot_p95_ms": 24.80313036299977,
1267
+ "acceptance_rate": 0.32401200895393567,
1268
+ "acceptance_pos_1": 0.5557804733415505,
1269
+ "acceptance_pos_2": 0.28182543551086175,
1270
+ "acceptance_pos_3": 0.1344301180093948,
1271
+ "mean_acceptance_length": 1.9720360268618071
1272
+ },
1273
+ {
1274
+ "dataset": "ultrachat",
1275
+ "run": "dspark_k7",
1276
+ "method": "dspark",
1277
+ "num_speculative_tokens": 7,
1278
+ "requests": 5000,
1279
+ "output_tokens": 636157,
1280
+ "request_throughput_rps": 1.4902242443540412,
1281
+ "output_throughput_tps": 189.60331692310675,
1282
+ "speedup_vs_baseline": 1.2196239121151176,
1283
+ "latency_mean_ms": 2683.3432791144196,
1284
+ "latency_p50_ms": 2638.018617002672,
1285
+ "latency_p95_ms": 3469.7974141512536,
1286
+ "latency_p99_ms": 3857.7436888694515,
1287
+ "ttft_mean_ms": 287.66377756739894,
1288
+ "ttft_p50_ms": 259.45143649914826,
1289
+ "ttft_p95_ms": 433.6856615469515,
1290
+ "ttft_p99_ms": 568.5856753819111,
1291
+ "itl_mean_ms": 18.969870524426348,
1292
+ "itl_p50_ms": 18.7173821692899,
1293
+ "itl_p95_ms": 25.069323533594044,
1294
+ "itl_p99_ms": 28.087401625863414,
1295
+ "tpot_mean_ms": 18.971464480602076,
1296
+ "tpot_p50_ms": 18.718672405515193,
1297
+ "tpot_p95_ms": 25.071671481768842,
1298
+ "acceptance_rate": 0.15400452166690387,
1299
+ "acceptance_pos_1": 0.5521141942543566,
1300
+ "acceptance_pos_2": 0.27944601414362474,
1301
+ "acceptance_pos_3": 0.13266262718646393,
1302
+ "mean_acceptance_length": 2.078031651668327
1303
+ }
1304
+ ]
benchmarks/large/bs4/run_config.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "args": {
3
+ "base_model": "google/t5gemma-2-1b-1b",
4
+ "dflash_model": "/mnt/d/Projects/dflash_t5/dflash-output/dflash_t5gemma2_mixture_200k/checkpoints/5",
5
+ "dflare_model": "/mnt/d/Projects/dflash_t5/dflash-output/dflare_t5gemma2_mixture_200k/checkpoints/5",
6
+ "dspark_model": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_t5gemma2_mixture_200k/checkpoints/5",
7
+ "speculative_token_counts": [
8
+ 3,
9
+ 7
10
+ ],
11
+ "methods": [
12
+ "dflash",
13
+ "dflare",
14
+ "dspark"
15
+ ],
16
+ "datasets": [
17
+ "math500",
18
+ "gsm8k",
19
+ "humaneval",
20
+ "mbpp",
21
+ "mt_bench",
22
+ "ultrachat"
23
+ ],
24
+ "num_prompts": 0,
25
+ "ultrachat_num_prompts": 5000,
26
+ "warmup": 8,
27
+ "concurrency": 4,
28
+ "max_num_seqs": 4,
29
+ "max_num_batched_tokens": 4096,
30
+ "max_model_len": 2048,
31
+ "max_tokens": 128,
32
+ "gpu_memory_utilization": 0.85,
33
+ "host": "127.0.0.1",
34
+ "port": 8011,
35
+ "temperature": 0.0,
36
+ "top_p": 1.0,
37
+ "seed": 0,
38
+ "timeout_s": 180.0,
39
+ "server_timeout_s": 600.0,
40
+ "enforce_eager": false,
41
+ "include_baseline": true
42
+ },
43
+ "runs": [
44
+ {
45
+ "name": "baseline",
46
+ "checkpoint": null,
47
+ "num_speculative_tokens": null
48
+ },
49
+ {
50
+ "name": "dflash_k3",
51
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dflash_t5gemma2_mixture_200k/checkpoints/5",
52
+ "num_speculative_tokens": 3
53
+ },
54
+ {
55
+ "name": "dflash_k7",
56
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dflash_t5gemma2_mixture_200k/checkpoints/5",
57
+ "num_speculative_tokens": 7
58
+ },
59
+ {
60
+ "name": "dflare_k3",
61
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dflare_t5gemma2_mixture_200k/checkpoints/5",
62
+ "num_speculative_tokens": 3
63
+ },
64
+ {
65
+ "name": "dflare_k7",
66
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dflare_t5gemma2_mixture_200k/checkpoints/5",
67
+ "num_speculative_tokens": 7
68
+ },
69
+ {
70
+ "name": "dspark_k3",
71
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_t5gemma2_mixture_200k/checkpoints/5",
72
+ "num_speculative_tokens": 3
73
+ },
74
+ {
75
+ "name": "dspark_k7",
76
+ "checkpoint": "/mnt/d/Projects/dflash_t5/dflash-output/dspark_t5gemma2_mixture_200k/checkpoints/5",
77
+ "num_speculative_tokens": 7
78
+ }
79
+ ],
80
+ "prompt_sets": {
81
+ "math500": {
82
+ "count": 500,
83
+ "sha256": "78a67699bc700588d0e23da6457ea3afc00d5635897d456a6245f1e964449c4a"
84
+ },
85
+ "gsm8k": {
86
+ "count": 1319,
87
+ "sha256": "d591bbef95c9d5b17f6f26999bde24def2f6fbf25d7e20953b9ac89c65ffbb8e"
88
+ },
89
+ "humaneval": {
90
+ "count": 164,
91
+ "sha256": "de1066c5b81dc0f99eab434315cee2c3c68c5a522b8c25d53c73f9c9042b44c8"
92
+ },
93
+ "mbpp": {
94
+ "count": 500,
95
+ "sha256": "c596be7f77834627fd0a05755691e30dbf4f6724425842de6d03348614e5fecd"
96
+ },
97
+ "mt_bench": {
98
+ "count": 160,
99
+ "sha256": "8761bfece58bd26e5b93c33e9aad480728ea9950a7d257aaff267db5c7b98010"
100
+ },
101
+ "ultrachat": {
102
+ "count": 5000,
103
+ "sha256": "5dac9e9dc0d63372c701dbebbb18f3f22a568e9b62cc0ff1b4fb88fc41bf5bf7"
104
+ }
105
+ },
106
+ "benchmark_fingerprint": "f9d631623c44c4276ee1b29d5e2e5ce03c216e6d5c95ffda6333d549323e0c89",
107
+ "output_dir": "/mnt/d/Projects/dflash_t5/benchmark-results/t5gemma2_speculators_suite_bs4_fixed"
108
+ }
config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DSparkDraftModel"
4
+ ],
5
+ "auto_map": {
6
+ "": "config.DSparkSpeculatorConfig"
7
+ },
8
+ "aux_hidden_state_layer_ids": [
9
+ 2,
10
+ 7,
11
+ 13,
12
+ 18,
13
+ 21
14
+ ],
15
+ "block_size": 8,
16
+ "confidence_head_with_markov": true,
17
+ "draft_vocab_size": 32000,
18
+ "dtype": "bfloat16",
19
+ "enable_confidence_head": true,
20
+ "markov_head_type": "vanilla",
21
+ "markov_rank": 256,
22
+ "mask_token_id": 4,
23
+ "sliding_window_non_causal": false,
24
+ "speculators_config": {
25
+ "algorithm": "dspark",
26
+ "default_proposal_method": "greedy",
27
+ "proposal_methods": [
28
+ {
29
+ "accept_tolerance": 0.0,
30
+ "proposal_type": "greedy",
31
+ "speculative_tokens": 7,
32
+ "verifier_accept_k": 1
33
+ }
34
+ ],
35
+ "verifier": {
36
+ "architectures": [
37
+ "T5Gemma2ForConditionalGeneration"
38
+ ],
39
+ "name_or_path": "google/t5gemma-2-1b-1b"
40
+ }
41
+ },
42
+ "speculators_model_type": "dspark",
43
+ "speculators_version": "0.7.0.dev72",
44
+ "target_hidden_size": null,
45
+ "tie_word_embeddings": false,
46
+ "transformer_layer_config": {
47
+ "architectures": [
48
+ "T5Gemma2ForConditionalGeneration"
49
+ ],
50
+ "attention_bias": false,
51
+ "attention_dropout": 0.0,
52
+ "bos_token_id": 1,
53
+ "eos_token_id": 2,
54
+ "head_dim": 256,
55
+ "hidden_act": "silu",
56
+ "hidden_size": 1152,
57
+ "initializer_range": 0.02,
58
+ "intermediate_size": 6912,
59
+ "layer_types": [
60
+ "full_attention",
61
+ "full_attention",
62
+ "full_attention"
63
+ ],
64
+ "max_position_embeddings": 32768,
65
+ "mlp_bias": false,
66
+ "model_type": "llama",
67
+ "num_attention_heads": 4,
68
+ "num_hidden_layers": 3,
69
+ "num_key_value_heads": 1,
70
+ "pad_token_id": null,
71
+ "pretraining_tp": 1,
72
+ "rms_norm_eps": 1e-06,
73
+ "rope_parameters": {
74
+ "factor": 8.0,
75
+ "rope_theta": 1000000,
76
+ "rope_type": "linear"
77
+ },
78
+ "rope_theta": 1000000,
79
+ "sliding_window": 2048,
80
+ "tie_word_embeddings": false,
81
+ "use_cache": true,
82
+ "verifier_final_logit_softcapping": null,
83
+ "verifier_hidden_states_are_normalized": true,
84
+ "verifier_is_encoder_decoder": true,
85
+ "verifier_model_type": "t5gemma2",
86
+ "vocab_size": 262144
87
+ },
88
+ "transformers_version": "5.12.1"
89
+ }
config.py ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Literal
2
+
3
+ from pydantic import Field
4
+
5
+ from speculators import SpeculatorModelConfig
6
+ from speculators.models.dflash.config import DFlashSpeculatorConfig
7
+
8
+ __all__ = [
9
+ "DSparkSpeculatorConfig",
10
+ ]
11
+
12
+
13
+ @SpeculatorModelConfig.register("dspark")
14
+ class DSparkSpeculatorConfig(DFlashSpeculatorConfig):
15
+ """DFlash config plus a Markov logit-bias head and a confidence head.
16
+
17
+ The Markov head lets each draft position condition on previously sampled
18
+ tokens within the block; the confidence head predicts the per-position
19
+ acceptance probability. All DFlash fields are inherited unchanged.
20
+ """
21
+
22
+ speculators_model_type: Literal["dspark"] = "dspark" # type: ignore[assignment]
23
+ architectures: list[str] = Field(
24
+ default_factory=lambda: ["DSparkSpeculator"],
25
+ description="Model architectures that can load these weights",
26
+ )
27
+
28
+ # Sequential (Markov) head.
29
+ markov_rank: int = Field(
30
+ default=256,
31
+ description=(
32
+ "Low-rank dimension of the Markov logit-bias factorization B = W1 @ W2. "
33
+ "Set to 0 to disable the sequential head (pure DFlash drafting)."
34
+ ),
35
+ )
36
+ markov_head_type: Literal["vanilla", "gated", "rnn"] = Field(
37
+ default="vanilla",
38
+ description=(
39
+ "Sequential head variant: 'vanilla' (first-order Markov bias), 'gated' "
40
+ "(hidden-gated bias), or 'rnn' (recurrent state over the block)."
41
+ ),
42
+ )
43
+
44
+ # Confidence head.
45
+ enable_confidence_head: bool = Field(
46
+ default=True,
47
+ description="Whether to attach the per-position acceptance-probability head.",
48
+ )
49
+ confidence_head_with_markov: bool = Field(
50
+ default=True,
51
+ description=(
52
+ "Concatenate the Markov previous-token embedding with the backbone "
53
+ "hidden state as the confidence-head input."
54
+ ),
55
+ )
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d3ca97ba114c0701b95711bd1cf303a4c636556d448a138cccd763459e08b06
3
+ size 1003149506
optimizer_state_dict.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e276c2a8a6434eb39edc2d22a7aa542bd238fc72115cc1a2adac3f4cc2b2e76b
3
+ size 649875573
scheduler_state_dict.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c2768020750de480fd72c1d5a77315c1d840eb9814df19d857f400239b6598b
3
+ size 1531
tensorboard/dspark_base_t5gemma2_mixture_200k/events.out.tfevents.1784193657.DESKTOP-OU3A33R.751.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec8d73aeaba83a2f72db20b24ca2459d7aac9d639e7129dd033296f48dc024dd
3
+ size 224270442
tensorboard/dspark_t5gemma2_mixture_200k/events.out.tfevents.1783692701.DESKTOP-OU3A33R.282721.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1beb2290cd15cef2c17a04877ec075baac6c75567878d72eadc1ff29c608da9
3
+ size 224270442
train_command.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Timestamp: 2026-07-16T09:20:35.403196+00:00
2
+ # Git SHA: 4bd884b204230bbbec44dbb6538eb82593c4016f
3
+ # World size: 1
4
+ # speculators: 0.7.0.dev72
5
+ # vllm: not installed
6
+ # transformers: 5.12.1
7
+ # torch: 2.12.0
8
+ # compressed-tensors: not installed
9
+ scripts/train_t5gemma_online.py --verifier-name-or-path google/t5gemma-2-1b-1b --data-path /home/pc/dflash-output/t5gemma2_mixture_200k --save-path ../dflash-output/dspark_base_t5gemma2_mixture_200k/checkpoints --draft-vocab-size 32000 --speculator-type dspark --draft-arch llama --draft-hidden-act silu --draft-attn-impl eager --block-size 8 --max-anchors 256 --num-layers 3 --target-layer-ids 2 7 13 18 21 --markov-rank 256 --markov-head-type vanilla --enable-confidence-head --confidence-head-with-markov --confidence-head-alpha 1.0 --total-seq-len 2048 --epochs 6 --lr 6e-4 --loss-fn '{"ce": 0.1, "tv": 0.9}' --logger tensorboard --log-dir /home/pc/dflash-output/tensorboard/t5gemma2_mixture_200k --run-name dspark_base_t5gemma2_mixture_200k --on-missing raise --num-workers 0 --prefetch-factor 1
training/data_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "google/t5gemma-2-1b-1b",
3
+ "mixture": "t5gemma2_200k",
4
+ "samples": 200000,
5
+ "seed": 42,
6
+ "sources": [
7
+ {
8
+ "source": "ultrachat",
9
+ "converter": "auto",
10
+ "requested": 60000,
11
+ "kept": 60000
12
+ },
13
+ {
14
+ "source": "sharegpt",
15
+ "converter": "auto",
16
+ "requested": 20000,
17
+ "kept": 20000
18
+ },
19
+ {
20
+ "source": "hf:ise-uiuc/Magicoder-Evol-Instruct-110K::train",
21
+ "converter": "instruction_response",
22
+ "requested": 50000,
23
+ "kept": 50000
24
+ },
25
+ {
26
+ "source": "hf:Salesforce/xlam-function-calling-60k::train",
27
+ "converter": "xlam_function_calling",
28
+ "requested": 40000,
29
+ "kept": 40000
30
+ },
31
+ {
32
+ "source": "hf:glaiveai/glaive-function-calling-v2::train",
33
+ "converter": "glaive_function_calling",
34
+ "requested": 20000,
35
+ "kept": 20000
36
+ },
37
+ {
38
+ "source": "hf:TIGER-Lab/MathInstruct::train",
39
+ "converter": "instruction_output",
40
+ "requested": 10000,
41
+ "kept": 10000
42
+ }
43
+ ],
44
+ "decoder_start_token_id": 2,
45
+ "eos_token_id": 1
46
+ }
training/train.sh ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+
4
+ MODEL="${MODEL:-google/t5gemma-2-1b-1b}"
5
+ MIXTURE="${MIXTURE:-t5gemma2_200k}"
6
+ DATASET="${DATASET:-}"
7
+ DATA_DIR="${DATA_DIR:-$HOME/dflash-output/t5gemma2_mixture_200k}"
8
+ OUTPUT_DIR="${OUTPUT_DIR:-../dflash-output/dspark_base_t5gemma2_mixture_200k}"
9
+ LOG_DIR="${LOG_DIR:-$HOME/dflash-output/tensorboard/t5gemma2_mixture_200k}"
10
+ RUN_NAME="${RUN_NAME:-dspark_base_t5gemma2_mixture_200k}"
11
+ MAX_SAMPLES="${MAX_SAMPLES:-200000}"
12
+ SEED="${SEED:-42}"
13
+ T5GEMMA_ONLINE_EXTRACTOR_BATCH_SIZE="${T5GEMMA_ONLINE_EXTRACTOR_BATCH_SIZE:-32}"
14
+ TARGET_LAYER_IDS=(2 7 13 18 21)
15
+
16
+ if [[ ! -f "$DATA_DIR/dataset_info.json" ]]; then
17
+ PREPARE_ARGS=(
18
+ scripts/prepare_t5gemma_data.py
19
+ --model "$MODEL"
20
+ --output "$DATA_DIR"
21
+ --max-samples "$MAX_SAMPLES"
22
+ --seed "$SEED"
23
+ --encoder-seq-length 2048
24
+ --decoder-seq-length 1024
25
+ )
26
+ if [[ -n "$MIXTURE" ]]; then
27
+ PREPARE_ARGS+=(--mixture "$MIXTURE")
28
+ else
29
+ PREPARE_ARGS+=(--data "$DATASET")
30
+ fi
31
+ python "${PREPARE_ARGS[@]}"
32
+ else
33
+ echo "Prepared dataset already exists at $DATA_DIR; reusing it."
34
+ fi
35
+
36
+ PYTORCH_ALLOC_CONF=expandable_segments:True \
37
+ TORCHDYNAMO_DISABLE=1 \
38
+ T5GEMMA_ONLINE_EXTRACTOR_BATCH_SIZE="$T5GEMMA_ONLINE_EXTRACTOR_BATCH_SIZE" \
39
+ python scripts/train_t5gemma_online.py \
40
+ --verifier-name-or-path "$MODEL" \
41
+ --data-path "$DATA_DIR" \
42
+ --save-path "$OUTPUT_DIR/checkpoints" \
43
+ --draft-vocab-size 32000 \
44
+ --speculator-type dspark \
45
+ --draft-arch llama \
46
+ --draft-hidden-act silu \
47
+ --draft-attn-impl eager \
48
+ --block-size 8 \
49
+ --max-anchors 256 \
50
+ --num-layers 3 \
51
+ --target-layer-ids "${TARGET_LAYER_IDS[@]}" \
52
+ --markov-rank 256 \
53
+ --markov-head-type vanilla \
54
+ --enable-confidence-head \
55
+ --confidence-head-with-markov \
56
+ --confidence-head-alpha 1.0 \
57
+ --total-seq-len 2048 \
58
+ --epochs 6 \
59
+ --lr 6e-4 \
60
+ --loss-fn '{"ce": 0.1, "tv": 0.9}' \
61
+ --logger tensorboard \
62
+ --log-dir "$LOG_DIR" \
63
+ --run-name "$RUN_NAME" \
64
+ --on-missing raise \
65
+ --num-workers 0 \
66
+ --prefetch-factor 1
training_state.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"epoch": 5, "local_step": 0, "global_step": 146486}
val_metrics.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"confidence_loss_epoch": 0.28316470049183373, "confidence_abs_error_epoch": 0.18955371990510891, "confidence_pred_mean_epoch": 0.41305110830444164, "confidence_cumprod_bias_epoch": -0.0008320625755997413, "loss_epoch": 0.6960643153767632, "ce_loss_epoch": 1.539941188752784, "tv_loss_epoch": 0.2876654428823311, "accept_rate_epoch": 0.4054859633838376, "accept_len_epoch": 2.418000488148435, "full_acc_epoch": 0.4366699586238272, "position_1_acc_epoch": 0.6425999769975381, "position_2_acc_epoch": 0.5320870531650069, "position_3_acc_epoch": 0.4550714077528418, "position_4_acc_epoch": 0.4030082730424792, "position_5_acc_epoch": 0.36737465932898755, "position_6_acc_epoch": 0.3395906355061875, "position_7_acc_epoch": 0.316182183562236}