Skip to content

Commit b26cde4

Browse files
pytorchbotxuhancn
andauthored
[Windows] remove mkl shared library dependency. (#129740)
[Windows] remove mkl shared library dependency. (#129493) # Background I have fixed pytorch Windows missing mkl shared library dependency issue: #124009 The solution is change torch_cpu module static link mkl library: 1. pytorch static link mkl PR: #124925 2. builder install mkl static library: pytorch/builder#1790 Double confirmed current build is using mkl static link: #124009 (comment) # Goal Remove setup.py `install_requires` will install mkl shared lib on pytorch Windows. It is not required now, due to we have static linked it. It will reduce the pytorch install network traffic and avoid install useless mkl shared library package. Pull Request resolved: #129493 Approved by: https://github.com/malfet (cherry picked from commit 424068d) Co-authored-by: Xu Han <xu.han@outlook.com>
1 parent 12ad767 commit b26cde4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎setup.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,6 @@ def main():
11321132
"networkx",
11331133
"jinja2",
11341134
"fsspec",
1135-
'mkl>=2021.1.1,<=2021.4.0; platform_system == "Windows"',
11361135
]
11371136

11381137
if sys.version_info >= (3, 12, 0):

0 commit comments

Comments
 (0)