pytorch/caffe2
Yinghai Lu c9caa828f5 Throw special exception when backend compilation is met with fatal error (#45952)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45952

Pull Request resolved: https://github.com/pytorch/glow/pull/4967

When glow compilation meets with nonrecoverable fatal error (hardware is busted), we would like to throw a special exception other than the normal caffe2::EnforceNotMet so that we can signal the upper layer application to handle it differently.

Test Plan: Manually code some error and add LOG(FATAL) in the special exception path and wait for application to fatal.

Reviewed By: ipiszy

Differential Revision: D24156792

fbshipit-source-id: 4ae21bb0d36c89eac331fc52dd4682826b3ea180
2020-10-08 00:46:01 -07:00
..
contrib [FakeLowP] T76913842 Make AddFakeFp16 take int inputs (#45992) 2020-10-07 17:43:00 -07:00
core Revert D20850851: caffe2/plan_executor: wait for 1 minute after exception and then abort 2020-10-07 09:04:24 -07:00
cuda_rtc
db
distributed [Distributed] DeleteKey API for c10d TCP Store (#45401) 2020-09-28 15:30:39 -07:00
experiments Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
ideep
image
mobile
mpi
observers
onnx
operators [caffe2] SliceOp axes indexing fixes. (#45432) 2020-10-06 13:21:08 -07:00
opt Throw special exception when backend compilation is met with fatal error (#45952) 2020-10-08 00:46:01 -07:00
perfkernels Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
predictor [caffe2] Do not run RemoveOpsByType on recurrent networks (#45986) 2020-10-07 14:07:52 -07:00
proto Annotate torch.utils.(tensorboard/show_pickle/hypify) (#44216) 2020-09-29 18:14:26 -07:00
python [C2] Add string equality operator (#45886) 2020-10-06 12:08:26 -07:00
quantization Adding Histogram Binning Calibration to DSNN and Adding Type Double to Caffe2 ParallelSumOp/SumReluOp 2020-09-28 15:21:31 -07:00
queue [caffe2] adds Cancel to SafeDequeueBlobsOp and SafeEnqueueBlobsOp (#45177) 2020-09-24 14:22:46 -07:00
serialize Enable TF32 support for cuDNN (#40737) 2020-09-01 15:34:24 -07:00
sgd [caffe2] Optimize Dedup version of RowWiseSparseAdagrad fused op by WarpReduce (#45649) 2020-10-02 14:28:24 -07:00
share
test
transforms
utils [Onnxifi] Don't throw exception when we cannot write out debug files (#45979) 2020-10-08 00:18:24 -07:00
video
.clang-format
__init__.py
c2_aten_srcs.bzl
CMakeLists.txt Add [zc]heevd to the list of MKL symbols exported from torch_cpu (#46002) 2020-10-07 20:50:10 -07:00
README.md
release-notes.md
requirements.txt
VERSION_NUMBER

Caffe2

Jenkins Build Status

Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.

Questions and Feedback

Please use GitHub issues (https://github.com/pytorch/pytorch/issues) to ask questions, report bugs, and request new features.

Further Resources on Caffe2.ai