Repository navigation
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/95355
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 71e905d: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ngimel
left a comment
There was a problem hiding this comment.
Add a config option for this?
|
|
||
|
|
||
| class DebugAutotuner(CachingAutotuner): | ||
| def __init__(self, *args, regex_filter="", **kwargs): |
There was a problem hiding this comment.
Oh I also wanted to add a way to filter the triton kernels so not all of them would get run (unimplemented so far).
| if isinstance(referrer, dict): | ||
| for k, v in referrer.items(): | ||
| if v is obj: | ||
| obj_names.append(k) |
There was a problem hiding this comment.
lol is there not a better way to get kernel name?
There was a problem hiding this comment.
Well, we could pass it down in the codegen to the CachedAutotuner object, but this was a less intrusive way of doing the same thing.
Since it's debug/instrumentation code, I didn't feel like it was necessarily worth doing the modification.
| mutated_arg_names = meta.pop("mutated_arg_names", ()) | ||
|
|
||
| def decorator(fn): | ||
| # Uncomment this to profile bandwidth for each Triton kernel |
There was a problem hiding this comment.
Yeah I'll add an env variable.
cc soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire Looks like <img width="444" alt="image" src="https://user-images.githubusercontent.com/6355099/220815020-c62128d9-9b12-4d8b-ab54-219f92b5d5b0.png"> [ghstack-poisoned]
|
@pytorchbot merge |
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 |
Merge failedReason: 2 jobs have failed, first few of them are: inductor / cuda11.7-py3.10-gcc7-sm86 / test (inductor_timm, 1, 2, linux.g5.4xlarge.nvidia.gpu), inductor / cuda11.7-py3.10-gcc7-sm86 / test (inductor_timm, 2, 2, linux.g5.4xlarge.nvidia.gpu) Details for Dev Infra teamRaised by workflow job |
cc soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 desertfire Looks like  [ghstack-poisoned]
|
@pytorchbot merge |
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 |
Looks like  Pull Request resolved: pytorch/pytorch#95355 Approved by: https://github.com/ngimel, https://github.com/jansel
Looks like  Pull Request resolved: pytorch/pytorch#95355 Approved by: https://github.com/ngimel, https://github.com/jansel
Looks like  Pull Request resolved: pytorch/pytorch#95355 Approved by: https://github.com/ngimel, https://github.com/jansel
Looks like  Pull Request resolved: pytorch#95355 Approved by: https://github.com/ngimel, https://github.com/jansel
Stack from ghstack (oldest at bottom):
cc @soumith @voznesenskym @yanboliang @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @desertfire
Looks like