Skip to content

Commit

Permalink
Adds skip test for not supported device
Browse files Browse the repository at this point in the history
Signed-off-by: Flavia Beo <[email protected]>
  • Loading branch information
flaviabeo committed Nov 5, 2024
1 parent 6297694 commit 480287e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ def test_get_pooling_config_from_args():
assert minilm_pooling_config.pooling_type == PoolingType.CLS.name


@pytest.mark.skipif(current_platform.is_rocm(),
reason="Xformers backend is not supported on ROCm.")
def test_get_bert_tokenization_sentence_transformer_config():
bge_model_config = ModelConfig(
model="BAAI/bge-base-en-v1.5",
Expand Down

0 comments on commit 480287e

Please sign in to comment.