Commit 9704e41
authored
[HUD] SGLang vs vLLM Comparison Dashboard enhancements (#7135)
## Changes
This PR includes the following changes in the comparison dashboard:
- Hyperlink issue fix - Currently the hyperlink for the comparison
dashboard was not working correctly, as it was redirecting to some other
benchmark.
- Adding a new dropdown option of `QPS` (Request rate), where defaults
to `All QPS` and contains options which are dynamically fetched from the
"model"'s benchmark data fetched from the clickhouse database.
- Adding implementation logic for filtering the comparison data, based
on the selected QPS before rendering graphs.
- In the "Data details" table in the dashboard, once a model is
selected, the "commit" column was empty. Fixed that bug to fetch the
correct commit hash and display in the table.
- Make sure that once a QPS is selected, all the corresponding data in
that page (including the tables) is correctly populated based on that
QPS only.
- Whenever we visit the comparison dashboard, and no model is selected,
we were earlier showing all the models present in both the repositories,
but ideally we should show only those models which have data common to
both SGLang and vLLM repos. Fixed that issue with these changes.
## Testing
- Verified from the deployed dashboard:
[link](https://torchci-d5hd5oow3-fbopensource.vercel.app/benchmark/llms?repos=vllm-project%2Fvllm%2Csgl-project%2Fsglang)
- Hyperlink is working fine now in both cases (when no model is selected
vs when a model is selected)
- With model:
[Hyperlink](https://torchci-d5hd5oow3-fbopensource.vercel.app/benchmark/llms?startTime=Wed%2C%2003%20Sep%202025%2006%3A58%3A42%20GMT&stopTime=Wed%2C%2010%20Sep%202025%2006%3A58%3A42%20GMT&granularity=day&lBranch=main&lCommit=&rBranch=main&rCommit=&repoName=pytorch%2Fpytorch&benchmarkName=&modelName=meta-llama%2FMeta-Llama-3.1-8B-Instruct&backendName=All%20Backends&modeName=All%20Modes&dtypeName=All%20DType&deviceName=All%20Devices&archName=All%20Platforms&repos=vllm-project%2Fvllm%2Csgl-project%2Fsglang&qps=All%20QPS)
- Without model:
[Hyperlink](https://torchci-d5hd5oow3-fbopensource.vercel.app/benchmark/llms?startTime=Wed%2C%2003%20Sep%202025%2006%3A58%3A42%20GMT&stopTime=Wed%2C%2010%20Sep%202025%2006%3A58%3A42%20GMT&granularity=day&lBranch=main&lCommit=&rBranch=main&rCommit=&repoName=pytorch%2Fpytorch&benchmarkName=&modelName=All%20Models&backendName=All%20Backends&modeName=All%20Modes&dtypeName=All%20DType&deviceName=All%20Devices&archName=All%20Platforms&repos=vllm-project%2Fvllm%2Csgl-project%2Fsglang&qps=All%20QPS)
- Main comparison page showing only common models entries.
<img width="1704" height="894" alt="Screenshot 2025-09-09 at 11 12
47 PM"
src="https://github.com/user-attachments/assets/b577b828-6585-4ef5-bb8e-2b6d4017f77b"
/>
- QPS Filter enabled when a model is selected, and showing qps values
that are fetched dynamically for that particular model.
<img width="1704" height="894" alt="Screenshot 2025-09-09 at 11 13
57 PM"
src="https://github.com/user-attachments/assets/670ee1e8-e01c-4cc6-aa07-29bf541b88a2"
/>
- When a certain QPS Filter is selected, then only those records should
be rendered in that dashboard page.
<img width="1704" height="894" alt="Screenshot 2025-09-09 at 11 15
09 PM"
src="https://github.com/user-attachments/assets/d20248d0-eadb-4f83-ae73-8275d65d7f92"
/>
- Data details table showing the "commit" column correctly.
<img width="1704" height="861" alt="Screenshot 2025-09-09 at 11 15
30 PM"
src="https://github.com/user-attachments/assets/d0a14409-5181-45ff-8384-20857af726df"
/>1 parent ebb706a commit 9704e41
10 files changed
Lines changed: 398 additions & 172 deletions
File tree
- torchci
- clickhouse_queries/oss_ci_benchmark_llms
- components/benchmark/llms
- components
- graphPanel
- report
- lib/benchmark/llms
- types
- utils
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
136 | 143 | | |
137 | 144 | | |
138 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
Lines changed: 164 additions & 42 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | | - | |
33 | 35 | | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
117 | | - | |
118 | | - | |
119 | | - | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
125 | 161 | | |
126 | 162 | | |
127 | 163 | | |
| |||
137 | 173 | | |
138 | 174 | | |
139 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
140 | 221 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
157 | 244 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
178 | 271 | | |
179 | 272 | | |
180 | 273 | | |
| |||
223 | 316 | | |
224 | 317 | | |
225 | 318 | | |
226 | | - | |
| 319 | + | |
227 | 320 | | |
228 | 321 | | |
229 | 322 | | |
| |||
255 | 348 | | |
256 | 349 | | |
257 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
258 | 371 | | |
259 | 372 | | |
260 | 373 | | |
| |||
364 | 477 | | |
365 | 478 | | |
366 | 479 | | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
367 | 485 | | |
368 | 486 | | |
369 | 487 | | |
| |||
435 | 553 | | |
436 | 554 | | |
437 | 555 | | |
438 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
439 | 561 | | |
440 | 562 | | |
441 | 563 | | |
0 commit comments