Commit 8d69b7b
authored
[HPU] Fix benchmark CI failure caused by zero compilation time in lazy mode (#162)
* [HPU] Fix benchmark failure caused by zero compilation time in lazy mode
HPU runs with PT_HPU_LAZY_MODE=1 which forces CompilationMode.NONE,
meaning torch.compile never executes and compilation_time is always 0.
This causes the --strict check in check_benchmark_results.py to fail
with exit code 1 on all-zero compilation result files.
Changes (HPU-only, no impact on other devices):
- Skip --include-eager-mode for HPU: eager/compile mode distinction
doesn't apply in lazy mode, avoids generating unnecessary _eager
test variants with compilation-config parameters
- Remove compilation time result files before strict check: since
compilation is always disabled on HPU, these files legitimately
contain all-zero values and would cause false failures
* Add docker container prune step before image pruning in benchmarks1 parent 177864d commit 8d69b7b
1 file changed
Lines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
| |||
281 | 284 | | |
282 | 285 | | |
283 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
284 | 295 | | |
285 | 296 | | |
286 | 297 | | |
287 | 298 | | |
288 | 299 | | |
289 | 300 | | |
290 | | - | |
291 | | - | |
| 301 | + | |
292 | 302 | | |
293 | 303 | | |
294 | 304 | | |
| |||
364 | 374 | | |
365 | 375 | | |
366 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
367 | 391 | | |
368 | 392 | | |
369 | 393 | | |
| |||
0 commit comments