-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[Inductor][Tritonparse] Call jit_post_compile_hook
within Inductor Triton Kernel compile path
#161443
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
Conversation
This pull request was exported from Phabricator. Differential Revision: D80624932 |
Summary: X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98 Differential Revision: D80624932
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! please fix the lint error before land.
…th (#83) Summary: X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98 Differential Revision: D80624932
…th (#83) Summary: X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98 Differential Revision: D80624932
…Triton Kernel compile path (pytorch#161443) Summary: X-link: meta-pytorch/tritonparse#83 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98 Differential Revision: D80624932
…Triton Kernel compile path (pytorch#161443) Summary: X-link: meta-pytorch/tritonparse#83 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98 Differential Revision: D80624932
f8b9b61
to
b481724
Compare
This pull request was exported from Phabricator. Differential Revision: D80624932 |
…th (#83) Summary: Pull Request resolved: #83 X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
This pull request was exported from Phabricator. Differential Revision: D80624932 |
…Triton Kernel compile path (pytorch#161443) Summary: X-link: meta-pytorch/tritonparse#83 Pull Request resolved: pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
b481724
to
76b59bc
Compare
…th (#83) Summary: X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
…Triton Kernel compile path (pytorch#161443) Summary: X-link: meta-pytorch/tritonparse#83 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
76b59bc
to
147b22c
Compare
…th (#83) Summary: Pull Request resolved: #83 X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
This pull request was exported from Phabricator. Differential Revision: D80624932 |
147b22c
to
395e435
Compare
…Triton Kernel compile path (pytorch#161443) Summary: X-link: meta-pytorch/tritonparse#83 Pull Request resolved: pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
…th (#83) Summary: X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
395e435
to
ab203df
Compare
…Triton Kernel compile path (pytorch#161443) Summary: X-link: meta-pytorch/tritonparse#83 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
…Triton Kernel compile path (pytorch#161443) Summary: X-link: meta-pytorch/tritonparse#83 Pull Request resolved: pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
…th (#83) Summary: Pull Request resolved: #83 X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932
This pull request was exported from Phabricator. Differential Revision: D80624932 |
ab203df
to
02168bb
Compare
…th (#83) Summary: Pull Request resolved: #83 X-link: pytorch/pytorch#161443 Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke `knobs.runtime.jit_post_compile_hook` if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a new `TORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1 ` config variable. Reviewed By: davidberard98, FindHao Differential Revision: D80624932 fbshipit-source-id: 57cd14f3facf053fe1c02b15f04f0ea4c1b68198
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: Since Inductor skips JIT compilation for Triton kernels, we need to manually invoke
knobs.runtime.jit_post_compile_hook
if one exists. Here, we do this to enable Tritonparse to extract launch metadata from Inductor launched kernels. We can control whether or not Inductor will run the hook with a newTORCHINDUCTOR_RUN_JIT_POST_COMPILE_HOOK=1
config variable.Reviewed By: davidberard98
Differential Revision: D80624932
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben