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

+2
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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_1abd1465eb38256d3f22cc1426b23d516b.html

+1-1
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_1abe87b341f562fd1cf40b7672e4d759da.html

+1-1
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_1ad19939408f7be171a74a89928b36eb59.html

+1-1
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_1adad592a7b1b7eed529cdf6acd584c883.html

+1-1
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/dir_cpp.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198

199199
<div class="version">
200-
master (1.2.0a0+096fd41)
200+
master (1.2.0a0+450c869)
201201
</div>
202202

203203

docs/_cpp_api/dir_cpp_include.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198

199199
<div class="version">
200-
master (1.2.0a0+096fd41)
200+
master (1.2.0a0+450c869)
201201
</div>
202202

203203

docs/_cpp_api/dir_cpp_include_torch_tensorrt.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198

199199
<div class="version">
200-
master (1.2.0a0+096fd41)
200+
master (1.2.0a0+450c869)
201201
</div>
202202

203203

docs/_cpp_api/enum_logging_8h_1a130f65408ad8cbaee060f05e8db69558.html

+1-1
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/enum_torch__tensorrt_8h_1a3fbe5d72e4fc624dbd038853079620eb.html

+1-1
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/file_cpp_include_torch_tensorrt_logging.h.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198

199199
<div class="version">
200-
master (1.2.0a0+096fd41)
200+
master (1.2.0a0+450c869)
201201
</div>
202202

203203

docs/_cpp_api/file_cpp_include_torch_tensorrt_macros.h.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198

199199
<div class="version">
200-
master (1.2.0a0+096fd41)
200+
master (1.2.0a0+450c869)
201201
</div>
202202

203203

docs/_cpp_api/file_cpp_include_torch_tensorrt_ptq.h.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198

199199
<div class="version">
200-
master (1.2.0a0+096fd41)
200+
master (1.2.0a0+450c869)
201201
</div>
202202

203203

docs/_cpp_api/file_cpp_include_torch_tensorrt_torch_tensorrt.h.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198

199199
<div class="version">
200-
master (1.2.0a0+096fd41)
200+
master (1.2.0a0+450c869)
201201
</div>
202202

203203

docs/_cpp_api/function_logging_8h_1a0593f776f469c20469e2f729fc7861a3.html

+1-1
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/function_logging_8h_1a0c012cb374addd90eb1f42eaec570650.html

+1-1
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/function_logging_8h_1a56e110feaaba2c3fd44bd201fd21a76a.html

+1-1
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/function_logging_8h_1a7cb50492421ea9de4e3db895819df6f2.html

+1-1
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/function_logging_8h_1ac46ac0901cb97e3ae6e93b45f24e90b8.html

+1-1
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/function_logging_8h_1ad2efd47b6c3689e58ccc595680579ae5.html

+1-1
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/function_logging_8h_1af8f3443813315af7901903d25dd495cc.html

+1-1
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/function_ptq_8h_1a226e3c83379d1012cde8578c1c86b16c.html

+1-1
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/function_ptq_8h_1a6186e305f47c1d94b6130ef6c7f7e178.html

+1-1
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/function_torch__tensorrt_8h_1a5b405fd3bf3c8fc2e2a54cbbab979797.html

+1-1
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/function_torch__tensorrt_8h_1a6e19490a08fb1553c9dd347a5ae79db9.html

+1-1
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/function_torch__tensorrt_8h_1a710df824a7718b440e4bc17bf9693cef.html

+1-1
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/function_torch__tensorrt_8h_1ac4ab8313ae72c2c899ea31548b528528.html

+1-1
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/function_torch__tensorrt_8h_1ad1acd06eaeaffbbcf6e7ebf426891384.html

+1-1
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/function_torch__tensorrt_8h_1ad6a4ee8ca6c8f6e5519eb1128ec7f4a1.html

+1-1
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/function_torch__tensorrt_8h_1ae8d56472106eeef37fbe51ff7f40c9b2.html

+1-1
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/namespace_torch_tensorrt.html

+1-1
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/namespace_torch_tensorrt__logging.html

+1-1
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/namespace_torch_tensorrt__ptq.html

+1-1
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/namespace_torch_tensorrt__torchscript.html

+1-1
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)