Skip to content

Commit

Permalink
pin TEI cpu version
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jul 15, 2024
1 parent 90cd353 commit 9ae5621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_txi/text_embedding_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __post_init__(self) -> None:
self.image = "ghcr.io/huggingface/text-embeddings-inference:latest"
else:
LOGGER.info("\t+ Using the latest CPU image for Text-Embedding-Inference")
self.image = "ghcr.io/huggingface/text-embeddings-inference:cpu-latest"
self.image = "ghcr.io/huggingface/text-embeddings-inference:cpu-1.4"

if is_nvidia_system() and "cpu" in self.image:
LOGGER.warning("\t+ You are running on a NVIDIA GPU system but using a CPU image.")
Expand Down

0 comments on commit 9ae5621

Please sign in to comment.