Skip to content

Commit

Permalink
add MPT support
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Sep 7, 2023
1 parent 375942f commit f093353
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_openvino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
python -m pip install --upgrade pip
# install PyTorch CPU version to avoid installing CUDA packages on GitHub runner without GPU
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install git+https://github.com/huggingface/optimum.git
pip install .[openvino,nncf,tests,diffusers]
- name: Test with Pytest
run: |
Expand Down
1 change: 1 addition & 0 deletions tests/openvino/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
"gpt_neox",
"llama",
"marian",
"mpt",
"opt",
"pegasus",
)
Expand Down
1 change: 1 addition & 0 deletions tests/openvino/utils_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"mobilenet_v1": "google/mobilenet_v1_0.75_192",
"mobilenet_v2": "hf-internal-testing/tiny-random-MobileNetV2Model",
"mobilevit": "hf-internal-testing/tiny-random-mobilevit",
"mpt": "hf-internal-testing/tiny-random-MptForCausalLM",
"mt5": "stas/mt5-tiny-random",
"nystromformer": "hf-internal-testing/tiny-random-NystromformerModel",
"pegasus": "hf-internal-testing/tiny-random-pegasus",
Expand Down

0 comments on commit f093353

Please sign in to comment.