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

Standalone execution of fused kernels #253

Open
ezyang opened this issue Oct 16, 2017 · 1 comment
Open

Standalone execution of fused kernels #253

ezyang opened this issue Oct 16, 2017 · 1 comment

Comments

@ezyang
Copy link
Owner

ezyang commented Oct 16, 2017

I wanted to use the JIT generated fused kernel from C++ (to help figure out how much is autograd overhead), but there was no way to easily do so. It would be good if there were.

@zdevito
Copy link
Collaborator

zdevito commented Oct 16, 2017

The jit tests have some examples of using the fusion engine from C++. There are also version that separate the cache-checking from the execution:

https://github.com/pytorch/pytorch/blob/master/torch/csrc/jit/test_jit.cpp#L99

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

No branches or pull requests

2 participants