Skip to content

Fix tensorflow upperbound macos#1901

Merged
RobertSamoilescu merged 5 commits into
SeldonIO:masterfrom
RobertSamoilescu:fix/tensorflow-upperbound-macos
Sep 9, 2024
Merged

Fix tensorflow upperbound macos#1901
RobertSamoilescu merged 5 commits into
SeldonIO:masterfrom
RobertSamoilescu:fix/tensorflow-upperbound-macos

Conversation

@RobertSamoilescu

@RobertSamoilescu RobertSamoilescu commented Sep 9, 2024

Copy link
Copy Markdown
Contributor

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

Comment thread runtimes/huggingface/pyproject.toml Outdated
# 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
Copy Markdown
Contributor

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
Copy Markdown
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.

@RobertSamoilescu
RobertSamoilescu merged commit a5c82d1 into SeldonIO:master Sep 9, 2024
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