Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Build PyTorch without Breakpad #2255

Merged
merged 1 commit into from
Apr 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build-setup/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ export USE_MKLDNN=ON
export USE_QNNPACK=OFF
export USE_PYTORCH_QNNPACK=OFF
[ $(uname -m) = x86_64 ] && export USE_XNNPACK=OFF
[ $(uname -m) != x86_64 ] && export USE_BREAKPAD=OFF
# Breakpad is undesirable as it causes libtorch_cpu to have an executable stack
export USE_BREAKPAD=OFF
export PYTORCH_BUILD_VERSION=1.11.0
export PYTORCH_BUILD_NUMBER=1
/usr/local/gcc103/bin/python3.7 setup.py install
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/docker/build_linux_build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sleep 5
HOST=docker.elastic.co
ACCOUNT=ml-dev
REPOSITORY=ml-linux-build
VERSION=21
VERSION=22

set -e

Expand Down
2 changes: 1 addition & 1 deletion dev-tools/docker/linux_builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#

# Increment the version here when a new tools/3rd party components image is built
FROM docker.elastic.co/ml-dev/ml-linux-build:21
FROM docker.elastic.co/ml-dev/ml-linux-build:22

MAINTAINER David Roberts <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions dev-tools/docker/linux_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ RUN \
export USE_QNNPACK=OFF && \
export USE_PYTORCH_QNNPACK=OFF && \
export USE_XNNPACK=OFF && \
export USE_BREAKPAD=OFF && \
export PYTORCH_BUILD_VERSION=1.11.0 && \
export PYTORCH_BUILD_NUMBER=1 && \
/usr/local/bin/python3.7 setup.py install && \
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/docker/linux_tester/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#

# Increment the version here when a new tools/3rd party components image is built
FROM docker.elastic.co/ml-dev/ml-linux-build:21
FROM docker.elastic.co/ml-dev/ml-linux-build:22

MAINTAINER David Roberts <[email protected]>

Expand Down