Repository navigation
Conversation
Add config.triton.cudagraph_kernel_annotations (default False) and wire up clear/resolve/remap calls in CUDAGraphNode._record() so that mark_kernels() scopes firing during cudagraph capture are automatically processed. Authored with Claude. [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/179769
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 2 New Failures, 2 Unrelated FailuresAs of commit 2b68f16 with merge base a4a69be ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
…udagraph trees" Add config.triton.cudagraph_kernel_annotations (default False) and wire up clear/resolve/remap calls in CUDAGraphNode._record() so that mark_kernels() scopes firing during cudagraph capture are automatically processed. Authored with Claude. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
…udagraph trees" Add config.triton.cudagraph_kernel_annotations (default False) and wire up clear/resolve/remap calls in CUDAGraphNode._record() so that mark_kernels() scopes firing during cudagraph capture are automatically processed. **WIP: current progress: it works, but has bugs, the annotation is not accurate yet** Authored with Claude. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
…udagraph trees" Add config.triton.cudagraph_kernel_annotations (default False) and wire up clear/resolve/remap calls in CUDAGraphNode._record() so that mark_kernels() scopes firing during cudagraph capture are automatically processed. **WIP: current progress: it works, but has bugs, the annotation is not accurate yet** Authored with Claude. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
…udagraph trees" Add config.triton.cudagraph_kernel_annotations (default False) and wire up clear/resolve/remap calls in CUDAGraphNode._record() so that mark_kernels() scopes firing during cudagraph capture are automatically processed. **WIP: current progress: it works, but has bugs, the annotation is not accurate yet** Authored with Claude. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
…udagraph trees" Add config.triton.cudagraph_kernel_annotations (default False) and wire up clear/resolve/remap calls in CUDAGraphNode._record() so that mark_kernels() scopes firing during cudagraph capture are automatically processed. **WIP: current progress: it works, but has bugs, the annotation is not accurate yet** Authored with Claude. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
…udagraph trees" Add config.triton.cudagraph_kernel_annotations (default False) and wire up clear/resolve/remap calls in CUDAGraphNode._record() so that mark_kernels() scopes firing during cudagraph capture are automatically processed. **WIP: current progress: it works, but has bugs, the annotation is not accurate yet** Authored with Claude. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
…udagraph trees" Add config.triton.cudagraph_kernel_annotations (default False) and wire up clear/resolve/remap calls in CUDAGraphNode._record() so that mark_kernels() scopes firing during cudagraph capture are automatically processed. **WIP: current progress: it works, but has bugs, the annotation is not accurate yet** Authored with Claude. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo [ghstack-poisoned]
|
hi @yushangdi - I have been working on something similar over the last few weeks. I built off of your mark_kernels() implementation and added fully qualified layer name annotations to the inductor / cudagraph trees workflow ,so each kernel can be uniquely identified with a nn.Modules style layer name. Also I noticed that @ngimel might be working on something related too. I was getting ready to file a PR, but wanted to check in with you first. |
@alexmsettle I'm not following up on this PR at the moment. Feel free to file a PR! |
|
Thanks @yushangdi ! I'll get started on the PR. |
|
Hi @yushangdi - FYI I filed this Issue 186026. |
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |


Stack from ghstack (oldest at bottom):
Add config.triton.cudagraph_kernel_annotations (default False) and wire
up clear/resolve/remap calls in CUDAGraphNode._record() so that
mark_kernels() scopes firing during cudagraph capture are automatically
processed.
WIP: current progress: it works, but has bugs, the annotation is not accurate yet
Authored with Claude.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo