-
Notifications
You must be signed in to change notification settings - Fork 178
0.0.75 release #520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.0.75 release #520
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you can just run the docker file without the v2 command! |
||
| tp() | ||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syntax: The error message has a missing closing quote after BAAI/bge-large-en-v1.5