Skip to content
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

[tracking] TorchToLinalg Op Support #347

Open
48 of 79 tasks
vivekkhandelwal1 opened this issue Jan 12, 2024 · 4 comments
Open
48 of 79 tasks

[tracking] TorchToLinalg Op Support #347

vivekkhandelwal1 opened this issue Jan 12, 2024 · 4 comments
Labels
tracking-issue Tracking Issue

Comments

@vivekkhandelwal1
Copy link
Contributor

vivekkhandelwal1 commented Jan 12, 2024

Tracking op support for TorchToLinalg lowering. The ops are ordered based on priority (highest -> lowest) in each section.

IMPORTANT: Mark ops you are working on by hovering over it in the list, then clicking the bullseye symbol to its right. This creates an issue for the op and marks them on the list, avoiding duplicate effort.

Contact:

If you have questions, please check and ask in the discord LLVM/torch-mlir channel.

Instructions on adding new ONNX or torch OP:
https://github.com/llvm/torch-mlir/blob/main/docs/add_ops.md

Please add e2e operator level test(s) to e2eshark test suite for your newly added ops using instructions at:
https://github.com/nod-ai/SHARK-TestSuite/blob/main/e2eshark/README.md

For ONNX Op Support, see #215

@jinchen62
Copy link
Contributor

jinchen62 commented Mar 28, 2024

@vivekkhandelwal1 According to the triage of iree onnx tests failures, these ops are missing TorchToLinalg lowering. Please add them to the above list.

To reproduce issue:
build venv following https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests#common-venv-setup-with-deps
run iree-compile iree_tests/onnx/node/generated/TEST_NAME/model.mlir -o test.vmfb --iree-hal-target-backends=llvm-cpu --mlir-print-ir-after-all

@lingzhiz1998
Copy link

Hi, can I take torch.aten.max_pool3d_with_indices op task?

@lingzhiz1998
Copy link

Attach this PR llvm/torch-mlir#3652 to mark max_pool3d_with_indices as in progress. I can not change the status of task list.

@vivekkhandelwal1
Copy link
Contributor Author

Attach this PR llvm/torch-mlir#3652 to mark max_pool3d_with_indices as in progress. I can not change the status of task list.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracking-issue Tracking Issue
Projects
Status: In Progress
Development

No branches or pull requests

4 participants