Commit 016ea5b
Han Wang
test(pt_expt): reduce AOTInductor compile time with fast configs
Set inductor configs in conftest to skip expensive C++ optimizations
during .pt2 compilation: max_fusion_size=8, epilogue_fusion=False,
pattern_matcher=False, package_cpp_only=True, compile_opt_level=O0.
Tests only validate correctness so runtime performance is irrelevant.
Cuts per-model compile time from ~50s to ~30s.1 parent d69632e commit 016ea5b
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
| |||
0 commit comments