From f896be74fe5495b1f21a8da2a70646f72866d08a Mon Sep 17 00:00:00 2001 From: Huy Do Date: Fri, 20 Jan 2023 18:26:28 -0800 Subject: [PATCH 1/2] Use pytorch/sccache --- .circleci/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/docker/Dockerfile b/.circleci/docker/Dockerfile index 16b11ca11a1a..4364cf7648b1 100644 --- a/.circleci/docker/Dockerfile +++ b/.circleci/docker/Dockerfile @@ -88,7 +88,7 @@ ENV RUSTUP_HOME /opt/rustup RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y RUN . $CARGO_HOME/env && \ - git clone --recursive https://github.com/mozilla/sccache.git && \ + git clone --recursive https://github.com/pytorch/sccache.git && \ cd sccache && \ cargo install sccache && \ cd .. && \ From 50a303550782427998d84810607ba969c12a8e8b Mon Sep 17 00:00:00 2001 From: Huy Do Date: Fri, 20 Jan 2023 18:41:17 -0800 Subject: [PATCH 2/2] Up the image version --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b135d4601d82..74d7a031c26a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,8 +23,8 @@ launch_docker_and_build: &launch_docker_and_build # To allow the upstream workflow to access PyTorch/XLA build images, we # need to have them in the ECR. This is not expensive, and only pushes it # if image layers are not present in the repo. - docker tag ${GCR_DOCKER_IMAGE} ${ECR_DOCKER_IMAGE_BASE}:v0.6 >/dev/null - docker push ${ECR_DOCKER_IMAGE_BASE}:v0.6 >/dev/null + docker tag ${GCR_DOCKER_IMAGE} ${ECR_DOCKER_IMAGE_BASE}:v0.7 >/dev/null + docker push ${ECR_DOCKER_IMAGE_BASE}:v0.7 >/dev/null sudo pkill -SIGHUP dockerd # To enable remote caching, use SCCACHE_BUCKET=${SCCACHE_BUCKET} # To disable remote caching, use SCCACHE_BUCKET=${LOCAL_BUCKET}