From eb1adce55ff379272aa4199b6d703e50ff60343d Mon Sep 17 00:00:00 2001 From: Xu Zhao Date: Mon, 16 Oct 2023 15:44:48 -0700 Subject: [PATCH] Build the nightly docker (#1985) Summary: GCP has some issues accessing Ubuntu repo, move the system level package install to the base image. Problematic docker build: https://github.com/pytorch/benchmark/actions/runs/6509843007 Test docker build: https://github.com/pytorch/benchmark/actions/runs/6517632118 Pull Request resolved: https://github.com/pytorch/benchmark/pull/1985 Reviewed By: aaronenyeshi Differential Revision: D50338416 Pulled By: xuzhao9 fbshipit-source-id: 365cabfcd81e2df7e70ae24aa7d6a3f748308a03 --- docker/torchbench-nightly.dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/torchbench-nightly.dockerfile b/docker/torchbench-nightly.dockerfile index cdea00bf2e..95ecae4c3e 100644 --- a/docker/torchbench-nightly.dockerfile +++ b/docker/torchbench-nightly.dockerfile @@ -7,9 +7,6 @@ ENV CONDA_ENV=torchbench ENV SETUP_SCRIPT=/workspace/setup_instance.sh ARG TORCHBENCH_BRANCH=${TORCHBENCH_BRANCH:-main} -# Setup dependencies -RUN sudo apt install -y libsdl2-dev libsdl2-2.0-0 - # Setup Conda env and CUDA RUN git clone -b "${TORCHBENCH_BRANCH}" --single-branch \ https://github.com/pytorch/benchmark /workspace/benchmark