Commit df8d03b
authored
Arm backend: Better error message in PassManager. (pytorch#14587)
The fx.PassManager ArmPassManager inherits from
catches all pass errors and wraps them with a
rasie ... from e, which means the top level error
message that is often shown in ci is not very useful. Instead, catch the
error and dig out the original error.
Signed-off-by: Erik Lundell <[email protected]>1 parent 85959e2 commit df8d03b
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
355 | 357 | | |
356 | 358 | | |
357 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
0 commit comments