Separate cache for different images

This commit is contained in:
Cheng
2025-07-25 08:15:03 +09:00
parent 1ae2f817bf
commit f1394d3365

View File

@@ -214,7 +214,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- mlx-v1-cuda-{{ arch }}- - cuda-<< parameters.image_date >>-{{ arch }}-
- run: - run:
name: Install dependencies name: Install dependencies
command: | command: |
@@ -245,7 +245,7 @@ jobs:
ccache --max-size 400MB ccache --max-size 400MB
ccache --cleanup ccache --cleanup
- save_cache: - save_cache:
key: mlx-v1-cuda-{{ arch }}-{{ epoch }} key: cuda-<< parameters.image_date >>-{{ arch }}-{{ epoch }}
paths: paths:
- /home/circleci/.cache/ccache - /home/circleci/.cache/ccache