Skip to content

Conversation

@hwnam831
Copy link

Issue: User may set the range end of slice_scatter to a very large value because a large end index in Python is automatically converted to the maximum length of a range. However, such a value caused large loop iterations in Torch-MLIR.
Solution: Added a bounds check during SliceScatterOp lowering.

…loop problem caused by very large range end value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant