-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[inductor] Windows inductor use intel-openmp. #160258
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/160258
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b1df98b with merge base 4416433 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
58ee712
to
680d20d
Compare
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
dab7ff8
to
bb0f5ba
Compare
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
5ad65c8
to
b9fc55a
Compare
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
b9fc55a
to
b1df98b
Compare
@@ -1615,6 +1615,7 @@ def main() -> None: | |||
"networkx>=2.5.1", | |||
"jinja2", | |||
"fsspec>=0.8.5", | |||
'intel-openmp==2025.1.1 ;platform_system == "Windows" ', # for Windows inductor |
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.
is this ok to add? cc @malfet
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.
@malfet please take a look.
After some debug work, I found PyTorch torch_cpu.dll is using intel-openmp, but not MSVC openmp.
So, switch Windows inductor to intel-openmp.
It fixed:
pytorch/test/inductor/test_aot_inductor.py
Lines 2405 to 2408 in c8205cb
cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben