pytorch
4e21d77d - Use TORCH_CHECK in MapAllocator (#68424)

Commit
4 years ago
Use TORCH_CHECK in MapAllocator (#68424) Summary: When porting `THAllocator` to ATen I changed `AT_ERROR` to `TORCH_INTERNAL_ASSERT` but the direct translation should have been `TORCH_CHECK`. https://github.com/pytorch/pytorch/blob/33e9a0b5f6674bd429bda689534e1c987b38cf6e/c10/util/Exception.h#L619-L623 Pull Request resolved: https://github.com/pytorch/pytorch/pull/68424 Reviewed By: VitalyFedyunin Differential Revision: D32465548 Pulled By: ngimel fbshipit-source-id: 7fa9c1fe27e4849b76248badb681d7b6877ce9e8
Author
Parents
Loading