-
Notifications
You must be signed in to change notification settings - Fork 26.3k
remove redundant index check for index_select_out_cpu_dim1_ #74093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit ac118c9 (more details on the Dr. CI page):
🕵️ 2 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
890187b to
ac118c9
Compare
|
@ngimel has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: For **index_select_out_cpu_dim1_**, there has a redundant idex check, **check_indexarray_range** has checked **the index>=0 and index < slect_dim**, we don't need re-check it at copy step. Pull Request resolved: #74093 Reviewed By: ezyang Differential Revision: D34823673 Pulled By: ngimel fbshipit-source-id: c723b5bd6254c36588063da0175470268bffca5d
|
Hey @XiaobingSuper. |
For index_select_out_cpu_dim1_, there has a redundant idex check, check_indexarray_range has checked the index>=0 and index < slect_dim, we don't need re-check it at copy step.