Commit c6cd398
authored
display verbose message when build failed. (#5600)
Issue:
When triton build failed, it missed verbose error message display.
Fixing:
It referenced to `PyTorch` cpp_builder code, to show verbose error
message:
https://github.com/pytorch/pytorch/blob/2bec68e73b64715354af076ad309335f943e36cd/torch/_inductor/cpp_builder.py#L613-L631
Local validation:
After this fixing, it should shows the verbose build fail message:
<img width="1105" height="1238" alt="image"
src="https://github.com/user-attachments/assets/2af74011-9a95-4f06-a6b4-a0ac0adfd82f"
/>1 parent 0e5643b commit c6cd398
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
109 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
110 | 119 | | |
111 | 120 | | |
112 | 121 | | |
| |||
0 commit comments