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

Fixes #160962

Pull Request resolved: https://github.com/pytorch/pytorch/pull/160976
Approved by: https://github.com/xuhancn, https://github.com/atalman
This commit is contained in:
Wang, Chuanqi
2025-08-20 16:33:12 +00:00
committed by PyTorch MergeBot
parent 8e17709055
commit e483947047
2 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,9 @@ python -m pip install pulp==2.9.0
# Install expecttest to merge https://github.com/pytorch/pytorch/pull/155308
python -m pip install expecttest==0.3.0
# Install intel-openmp
python -m pip install intel-openmp==2025.1.1
run_tests() {
# Run nvidia-smi if available
for path in '/c/Program Files/NVIDIA Corporation/NVSMI/nvidia-smi.exe' /c/Windows/System32/nvidia-smi.exe; do

View File

@ -1588,7 +1588,6 @@ 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}"]