8000 [CI] Test PyTorch on M1 using OpenMP (#114738) · pytorch/pytorch@b20330e · GitHub
[go: up one dir, main page]

Skip to content

Commit b20330e

Browse files
malfetpytorchmergebot
authored andcommitted
[CI] Test PyTorch on M1 using OpenMP (#114738)
Baby step towards #114721 Pull Request resolved: #114738 Approved by: https://github.com/DanilBaibak, https://github.com/atalman
1 parent e891a3b commit b20330e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/pytorch/macos-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ cross_compile_arm64() {
4343
compile_arm64() {
4444
# Compilation for arm64
4545
# TODO: Compile with OpenMP support (but this causes CI regressions as cross-compilation were done with OpenMP disabled)
46-
USE_DISTRIBUTED=0 USE_OPENMP=0 MACOSX_DEPLOYMENT_TARGET=11.0 WERROR=1 BUILD_TEST=OFF USE_PYTORCH_METAL=1 python setup.py bdist_wheel
46+
USE_DISTRIBUTED=0 USE_OPENMP=1 MACOSX_DEPLOYMENT_TARGET=11.0 WERROR=1 BUILD_TEST=OFF USE_PYTORCH_METAL=1 python setup.py bdist_wheel
4747
}
4848

4949
compile_x86_64() {

0 commit comments

Comments
 (0)
0