Skip to content

Commit

Permalink
try cache
Browse files Browse the repository at this point in the history
  • Loading branch information
saienduri committed Apr 16, 2024
1 parent 1c22eed commit c6fd3de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_iree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ jobs:
- name: "Running real weight model tests"
env:
IREE_TEST_CONFIG_FILES: iree_tests/configs/config_pytorch_models_cpu_llvm_task.json
IREE_TEST_FILES: ~/iree_tests_cache
run: |
source ${VENV_DIR}/bin/activate
pytest iree_tests/pytorch/models -s -n 4 -k real_weights -rpfE --timeout=1200 --retries 2 --retry-delay 5 --durations=0
1 change: 1 addition & 0 deletions iree_tests/download_remote_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def download_azure_remote_file(test_dir: Path, remote_file: str):
local_dir_path = test_dir
local_file_path = test_dir / remote_file_name
else:
cache_location = os.path.expanduser(cache_location)
local_dir_path = Path(cache_location) / "iree_tests" / relative_dir
local_file_path = Path(cache_location) / "iree_tests" / relative_dir / remote_file_name
if check_azure_remote_file_matching_local(blob_properties, local_file_path):
Expand Down

0 comments on commit c6fd3de

Please sign in to comment.