Skip to content

Commit

Permalink
fix: more speedup on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jun 8, 2024
1 parent fedf295 commit f5226aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/infinity_emb/tests/unit_test/inference/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _pretrained_model_score(
@pytest.mark.parametrize(
"model,score,compute_type",
[
("sentence-transformers/bert-base-nli-mean-tokens", 76.40, "int8"),
("sentence-transformers/bert-base-nli-mean-tokens", 76.37, "int8"),
("sentence-transformers/bert-base-nli-mean-tokens", 76.46, None),
("sentence-transformers/all-MiniLM-L6-v2", 81.03, None),
("sentence-transformers/all-MiniLM-L6-v2", 81.03, "default"),
Expand Down
1 change: 1 addition & 0 deletions libs/infinity_emb/tests/unit_test/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ async def test_async_api_torch_usage():


@pytest.mark.anyio
@pytest.mark.skipif(sys.platform != "linux", reason="only run these on Linux")
@pytest.mark.parametrize(
"embedding_dtype",
[
Expand Down

0 comments on commit f5226aa

Please sign in to comment.