Commit 01e9114
authored
Fix float16/bfloat16 mix-up on TorchInductor dashboard (#7017)
TIL, these two queries has a bug in which the literal `_`, which is part
of the output filename, is actually treated as a wildcard matching one
alphanumeric character https://www.w3schools.com/sql/sql_like.asp. So, a
`LIKE` statement such as `%_float16` would match both `abc_float16` and
`abc_bfloat16` where the `_` matched with `b`.
### Testing
Before, broken parsing in `float16` [MPS
dashboard](https://hud.pytorch.org/benchmark/compilers?dashboard=torchinductor&startTime=Fri%2C%2008%20Aug%202025%2008%3A40%3A45%20GMT&stopTime=Fri%2C%2015%20Aug%202025%2008%3A40%3A45%20GMT&granularity=hour&mode=inference&dtype=float16&deviceName=mps&lBranch=main&lCommit=a7c75ae976ffd3352b68b21fe8300c393c9ea52b&rBranch=main&rCommit=3a562374401113187ce2566b87e3f1d87d7c53aa)
After, [2 inductor
configs](https://torchci-git-fork-huydhn-fix-float16-bfloat16-mixup-fbopensource.vercel.app/benchmark/compilers?dashboard=torchinductor&startTime=Fri%2C%2008%20Aug%202025%2008%3A39%3A00%20GMT&stopTime=Fri%2C%2015%20Aug%202025%2008%3A39%3A00%20GMT&granularity=hour&mode=inference&dtype=float16&deviceName=mps&lBranch=main&lCommit=a7c75ae976ffd3352b68b21fe8300c393c9ea52b&rBranch=main&rCommit=3a562374401113187ce2566b87e3f1d87d7c53aa)
are showing up correctly1 parent 56f7bbf commit 01e9114
2 files changed
Lines changed: 18 additions & 18 deletions
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments