Skip to content

Remove lowering for index_select and add decomp for index_{add,add_} #1292

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

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

lezcano
Copy link
Contributor

@lezcano lezcano commented Sep 21, 2022

The decompositons and refs for these functions were added in core in pytorch/pytorch#85002. They generate the same code as the hand-written lowering.

Fixes #885

@lezcano
Copy link
Contributor Author

lezcano commented Sep 21, 2022

The error seems unrelated, but is it?

@desertfire
Copy link
Contributor

The error seems unrelated, but is it?

I would suggest you to verify it locally. You can find the command used by CI at the top of the Huggingface inference run section.

The decompositons and refs for these functions were added in core in pytorch/pytorch#85002.
They generate the same code as the hand-written lowering.
@lezcano
Copy link
Contributor Author

lezcano commented Sep 22, 2022

The failures seem unrelated.

@lezcano lezcano merged commit 7785f2c into main Sep 22, 2022
fdrocha pushed a commit that referenced this pull request Sep 22, 2022
…1292)

The decompositons and refs for these functions were added in core in pytorch/pytorch#85002.
They generate the same code as the hand-written lowering.
fdrocha pushed a commit that referenced this pull request Oct 13, 2022
…1292)

The decompositons and refs for these functions were added in core in pytorch/pytorch#85002.
They generate the same code as the hand-written lowering.

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[inductor] Lower aten.index_add_/aten.index_add
4 participants