-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Size of gcr.io/kubeflow/tensorflow-notebook-* #37
Comments
I also think the size can be reduced. BTW: is it possible to push the images to dockerhub instead of gcr.io? |
@vishh Are we just using the tensorflow Docker images? I don't see any Dcokerfiles for these notebook images inside google/kubeflow. |
No it's not the same, if you do |
We'd like to support a bunch of different frameworks e.g.
Some questions:
|
Was there something in particular that was an issue with GCR.io?
…On Mon, Dec 18, 2017 at 9:21 AM Jeremy Lewi ***@***.***> wrote:
We'd like to support a bunch of different frameworks e.g.
- TensorFlow
- xgboost
- scikits
Some questions:
- Should we provide one fat image with all these libraries or have
multiple images?
- Are there existing, curated images that we can reuse as opposed to
building our own?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AADIdcz5ZT3V0JVJi_GKLtIAalLjMac4ks5tBp8OgaJpZM4RE31c>
.
|
@aronchick afaict gcr.io doesn't provide a human friendly URL to pass to people, which I've always found annoying for public images. @jlewi there's some at http://github.com/jupyter/docker-stacks/ (and PRs welcome!) that do get a fair amount of usage. |
I think it makes sense to have one "fat" image, it it allows us to keep the other images lean. |
This is the source for our existing Docker images So everything is public and we should probably move them into Kubeflow. Using an NVIDIA as the base image for our GPU images makes sense to me. /cc @flx42 |
Ok, let's discuss about the size again when it's on this repo. |
Remove a lot of bloat - install only the minimal set of packages required to get started with ML. Any packages required can be installed by the user in the notebook itself using pip install/conda install Image size has gone down from 12GB to 3GB for cpu image Having a lot of packages makes it very challenging to maintain them because of version conflicts Run everything as jovyan user - this enables user to run conda install / pip install without requiring sudo Add comments on every step Fixes #668 Fixes #37 Fixes #472
Remove a lot of bloat - install only the minimal set of packages required to get started with ML. Any packages required can be installed by the user in the notebook itself using pip install/conda install Image size has gone down from 12GB to 3GB for cpu image Having a lot of packages makes it very challenging to maintain them because of version conflicts Run everything as jovyan user - this enables user to run conda install / pip install without requiring sudo Add comments on every step Fixes kubeflow#668 Fixes kubeflow#37 Fixes kubeflow#472 Conflicts: components/tensorflow-notebook-image/Dockerfile components/tensorflow-notebook-image/build_image.sh components/tensorflow-notebook-image/releaser/components/workflows.libsonnet
… gcr.io locations (#703) * Refactor tensorflow-notebook-image/Dockerfile (#689) Remove a lot of bloat - install only the minimal set of packages required to get started with ML. Any packages required can be installed by the user in the notebook itself using pip install/conda install Image size has gone down from 12GB to 3GB for cpu image Having a lot of packages makes it very challenging to maintain them because of version conflicts Run everything as jovyan user - this enables user to run conda install / pip install without requiring sudo Add comments on every step Fixes #668 Fixes #37 Fixes #472 Conflicts: components/tensorflow-notebook-image/Dockerfile components/tensorflow-notebook-image/build_image.sh components/tensorflow-notebook-image/releaser/components/workflows.libsonnet * Update various images in kubeflow to kubeflow-images-public (#635) Point them to kubeflow-images-public instead of kubeflow-images-staging Related to #534 /cc @jlewi Conflicts: bootstrap/Makefile bootstrap/README.md * Migrate images to kubeflow-images-public (#695) Related to #534 Conflicts: bootstrap/README.md docs_dev/images.md kubeflow/core/tests/tf-job_test.jsonnet * Update the hub spawner dropdown for latest NB images (#697)
* This project will be used by the folks at GoJek and Google PSO to develop and test feast. Related to kubeflow/testing#254
Remove a lot of bloat - install only the minimal set of packages required to get started with ML. Any packages required can be installed by the user in the notebook itself using pip install/conda install Image size has gone down from 12GB to 3GB for cpu image Having a lot of packages makes it very challenging to maintain them because of version conflicts Run everything as jovyan user - this enables user to run conda install / pip install without requiring sudo Add comments on every step Fixes kubeflow#668 Fixes kubeflow#37 Fixes kubeflow#472
Signed-off-by: Ce Gao <[email protected]>
From the README:
("localize"?)
They are both large:
Are the Dockerfiles public for these images? I can probably do a quick PR to improve the size.
You might be interested to look at the improvements I did in the
devel-gpu
Dockerfile for TensorFlow:tensorflow/tensorflow#15355
Also, it would be helpful if you could chime in on this RFE:
tensorflow/tensorflow#15284
Maybe we can have a single image with Jupyter+TensorFlow+TensorBoard? That would shrink the other TensorFlow images that are shipped today (e.g.
gpu
anddevel-gpu
).The text was updated successfully, but these errors were encountered: