Skip to content

Commit

Permalink
0.0.75 release
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jan 22, 2025
1 parent 2dbb178 commit 5e24a56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions libs/infinity_emb/infinity_emb/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,15 @@ def cli():
"--show-completion",
"--install-completion",
]:
logger.critical(
"Error: No command given. Please use infinity with the `v2` command. "
f"This is deprecated since 0.0.32. You are on {infinity_emb.__version__}"
"Usage: `infinity_emb v2 --model-id BAAI/bge-large-en-v1.5"
)
if len(sys.argv) == 1 or sys.argv[1] not in ["v1", "v2", "help", "--help"]:
logger.error(
"Error: No command given. Please use infinity with the `v2` command. "
f"This is deprecated since 0.0.32. You are on {infinity_emb.__version__}. "
"Usage: `infinity_emb v2 --model-id BAAI/bge-large-en-v1.5. "
"defaulting to `v2` since 0.0.75. Please pin your revision for future upgrades."
)

sys.argv.insert(1, "v2")
tp()


Expand Down
2 changes: 1 addition & 1 deletion libs/infinity_emb/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[tool.poetry]
name = "infinity_emb"
version = "0.0.74"
version = "0.0.75"
description = "Infinity is a high-throughput, low-latency REST API for serving text-embeddings, reranking models and clip."
authors = ["michaelfeil <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 5e24a56

Please sign in to comment.