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

[tf-notebook] Use nvidia/cuda runtime image instead of nvidia/cuda devel image #1783

Closed
r2d4 opened this issue Oct 15, 2018 · 0 comments
Closed

Comments

@r2d4
Copy link
Member

r2d4 commented Oct 15, 2018

For GPU support in our tensorflow notebook image, we currently use the development base image for cuda.

Switching to the runtime image should give us much smaller image sizes with the same functionality.

From the dockerhub page:

runtime: extends the base image by adding all the shared libraries from the CUDA toolkit.
Use this image if you have a pre-built application using multiple CUDA libraries.
devel: extends the runtime image by adding the compiler toolchain, the debugging tools, the headers and the static libraries.

https://hub.docker.com/r/nvidia/cuda/

Sizes of base iamge
9.0-cudnn7-devel-ubuntu16.04: 2.584 GB
9.0-cudnn7-runtime-ubuntu16.04: 1.148 GB

Savings: 1.436 GB

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

No branches or pull requests

1 participant