benchmark
eb8f9526 - Broader error catching in Torch-TRT `userbenchmark` (#1974)

Commit
2 years ago
Broader error catching in Torch-TRT `userbenchmark` (#1974) Summary: - Failures on a [recent sample run](https://github.com/pytorch/benchmark/actions/runs/6436382237) indicate that errors raised by the subprocess are not always Exceptions, but are still sometimes recoverable - Add `except` clause to catch all such errors, short of keyboard interrupts, so the compilation can complete despite such errors Pull Request resolved: https://github.com/pytorch/benchmark/pull/1974 Reviewed By: aaronenyeshi Differential Revision: D50122217 Pulled By: xuzhao9 fbshipit-source-id: 7133212696a88c47301e78eb970a3c8f5f48cfd1
Author
Parents
Loading