Skip to content

Commit

Permalink
chore: Remove cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hh-space-invader committed Mar 4, 2025
1 parent 6c69d40 commit 643ccc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_text_multitask_embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def test_task_assignment():
@pytest.mark.parametrize("model_name", ["jinaai/jina-embeddings-v3"])
def test_lazy_load(model_name: str):
is_ci = os.getenv("CI")
model = TextEmbedding(model_name=model_name, lazy_load=True, cache_dir="models")
model = TextEmbedding(model_name=model_name, lazy_load=True)
assert not hasattr(model.model, "model")

list(model.embed(docs))
Expand Down

0 comments on commit 643ccc9

Please sign in to comment.