Skip to content

Commit 2b23874

Browse files
committed
fix(//core/conversion): Supress unnecessary debug messages
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 09f5b13 commit 2b23874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/conversion/conversion.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ std::string ConvertBlockToEngine(const torch::jit::Block* b, ConversionInfo buil
303303
std::set<std::string> GetUnsupportedOpsInBlock(const torch::jit::Block* b ) {
304304
std::set<std::string> unsupported_ops;
305305
for (const auto n : b->nodes()) {
306-
if (!OpSupported(n) && n->kind() != torch::jit::prim::Loop) {
306+
if (n->kind() != torch::jit::prim::Loop && !OpSupported(n)) {
307307
auto schema = n->maybeSchema();
308308
TRTORCH_CHECK(schema, "Unable to get schema for Node " << util::node_info(n) \
309309
<< " (conversion.VerifyCoverterSupportForBlock");

0 commit comments

Comments
 (0)