KEMBAR78
Fix mkl-static issue for Windows. by pytorchbot · Pull Request #132401 · pytorch/pytorch · GitHub
Skip to content

Conversation

@pytorchbot
Copy link
Collaborator

Background:
We found the pytorch Windows release/2.4 performance regression: #130619

After some debug works, I found the pytorch Windows static mkl build options are wrong:
image

  1. Thread lib is wrong.
  2. Miss openmp lib and config.

Debug history: #130619 (comment) and #130619 (comment)

This PR will fix mkl-static build options issue.
image

Reference:
image

https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html#gs.c6izlg

cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @vladimir-aubrecht @iremyux @Blackhex @cristianPanaite @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10

Background:
We found the pytorch Windows release/2.4 performance regression: #130619

After some debug works, I found the pytorch Windows static mkl build options are wrong:
<img width="1049" alt="image" src="https://github.com/user-attachments/assets/38692142-bfca-4c98-8092-6e105c82bb13">
1. Thread lib is wrong.
2. Miss `openmp` lib and config.
> Debug history: #130619 (comment) and #130619 (comment)

This PR will fix `mkl-static` build options issue.
<img width="863" alt="image" src="https://github.com/user-attachments/assets/834f6cee-7e6d-4d74-b2bc-8a270f05e429">

Reference:
<img width="482" alt="image" src="https://github.com/user-attachments/assets/8184dadb-f230-4062-a49f-51df1d7285f5">

https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html#gs.c6izlg

Pull Request resolved: #130697
Approved by: https://github.com/jgong5, https://github.com/atalman

(cherry picked from commit f1456c7)
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 1, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/132401

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 41 Cancelled Jobs

As of commit e60cdf5 with merge base b66e3f0 (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@atalman atalman merged commit f6fb80b into release/2.4 Aug 1, 2024
@github-actions github-actions bot deleted the cherry-pick-130697-by-pytorch_bot_bot_ branch September 1, 2024 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants