Repository navigation
Commit 4d3a1c8
authored
Arm backend: Don't fall back to TOSA-1.0+INT in case of exception (pytorch#17484)
aot_arm_compiler.py silently fell back to TOSA-1.0+INT in case the
user-provided TOSA spec could not be created. This may easily mislead
the user by hiding actual errors with the input to the program. Change
aot_arm_compiler.py to instead raising the exception in case the
user-provided TOSA spec can not be created.
Signed-off-by: Martin Lindström <Martin.Lindstroem@arm.com>1 parent bd6a75d commit 4d3a1c8
2 files changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
| 438 | + | |
442 | 439 | | |
443 | 440 | | |
444 | 441 | | |
| |||
0 commit comments