Revert "[BE] Remove intel-openmp dependency in setup.py (#160976)"

This reverts commit e4839470470168648dee5997f57347bb8541ea2b.

Reverted https://github.com/pytorch/pytorch/pull/160976 on behalf of https://github.com/malfet due to This PR is doing something strange ([comment](https://github.com/pytorch/pytorch/pull/160976#issuecomment-3220120462))
This commit is contained in:
PyTorch MergeBot
2025-08-25 12:46:12 +00:00
parent 4651aaac47
commit 1eccfb157a
2 changed files with 1 additions and 3 deletions

View File

@ -1588,6 +1588,7 @@ def main() -> None:
"networkx>=2.5.1",
"jinja2",
"fsspec>=0.8.5",
'intel-openmp==2025.1.1 ;platform_system == "Windows" ', # for Windows inductor
]
if BUILD_PYTHON_ONLY:
install_requires += [f"{LIBTORCH_PKG_NAME}=={TORCH_VERSION}"]