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

connect: install TensorFlow Serving #776

Closed
aronatkins opened this issue May 22, 2024 · 1 comment · Fixed by #778
Closed

connect: install TensorFlow Serving #776

aronatkins opened this issue May 22, 2024 · 1 comment · Fixed by #778
Assignees

Comments

@aronatkins
Copy link
Contributor

aronatkins commented May 22, 2024

Install TensorFlow Serving into the Connect Ubuntu 22 image. This can be done with commands similar to:

RUN echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" > /etc/apt/sources.list.d/tensorflow-serving.list && \
    curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | apt-key add -
RUN export DEBIAN_FRONTEND=noninteractive && \
    apt-get update && \
    apt-get install -y \
    tensorflow-model-server-universal \
    && rm -rf /var/lib/apt/lists/*

This is installing tensorflow-model-server-universal not tensorflow-model-server, as the universal binary has basic optimizations, but no platform-specific instructions.

Additional details about TensorFlow Serving installation: https://www.tensorflow.org/tfx/serving/setup

Connect will separately enable TensorFlow Serving; see #777.

@aronatkins aronatkins self-assigned this May 22, 2024
aronatkins added a commit that referenced this issue May 24, 2024
Install the universal binary. No configuration modifications.

Fixes #776
aronatkins added a commit that referenced this issue May 24, 2024
Install the universal binary. No configuration modifications.

Fixes #776
aronatkins added a commit that referenced this issue May 24, 2024
Install the universal binary. No configuration modifications.

Fixes #776
aronatkins added a commit that referenced this issue May 30, 2024
Install the universal binary. No configuration modifications.

Fixes #776
aronatkins added a commit that referenced this issue May 30, 2024
Install the universal binary. No configuration modifications.

Fixes #776
aronatkins added a commit that referenced this issue May 30, 2024
Install the universal binary. No configuration modifications.

Fixes #776
@aronatkins
Copy link
Contributor Author

Closing, as #785 has merged.

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 a pull request may close this issue.

1 participant