Skip to content

add aarch64 docker for torch and xla wheels #3666

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ ARG bazel_jobs=""
ARG git_clone="true"

RUN apt-get update
RUN apt-get install -y git sudo python-pip python3-pip
RUN apt-get install -y git sudo python3-pip
RUN git clone https://github.com/pytorch/pytorch

RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN sudo apt-get install -y -q
Comment on lines +20 to +21
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you elaborate a bit on what this line is trying to do?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was getting debian front end config issues, it was going into interactive mode and expecting user response.
I see you aleady have this for the wheel script (https://github.com/pytorch/xla/blob/master/scripts/build_torch_wheels.sh#L9) , but still it was going to interactive mode

DEBIAN_FRONTEND=noninteractive

When I looked around, this is where I found the above solution
moby/moby#27988 (comment)


# Disable CUDA for PyTorch
ENV USE_CUDA "0"

Expand Down