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

Move conda resolver to libmamba #1297

Open
dtpryce opened this issue Jul 13, 2023 · 1 comment
Open

Move conda resolver to libmamba #1297

dtpryce opened this issue Jul 13, 2023 · 1 comment

Comments

@dtpryce
Copy link
Contributor

dtpryce commented Jul 13, 2023

Building custom runtimes using mlserver build is fantastic but also leverages conda and some of our builds have been known to take up to 8 hours due to the conda standard resolver taking so long to resolve the environment. An improvement has already been developed by conda: the libmamba resolver.

Details can be found here: https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community

But the highlights:

  • make sure to be using conda 4.12.0 or higher; which might already be true in the current base image you use (conda update -n base conda)
  • install the new solver: conda install -n base conda-libmamba-solver
  • set as default: conda config --set solver libmamba
@dtpryce
Copy link
Contributor Author

dtpryce commented Jul 14, 2023

Discovered that the conda version has to be 22.11 or higher ... PR in progress

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

1 participant