Skip to content

Move conda resolver to libmamba #1297

Description

@dtpryce

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions