-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Fix sparse windows on CPU with MKL #102604
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/102604
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 4156083 with merge base 6049998 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
06a2d02
to
987b456
Compare
4eb772e
to
b387cd9
Compare
3769714
to
097ea78
Compare
f22be71
to
fc8b4da
Compare
85b363a
to
aaf3d35
Compare
b2a7af2
to
b72a468
Compare
eb8a99d
to
b7a417d
Compare
b7a417d
to
682ebd1
Compare
@mantaionut @malfet - Do we still want to move forward with this? |
I would like to move forward. But it also depends on pytorch/builder#1467 for which i had to make additional changes after rebasing. |
Merged builder PR, please remove temporary changes from this PR and merge it |
dfabdf7
to
6df47d7
Compare
Added support for intel Sparse on Windows
6df47d7
to
4156083
Compare
@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 |
Follow up on: #102604 Address this comment: #102604 (comment) Whl metadata for all wheels published to pypi must match, otherwise poetry install will fail see this comment: #88049 (comment) Pull Request resolved: #121014 Approved by: https://github.com/malfet
Follow up on: pytorch#102604 Address this comment: pytorch#102604 (comment) Whl metadata for all wheels published to pypi must match, otherwise poetry install will fail see this comment: pytorch#88049 (comment) Pull Request resolved: pytorch#121014 Approved by: https://github.com/malfet
Fix #97352.
This PR changes the way the linking to intel MKL is done and updating MKL on Windows to mkl-2021.4.0 .
There are for both conda and pip packages MKL version with which you can link dynamically. mkl-devel contains the static versions of the dlls and MKL contains the needed dlls for the runtime. MKL dlls and static libs starting with 2021.4.0 have the version in their names( for MKL 2023 we have mkl_core.2.dll and for 2021.4.0 we have mkl_core.1.dll) so its possible to have multiple versions installed and it will work properly.
For the wheel build, I added dependency for whell MKL and on conda a dependecy for the conda MKL and on libtorch I copied the MKL binaries in libtorch.
In order to test this PR I have to use custom builder pytorch/builder#1467
cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer @jcaip @peterjc123 @mszhanyi @skyline75489 @nbcsm @vladimir-aubrecht @iremyux @Blackhex @cristianPanaite