Skip to content

Commit

Permalink
Remove redundant TORCH_INTERNAL_ASSERT in lower_magic_zero.cpp (#1881)
Browse files Browse the repository at this point in the history
  • Loading branch information
zasdfgbnm committed Aug 1, 2022
1 parent 7bc76aa commit 0646522
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions torch/csrc/jit/codegen/cuda/lower_magic_zero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ IndexMagicZeroInfo protectPredicateIndexWithMagicZero(
index_it != id_graph.initial_concrete_index_map.end(),
"Index not found for loop: ",
concrete_loop_id->toString());
TORCH_INTERNAL_ASSERT(
index_it != id_graph.initial_concrete_index_map.end());
auto loop_index = index_it->second;
loop_indices.insert(loop_index);
}
Expand Down

0 comments on commit 0646522

Please sign in to comment.