Skip to content

Commit bca29fe

Browse files
fix
1 parent 0c8a784 commit bca29fe

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test_offline.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,16 @@ jobs:
2727
uses: actions/setup-python@v3
2828
with:
2929
python-version: ${{ matrix.python-version }}
30-
- name: Install dependencies for pytorch export
30+
- name: Install dependencies
3131
run: |
3232
pip install .[tests,openvino]
33-
- name: Test with unittest
33+
- name: Test
3434
run: |
3535
HF_HOME=/tmp/ huggingface-cli download hf-internal-testing/tiny-random-gpt2
3636
HF_HOME=/tmp/ HF_HUB_OFFLINE=1 optimum-cli export openvino --model hf-internal-testing/tiny-random-gpt2 gpt2_openvino --task text-generation
37+
3738
huggingface-cli download hf-internal-testing/tiny-random-gpt2
3839
HF_HUB_OFFLINE=1 optimum-cli export openvino --model hf-internal-testing/tiny-random-gpt2 gpt2_openvino --task text-generation
39-
pytest tests/openvino/test_modeling.py -k "test_load_model_from_hub and not from_hub_openvino" -s -vvvvv
40-
HF_HUB_OFFLINE=1 pytest tests/openvinoruntime/test_modeling.py -k "test_load_model_from_hub and not from_hub_openvino" -s -vvvvv
40+
41+
pytest tests/openvino/test_modeling.py -k "test_load_from_hub" -s -vvvvv
42+
HF_HUB_OFFLINE=1 pytest tests/openvino/test_modeling.py -k "test_load_from_hub" -s -vvvvv

0 commit comments

Comments
 (0)