File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,11 @@ jobs:
116116 python -c "import torch; print('CUDA:', torch.version.cuda)"
117117 python -c "from torch.utils import cpp_extension; print (cpp_extension.CUDA_HOME)"
118118
119+ - name : Prepare for cache (remove git metadata)
120+ if : always()
121+ run : |
122+ find csrc/ -name ".git*" -exec rm -rf {} + 2>/dev/null || true
123+
119124 - name : Restore build cache
120125 uses : actions/cache/restore@v4
121126 with :
@@ -125,9 +130,6 @@ jobs:
125130 dist
126131 csrc/
127132 key : build-${{ inputs.release-version }}-${{ inputs.python-version }}-${{ inputs.cuda-version }}-${{ inputs.torch-version }}-${{ inputs.cxx11-abi }}
128- exclude : |
129- **/.git
130- **/.git/**
131133
132134 - name : Log build logs
133135 run : |
You can’t perform that action at this time.
0 commit comments