File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2929 CCACHE_COMPRESS : " true"
3030 container :
3131 image : ${{ matrix.image }}
32- options : --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined --group-add video --user root
32+ # Cache save/restore is on the host machine at directory /home/runner/.triton, while in the docker
33+ # container expect it at /github/home/.triton. So map here to make sure visible in docker.
34+ options : >-
35+ --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined --group-add video --user root
36+ --volume /home/runner/.triton:/github/home/.triton
3337 steps :
3438 - name : Checkout
3539 uses : actions/checkout@v4
5256 echo "llvm=$(cat $llvm_file | cut -c 1-8)" >> $GITHUB_OUTPUT
5357 echo "nvidia=$(sha256sum $nvidia_file | cut -d ' ' -f 1)" >> $GITHUB_OUTPUT
5458 echo "json=$(cat $json_file)" >> $GITHUB_OUTPUT
55- echo "datetime=$(date -u -Iseconds)" >> $GITHUB_OUTPUT
5659 shell : bash
5760 - name : Cache build dependencies
5861 uses : actions/cache@v4
@@ -160,5 +163,5 @@ jobs:
160163 # Always cleanup the worker, even if builds or tests failed
161164 if : always()
162165 run : |
163- rm -rf ~/.triton
166+ rm -rf ~/.triton/cache
164167 rm -rf ~/.ccache
You can’t perform that action at this time.
0 commit comments