Skip to content

Commit 9f2b135

Browse files
committed
fix(ci): use writable transformers module cache
Signed-off-by: oliver könig <okoenig@nvidia.com>
1 parent 33b8f85 commit 9f2b135

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/actions/test-template/action.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ runs:
136136
--env GHA_RUNNER=${{ inputs.runner }} \
137137
--env HYDRA_FULL_ERROR=1 \
138138
--env HF_HOME=$HF_HOME \
139+
--env HF_MODULES_CACHE=/home/ubuntu/.cache/huggingface/modules \
139140
--env NEMO_HOME=$NEMO_HOME \
140141
--env RUN_ID=${{ github.run_id }} \
141142
--env UV_NO_SYNC=1 \

‎.github/scripts/test_docker_dependency_layers.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ grep -q 'MOUNT_FS: ${{ inputs.is_unit_test == '\''false'\'' }}' "$composite_acti
248248
grep -q 'HF_HOME=/home/TestData/HF_HOME' "$composite_action"
249249
grep -q 'NEMO_HOME=/home/TestData/nemo_home' "$composite_action"
250250
grep -q 'HF_HOME=/home/ubuntu/.cache/huggingface' "$composite_action"
251+
grep -q -- '--env HF_MODULES_CACHE=/home/ubuntu/.cache/huggingface/modules' "$composite_action"
251252
grep -q 'NEMO_HOME=/home/ubuntu/.cache/nemo' "$composite_action"
252253

253254
# The baseline dependency layer must be structurally independent of the mutable

0 commit comments

Comments
 (0)