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

Speed up deployment updates #1959

Open
brollb opened this issue Oct 19, 2020 · 3 comments
Open

Speed up deployment updates #1959

brollb opened this issue Oct 19, 2020 · 3 comments
Assignees

Comments

@brollb
Copy link
Contributor

brollb commented Oct 19, 2020

Deployment updates currently take a bit of time as tensorflow is installed using conda. It would be better to build a custom, docker image based on the pulled image and then updating them close to instantaneously.

@umesh-timalsina
Copy link
Contributor

I am not sure I understand, do you mean changing entrypoint for conda installs because of #1561 and include this in another Docker image?

@brollb
Copy link
Contributor Author

brollb commented Oct 20, 2020

Basically. I was imagining just building it on the deployment machine (not pushing it to dockerhub) though I guess it could be useful to push to dockerhub under a different tag.

@umesh-timalsina umesh-timalsina self-assigned this Oct 28, 2020
@umesh-timalsina
Copy link
Contributor

umesh-timalsina commented Oct 28, 2020

Yeah, I would imagine building the docker image in the deployment VM (via SSH, essentially the Dockerfile and script to do a docker build would live in the repo can be done). This problem will also continue with tensorflow >2.0 in the current VM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants