Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 0ff147f

Browse files
committed
[CircleCI] build-1604: restore pytorch cache instead of obsolete ATen
8a80728 (Sun Apr 22 08:54:09 2018 -0700) replaced ATen submodule with PyTorch submodule and updated the CircleCI configuration except for restoring ATen compilation cache in 1604 configuration: it attempts to take the hash of a no longer existing submodule ATen. As a result, this configuration attempts to load from non-existent cache, fails and has to recompile ATen every time. Take the hash of the pytorch submodule instead since ATen now comes from there. Storing to compilation cache already uses the pytorch hash.
1 parent 78399a0 commit 0ff147f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137

138138
- restore_cache:
139139
keys:
140-
- v1-aten-{{ checksum ".git/modules/third-party/ATen/HEAD" }}-{{ checksum "build.sh" }}-{{ checksum ".circleci/config.yml" }}-{{ arch }}-1604
140+
- v1-aten-{{ checksum ".git/modules/third-party/pytorch/HEAD" }}-{{ checksum "build.sh" }}-{{ checksum ".circleci/config.yml" }}-{{ arch }}-1604
141141

142142
- restore_cache:
143143
keys:

0 commit comments

Comments
 (0)