Skip to content
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

Fix tensorflow upperbound macos #1901

Conversation

RobertSamoilescu
Copy link
Contributor

@RobertSamoilescu RobertSamoilescu commented Sep 9, 2024

Limited tensorflow upperbound to 2.17 for macos.
It seems that 2.17 is not compiled for macos (see package location here)

runtimes/huggingface/pyproject.toml Outdated Show resolved Hide resolved
# see: https://www.tensorflow.org/install/pip#package_location
tensorflow = [
{markers = "sys_platform == 'darwin' and platform_machine == 'x86_64'", version = ">=2.12,<2.17"},
{markers = "sys_platform != 'darwin' or platform_machine != 'x86_64'", version = ">=2.12,<2.18"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is probably fine, although I wondered a bit if we should be explicitly about what we include (as opposed to exclude).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since 2.17.0 is the latest version, I think it is ok. If future version will support MacOS, then we can be more explicit about the version we want to include/exclude.

Co-authored-by: Sherif Akoush <sherif.akoush@gmail.com>
@RobertSamoilescu RobertSamoilescu merged commit a5c82d1 into SeldonIO:master Sep 9, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants