Skip to content

Commit

Permalink
fix: pytest faster
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jun 8, 2024
1 parent 8daad05 commit fedf295
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/infinity_emb/tests/unit_test/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ async def test_async_api_torch_usage():
[
EmbeddingDtype.float32,
EmbeddingDtype.int8,
EmbeddingDtype.uint8,
# EmbeddingDtype.uint8,
EmbeddingDtype.ubinary,
],
)
Expand All @@ -210,6 +210,7 @@ async def test_async_api_torch_embedding_quant(embedding_dtype: EmbeddingDtype):
device = "cpu"
engine = AsyncEmbeddingEngine.from_args(
EngineArgs(
model_name_or_path="TaylorAI/gte-tiny",
engine=InferenceEngine.torch,
device=Device[device],
lengths_via_tokenize=True,
Expand Down

0 comments on commit fedf295

Please sign in to comment.