-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Fix TE microbenchmark harness to use appropriate fuser/executor #42900
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
[ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit e19ad02 (more details on the Dr. CI page): ✅ None of the CI failures appear to be your fault 💚
🚧 1 fixed upstream failure:These were probably caused by upstream breakages that were already fixed.
Please rebase on the
|
ZolotukhinM
left a comment
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.
Looks good!
benchmarks/tensorexpr/__main__.py
Outdated
| import torch | ||
| torch._C._jit_set_profiling_executor(False) | ||
| torch._C._jit_set_texpr_fuser_enabled(False) | ||
| torch._C._jit_set_profiling_mode(False) |
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.
Nit: technically set_profiling_mode is unneeded after we call _jit_set_profiling_executor(False). Also, since the fuser was specifically requested to be "old" it might make sense to turn it on explicitly rather than relying on a default value ( torch._C._jit_override_can_fuse_on_gpu(True))
…cutor" Differential Revision: [D23079715](https://our.internmc.facebook.com/intern/diff/D23079715) [ghstack-poisoned]
…cutor" Differential Revision: [D23079715](https://our.internmc.facebook.com/intern/diff/D23079715) [ghstack-poisoned]
|
@bertmaher merged this pull request in 33d209b. |
Stack from ghstack:
Differential Revision: D23079715