Skip to content

Commit

Permalink
Tiny test updates (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
helena-intel authored Aug 2, 2023
1 parent f2fdce2 commit 44cebca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test_openvino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- name: Install dependencies
run: |
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 .[openvino,nncf,tests,diffusers]
- name: Test with Pytest
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/openvino/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
"pegasus",
)
GENERATION_LENGTH = 100
SPEEDUP_CACHE = 1.2
SPEEDUP_CACHE = 1.1

@parameterized.expand(SUPPORTED_ARCHITECTURES)
def test_compare_to_transformers(self, model_arch):
Expand Down

0 comments on commit 44cebca

Please sign in to comment.