Skip to content

Nightly MacOS wheels are no longer build with OpenMP support #123225

@malfet

Description

@malfet

🐛 Describe the bug

Consider:

 python -c "import torch;from pathlib import Path;print(torch.__version__, torch.backends.openmp.is_available(), '\n'.join(str(x) for x in (Path(torch.utils.cmake_prefix_path).parent.parent / 'include').glob('omp.h')))"
2.3.0 True /Users/nshulga/miniforge3/envs/py311/lib/python3.11/site-packages/torch/include/omp.h

But:

% python -c "import torch;from pathlib import Path;print(torch.__version__, torch.backends.openmp.is_available(), '\n'.join(str(x) for x in (Path(torch.utils.cmake_prefix_path).parent.parent / 'include').glob('*.h')))"
2.4.0.dev20240401 False

Versions

2.3.0, nightly

cc @seemethere @osalpekar @atalman @albanD

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: binariesAnything related to official binaries that we release to usersmodule: macosMac OS related issuesmodule: regressionIt used to work, and now it doesn'ttriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions