Skip to content

Commit 4cf44f2

Browse files
committed
Merge branch 'master' into release/1.2
2 parents 3ce97fd + 87a639f commit 4cf44f2

File tree

111 files changed

+1205
-184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+1205
-184
lines changed

core/lowering/passes/exception_elimination.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "torch/csrc/jit/passes/dead_code_elimination.h"
55
#include "torch/csrc/jit/passes/guard_elimination.h"
66
#include "torch/csrc/jit/passes/peephole.h"
7+
#include "torch/csrc/jit/passes/remove_exceptions.h"
78
#include "torch/csrc/jit/runtime/graph_executor.h"
89

910
#include "core/util/prelude.h"
@@ -21,6 +22,7 @@ struct ExceptionOrPassPatternElimination {
2122

2223
void run() {
2324
findExceptionOrPassNodes(graph_->block());
25+
torch::jit::EliminateExceptions(graph_);
2426
torch::jit::EliminateDeadCode(graph_);
2527
LOG_GRAPH("Post exeception or pass elimination: " << *graph_);
2628
}

docs/_cpp_api/classtorch__tensorrt_1_1DataType.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

docs/_cpp_api/classtorch__tensorrt_1_1Device_1_1DeviceType.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

docs/_cpp_api/classtorch__tensorrt_1_1TensorFormat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

docs/_cpp_api/classtorch__tensorrt_1_1ptq_1_1Int8CacheCalibrator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

docs/_cpp_api/classtorch__tensorrt_1_1ptq_1_1Int8Calibrator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

docs/_cpp_api/define_macros_8h_1a18d295a837ac71add5578860b55e5502.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

docs/_cpp_api/define_macros_8h_1a282fd3c0b1c3a215148ae372070e1268.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

docs/_cpp_api/define_macros_8h_1a31398a6d4d27e28817afb0f0139e909e.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

docs/_cpp_api/define_macros_8h_1a35703561b26b1a9d2738ad7d58b27827.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200

201201
<div class="version">
202-
master (1.2.0a0+096fd41)
202+
master (1.2.0a0+450c869)
203203
</div>
204204

205205

0 commit comments

Comments
 (0)