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

Support conda packages & script.sh for system dependencies #880

Merged

Conversation

RobertLucian
Copy link
Member

@RobertLucian RobertLucian commented Mar 19, 2020

Closes #844 and closes #852.

This includes support for conda packages (environment.yaml or conda-packages.txt + .condarc for conda config) and system dependencies installable at run-time (script.sh).

The deployment docs have been updated to include these. I'd say, the serving images are slightly bigger than before. I've seen an increase in size of about ~100-250 MB for the serving images - I think that's okay.

Keeping out all dependencies of each serving image and instead, have them baked into the image once there is a deployment and then push them to ECR for later use might seem like a better idea.


checklist:

  • run make test and make lint
  • test manually (i.e. build/push all images, restart operator, and re-deploy APIs)
  • update docs and add any new files to summary.md (view in gitbook after merging)

@vishalbollu
Copy link
Contributor

@RobertLucian Thanks for the PR! The features improvements addressed in this PR will make customizing Cortex runtime a lot easier and minimize the need for users to create custom Docker images.

We are currently focused on bug fixes and messaging improvements this week. Do you mind if we place the PR on the backburner for the next few days while we focus on this release?

@RobertLucian
Copy link
Member Author

@vishalbollu totally. Take as much time as necessary to sort out things for 0.15..

@deliahu deliahu added the v0.16 label Mar 25, 2020
@vishalbollu vishalbollu merged commit c861f7c into cortexlabs:master Apr 3, 2020
@RobertLucian RobertLucian deleted the feature/support-conda-packages branch April 3, 2020 19:55
@deliahu deliahu added this to the v0.16 milestone Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants