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

Combine the docker files for training and for deploying #2

Open
Gautam-Rajeev opened this issue Sep 14, 2022 · 0 comments
Open

Combine the docker files for training and for deploying #2

Gautam-Rajeev opened this issue Sep 14, 2022 · 0 comments
Assignees

Comments

@Gautam-Rajeev
Copy link
Contributor

Combining the docker files for training (offline training):

Currently we have two docker compose files for training the model - one for bootstrapping and another for training

We need to able to combine these into one file such that we only need to run one docker compose. The training should happen only after the bootstrap container has completed and the container exits (with exit code 0 )

Combining the docker files for deploying the model once trained:

Currently we have two docker compose files for deploying the model - one for uploading the model and current state into redis - upload and another for running the model itself such that it can give recommendations - inference

We need to able to combine these into one file such that we only need to run one docker compose. The upload should complete, however this container does not exit as redis is kept open and then the inference should be run.
Currently, we need to run upload in a terminal instance and then the inference in a separate terminal instance.

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

2 participants