Skip to content

Fix torch.operator names #4235

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

bjacob
Copy link
Contributor

@bjacob bjacob commented Jun 18, 2025

This implements the fix suggested by @heshuju in #4108.

It fixes an issue that was blocking the LLVM integrate in IREE. https://github.com/iree-org/iree/actions/runs/15626565095/job/44156258415?pr=21092

Signed-off-by: Benoit Jacob <[email protected]>
@rsuderman
Copy link
Contributor

We should change this at the reduce op variants level instead.

"torch.aten._scaled_dot_product_flash_attention_for_cpu",

Instead of matching to torch.aten._scaled_dot_product_flash_attention_for_cpu to aten._scaled_dot_product_flash_attention_for_cpu. Or preferably match with both. I am guessing that the ingestion can generate for both.

The above test fails because it assumes a torch prefix to the operator.

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.

2 participants