Skip to content

Commit 56b152e

Browse files
committed
Add phi OpenVINO export support
1 parent 086fae3 commit 56b152e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/openvino/test_modeling.py

+1
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
502502
"qwen2",
503503
"stablelm",
504504
# "starcoder2", # TODO: enable with next transformers release
505+
"phi",
505506
)
506507
GENERATION_LENGTH = 100
507508
IS_SUPPORT_STATEFUL = is_openvino_version(">=", "2023.3")

tests/openvino/utils_tests.py

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"nystromformer": "hf-internal-testing/tiny-random-NystromformerModel",
7171
"pegasus": "hf-internal-testing/tiny-random-pegasus",
7272
"pix2struct": "fxmarty/pix2struct-tiny-random",
73+
"phi": "hf-internal-testing/tiny-random-PhiForCausalLM",
7374
"poolformer": "hf-internal-testing/tiny-random-PoolFormerModel",
7475
"qwen": "katuni4ka/tiny-random-qwen",
7576
"qwen2": "Qwen/Qwen1.5-0.5B",

0 commit comments

Comments
 (0)