pytorch
e70f3d11 - Nasty little hack to preserve NotImplementedError raised in interpreter (#54627)

Commit
4 years ago
Nasty little hack to preserve NotImplementedError raised in interpreter (#54627) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/54627 This is the simplest little fix to get interpreter to preserve NotImplementedError, so that the test suite doesn't start choking on meta tensors not working in interpreter. It is sound and correct but doesn't work for other c10::Error subclasses with special handling. A more proper fix is requested at https://github.com/pytorch/pytorch/issues/54612 Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Reviewed By: wenleix, ngimel Differential Revision: D27328666 Pulled By: ezyang fbshipit-source-id: 483bef062de5a907d20e2d9e25eafe2d5197cf8d
Author
Parents
Loading