-
Notifications
You must be signed in to change notification settings - Fork 36
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
Drop support for RedisAI 1.2.5 #383
Changes from 1 commit
e930cbb
bae8108
8871ee9
675e53f
f991339
f59b47d
2cd4276
8f7a56a
546abf3
8742857
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 |
---|---|---|
|
@@ -67,8 +67,6 @@ def check_py_onnx_version(versions: Versioner) -> None: | |
f"Python {py_version.major}.{py_version.minor}. " | ||
"Instead consider using Python 3.8 or 3.9 with Onnx " | ||
) | ||
if sys.platform == "linux": | ||
msg += "1.2.5 or " | ||
Comment on lines
-70
to
-71
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. Your removal makes sense but I'm confused by the underlying error message. Shouldn't we be saying that 1.2.7 applies to the redisAI version not the ONNX version? 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. yeah, that is a typo that I just noticed and asked Al to fix up while he is here 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. Yep, see other comment on modified file - I am a bit confused. |
||
msg += "1.2.7." | ||
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. Since we no longer have branching logic based on OS, would you mind folding this into a single str to avoid the extra bin op and alloc? "Instead consider using Python 3.8 or 3.9 with RedisAI 1.2.7"
# ^^^^^^^^^^^^^
# Also could fix this `Onnx` vs `RAI` typo, while your here? 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. OK, wait, here there is something I don't understand (and I think @mellis13 also mentioned this): if a user is here, RedisAI 1.2.7 is being used (we do not support other versions), but the problem is that ONNX is not compatible with Python. Should we put the ONNX version (1.11) instead of the RedisAI version? 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. @mellis13 @MattToast unifying warning message thread 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. Yes -- I think we should specify the onnx version. Shouldn't the error message be: "An onnx wheel is not available for " 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. ^^ Agreed! lets use that |
||
raise SetupError(msg) | ||
_check_packages_in_python_env( | ||
|
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.
Does this docker image use an old version of pytorch we need to upgrade (1.9.1 instead of 1.11):
https://github.com/CrayLabs/SmartSim/blob/develop/docker/testing/Dockerfile
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.
Yes, I think you are right. We need to update the container too before we release.