Update PeachPy submodule (#78326)

Forked the repo, merged latest changes into pre-generated branch and
update pregenerared opcodes

Re-enabled NNPACK builds on MacOS

Picking f8ef1a3c0a  fixes https://github.com/pytorch/pytorch/issues/76094

Pull Request resolved: https://github.com/pytorch/pytorch/pull/78326
Approved by: https://github.com/atalman, https://github.com/albanD
This commit is contained in:
Nikita Shulga
2022-05-26 13:58:36 +00:00
committed by PyTorch MergeBot
parent 18d46ea9fd
commit fa7117c64a
3 changed files with 4 additions and 4 deletions

2
.gitmodules vendored
View File

@ -65,7 +65,7 @@
[submodule "third_party/python-peachpy"]
ignore = dirty
path = third_party/python-peachpy
url = https://github.com/Maratyszcza/PeachPy.git
url = https://github.com/malfet/PeachPy.git
[submodule "third_party/python-six"]
ignore = dirty
path = third_party/python-six

View File

@ -33,11 +33,11 @@ fi
cross_compile_arm64() {
# Cross compilation for arm64
USE_DISTRIBUTED=1 CMAKE_OSX_ARCHITECTURES=arm64 MACOSX_DEPLOYMENT_TARGET=11.0 USE_MKLDNN=OFF USE_NNPACK=OFF USE_QNNPACK=OFF BUILD_TEST=OFF python setup.py bdist_wheel
USE_DISTRIBUTED=1 CMAKE_OSX_ARCHITECTURES=arm64 MACOSX_DEPLOYMENT_TARGET=11.0 USE_MKLDNN=OFF USE_QNNPACK=OFF BUILD_TEST=OFF python setup.py bdist_wheel
}
compile_x86_64() {
USE_DISTRIBUTED=1 USE_NNPACK=OFF python setup.py bdist_wheel
USE_DISTRIBUTED=1 python setup.py bdist_wheel
}
build_lite_interpreter() {