Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update on "Abstract the optimization context information as a dedicat…
…ed class to better organize the code"

cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 mlazos soumith voznesenskym yanboliang penguinwu anijain2305 Guobing-Chen chunyuan-w zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire

[ghstack-poisoned]
  • Loading branch information
EikanWang committed Jan 24, 2023
commit a1875e12edfe8435e01b00596d3d7cb7a84dfe4e
2 changes: 2 additions & 0 deletions torch/_inductor/codegen/cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1549,6 +1549,8 @@ def indexing_div_rep(x, y):
i32_iinfo = numpy.iinfo(numpy.int32)
if (
dtype == torch.int64
and max_expr.is_number
and min_expr.is_number
and max_expr <= i32_iinfo.max
and min_expr >= i32_iinfo.min
):
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.