File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,16 @@ jobs:
27
27
uses : actions/setup-python@v3
28
28
with :
29
29
python-version : ${{ matrix.python-version }}
30
- - name : Install dependencies for pytorch export
30
+ - name : Install dependencies
31
31
run : |
32
32
pip install .[tests,openvino]
33
- - name : Test with unittest
33
+ - name : Test
34
34
run : |
35
35
HF_HOME=/tmp/ huggingface-cli download hf-internal-testing/tiny-random-gpt2
36
36
HF_HOME=/tmp/ HF_HUB_OFFLINE=1 optimum-cli export openvino --model hf-internal-testing/tiny-random-gpt2 gpt2_openvino --task text-generation
37
+
37
38
huggingface-cli download hf-internal-testing/tiny-random-gpt2
38
39
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
You can’t perform that action at this time.
0 commit comments