Skip to content

Commit 1efc484

Browse files
author
Peyton Gardipee
committed
Show cache for debugging
1 parent e9de383 commit 1efc484

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/cpu-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,22 @@ jobs:
123123
pip install '.[extra,compiler,test]' -U --upgrade-strategy eager
124124
pip list
125125
126+
- name: Show cache before tests
127+
run: |
128+
pip install -q py-tree
129+
echo "=== Cache contents before tests ==="
130+
python -m py_tree -d 1 .cache-HF
131+
126132
- name: Run tests
127133
env:
128134
HF_TOKEN: ${{ secrets.HF_TOKEN }}
129135
run: pytest -v litgpt/ tests/ --timeout=180 --durations=100
130136

131-
- name: Show cache
137+
- name: Show cache after tests
138+
if: always()
132139
run: |
133140
pip install -q py-tree
141+
echo "=== Cache contents after tests ==="
134142
python -m py_tree -d 1 .cache-HF
135143
136144
testing-guardian:

0 commit comments

Comments
 (0)