mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Separate cache for different images
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user