Skip to content

Commit 23d934a

Browse files
committed
Add test for openvino-nightly
1 parent 2588077 commit 23d934a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test_openvino.yml

+6
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ jobs:
3636
- name: Test with Pytest
3737
run: |
3838
pytest tests/openvino/ --ignore test_modeling_basic
39+
- name: Test openvino-nightly
40+
run: |
41+
pip uninstall -y openvino
42+
pip install openvino-nightly
43+
python -c "from optimum.intel import OVModelForCausalLM; OVModelForCausalLM.from_pretrained('hf-internal-testing/tiny-random-gpt2', export=True, compile=False)"
44+
optimum-cli export openvino -m hf-internal-testing/tiny-random-gpt2 gpt2-ov

0 commit comments

Comments
 (0)