-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[autoscaler] Remove unnecessary apt installations in docker commands #4577
[autoscaler] Remove unnecessary apt installations in docker commands #4577
Conversation
Can one of the admins verify this patch? |
@richardliaw I pushed couple of minor changes to the gcp autoscaler configs. I tested both changed examples and they work as expected. |
@@ -85,7 +85,7 @@ worker_nodes: | |||
initializeParams: | |||
diskSizeGb: 50 | |||
# See https://cloud.google.com/compute/docs/images for more images | |||
sourceImage: projects/ml-images/global/images/family/tf-1-13-gpu | |||
sourceImage: projects/deeplearning-platform-release/global/images/family/tf-1-13-cpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to #4524. Seems like deeplearning-platform-release
is more standard than ml-images
. I also changed this from gpu to cpu to be consistent with the aws example. cc @toanngosy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hartikainen!
e0e6b81
to
00d3a14
Compare
Test FAILed. |
Test FAILed. |
Test FAILed. |
00d3a14
to
cefaecc
Compare
Test FAILed. |
What do these changes do?
Removes unnecessary
apt-get install
from autoscaler setup docker commands. These commands are problematic if the docker container is run as some other user than root. I believe there's no particular reason we install these packages so it seems better to just get rid of them.Linter
scripts/format.sh
to lint the changes in this PR.