Skip to content

Commit

Permalink
fix tests without gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrawins committed Feb 20, 2024
1 parent bd84ca9 commit 30437ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/openvino/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ def test_compare_to_transformers(self, model_arch):
@parameterized.expand(SUPPORTED_ARCHITECTURES)
def test_compare_to_transformers_multithreading(self, model_arch):
model_id = MODEL_NAMES[model_arch]
if "llama_gptq" in model_arch:
self.skipTest("Not supported without gpu and disable_exllama=True option")
set_seed(SEED)
ov_model = OVModelForCausalLM.from_pretrained(model_id, export=True, ov_config=F32_CONFIG)
self.assertIsInstance(ov_model.config, PretrainedConfig)
Expand Down

0 comments on commit 30437ae

Please sign in to comment.