Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GHA] CVS-196480 npu tests use smb (#39537)

Jakub Koniuszewski23f72b23d7f9
diff --git a/.github/workflows/job_npu_tests.yml b/.github/workflows/job_npu_tests.yml
index 35272a1540b..5f196221509 100644
--- a/.github/workflows/job_npu_tests.yml
+++ b/.github/workflows/job_npu_tests.yml
@@ -32,6 +32,8 @@ permissions: read-all
env:
PYTHON_VERSION: '3.11'
+ HF_HUB_CACHE_WIN: "C:\\mount\\caches\\huggingface"
+ HF_TOKEN_PATH_WIN: "C:\\mount\\secrets\\huggingface\\token-secondary"
# To debug NPU compiler, set OV_NPU_LOG_LEVEL=LOG_INFO or higher
# OV_NPU_LOG_LEVEL: 'LOG_INFO'
@@ -73,6 +75,12 @@ jobs:
path: ${{ env.INSTALL_WHEELS_DIR }}
merge-multiple: true
+ - name: Setup Variables
+ run: |
+ Add-Content -Path $env:GITHUB_ENV -Value "HF_HUB_CACHE=${{ env.HF_HUB_CACHE_WIN }}"
+ Add-Content -Path $env:GITHUB_ENV -Value "HUGGINGFACE_HUB_CACHE=${{ env.HF_HUB_CACHE_WIN }}"
+ Add-Content -Path $env:GITHUB_ENV -Value "HF_TOKEN_PATH=${{ env.HF_TOKEN_PATH_WIN }}"
+
- name: Extract OpenVINO tests package
run: Expand-Archive openvino_tests.zip -DestinationPath . -Verbose
working-directory: ${{ env.INSTALL_DIR }}