Skip to content

Commit 5eb013d

Browse files
authored
add caching
1 parent 19c5a9a commit 5eb013d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test_models.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ jobs:
2323
os: [nodai-amdgpu-mi250-x86-64]
2424

2525
runs-on: ${{matrix.os}}
26+
env:
27+
E2E_VENV_DIR: ${{ github.workspace }}/test-suite_venv
28+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
29+
AZ_PRIVATE_CONNECTION: ${{ secrets.ONNXPRIVATESTORAGE_AZ_PRIVATE_CONNECTION }}
30+
ROCR_VISIBLE_DEVICES: ${{ matrix.visible-device }}
31+
TORCH_HOME: /groups/aig_sharks/test-suite-ci-cache
32+
HF_HOME: /groups/aig_sharks/test-suite-ci-cache
33+
TURBINE_TANK_CACHE_DIR: /groups/aig_sharks/test-suite-ci-cache
2634
steps:
2735
# We are using a persistent Gentoo runner here, and this python action is not supported for the arch
2836
# - name: "Setting up Python"
@@ -73,4 +81,4 @@ jobs:
7381
pytest -v models/turbine_models/tests/sdxl_test.py --device vulkan --rt_device vulkan --iree_target_triple rdna3-unknown-linux
7482
pytest -v models/turbine_models/tests/sdxl_test.py --device rocm --rt_device hip --iree_target_triple gfx90a --precision fp16 --attn_spec default
7583
pytest -v models/turbine_models/tests/sdxl_test.py --device rocm --rt_device hip --iree_target_triple gfx90a --precision fp16 --attn_spec default --batch_size 2
76-
pytest -v models/turbine_models/tests/sd3_test.py --device cpu --rt_device local-task --iree_target_triple x86_64-linux-gnu --num_inference_steps 5
84+
pytest -v models/turbine_models/tests/sd3_test.py --device cpu --rt_device local-task --iree_target_triple x86_64-linux-gnu --num_inference_steps 5

0 commit comments

Comments
 (0)