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

Call from jit operators #840

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Call from jit operators #840

wants to merge 2 commits into from

Conversation

dfalbel
Copy link
Member

@dfalbel dfalbel commented Jun 1, 2022

This would allow calling JIT registered operators without the need to manually create wrappers in C++.
For future reference:

We need to port the logic here into R: https://github.com/pytorch/pytorch/blob/47834679ba2f869e66450a74e2add4c04f0006e9/torch/csrc/jit/python/pybind_utils.h#L874-L947

Once we have it, next step should be similar to simply calling the found operation:

https://cs.github.com/pytorch/pytorch/blob/47834679ba2f869e66450a74e2add4c04f0006e9/torch/csrc/jit/python/pybind_utils.h#L1182

@dfalbel dfalbel added the lantern Use this label if your PR affects lantern so it's built in the CI label Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lantern Use this label if your PR affects lantern so it's built in the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant