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

Commit 4cb9c10

Browse files
committed
[CircleCI] use matching names for storing and restoring ATen cache
8a80728 (Sun Apr 22 08:54:09 2018 -0700) replaced ATen submodule with PyTorch, updating the test script instructions. On build-1404 instances, it changed the compilation cache key prefix from v1-aten to v1-pytorch when restoring, but did not change the prefix for storing the compiled files. As a result, ATen is being recompiled on every test run unnecessarily. Use v1-aten as key prefix in both storing and restoring the compilation cache. -aten is chosen over -pytorch for consistency with build-1604.
1 parent 0ff147f commit 4cb9c10

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
@@ -26,7 +26,7 @@ jobs:
2626

2727
- restore_cache:
2828
keys:
29-
- v1-pytorch-{{ checksum ".git/modules/third-party/pytorch/HEAD" }}-{{ checksum "build.sh" }}-{{ checksum ".circleci/config.yml" }}-{{ arch }}-1404
29+
- v1-aten-{{ checksum ".git/modules/third-party/pytorch/HEAD" }}-{{ checksum "build.sh" }}-{{ checksum ".circleci/config.yml" }}-{{ arch }}-1404
3030

3131
- restore_cache:
3232
keys:

0 commit comments

Comments
 (0)