pytorch/c10
Sameer Deshmukh d100d98db8 torch.linalg routines return torch.linalg.LinAlgError when a numerical error in the computation is found. (#68571)
Summary:
This PR fixes https://github.com/pytorch/pytorch/issues/64785 by introducing a `torch.LinAlgError` for reporting errors caused by bad values in linear algebra routines which should allow users to easily catch errors caused by numerical errors.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/68571

Reviewed By: malfet

Differential Revision: D33254087

Pulled By: albanD

fbshipit-source-id: 94b59000fdb6a9765e397158e526d1f815f18f0f
2021-12-23 10:53:26 -08:00
..
benchmark
core use irange for loops 2 (#66746) 2021-12-10 04:26:23 -08:00
cuda CUDACachingAllocator: make an error message more accurate. (#69174) 2021-12-03 15:04:59 -08:00
hip
macros Revert D33141011: extract //c10/macros into its own package 2021-12-22 17:48:45 -08:00
mobile Support Union in TorchScript (#64234) 2021-09-03 06:12:24 -07:00
test Make c10 tests compilable with -Werror (#69711) 2021-12-10 16:47:46 -08:00
util torch.linalg routines return torch.linalg.LinAlgError when a numerical error in the computation is found. (#68571) 2021-12-23 10:53:26 -08:00
BUILD.bazel Revert D33141011: extract //c10/macros into its own package 2021-12-22 17:48:45 -08:00
CMakeLists.txt Update CMake minimum version to 3.10 (#63660) 2021-08-25 09:25:43 -07:00