Implementing a new solver for conda while prioritizing maximized backwards compatibility was a non-trivial challenge. The exact speed improvements of the new solver will vary based on the environment and packages users are installing, but you can expect to see improvements in the 50-80% range across use cases. In that performance test, the classic solver downloaded the two large libraries in 91 seconds, whereas libmamba, the libsolv-based solver, took only 15 seconds-an ~80% speed improvement. In our experimental release announcement, we compared the performance of the solvers by installing popular Python packages SciPy and TensorFlow on the same Windows machine. The conda-libmamba-solver greatly increases the speed with which conda solves an environment when installing packages. You may also refer to this comprehensive Getting Started guide. To install and set the new solver, run the following commands: conda install -n base conda-libmamba-solver Speed improvement has been one of conda’s most highly requested updates, and after almost a year of joint development work, we are incredibly excited to share that the conda-libmamba-solver has now joined the default solver club. Back in March of this year, the conda team introduced a new experimental solver, conda-libmamba-solver, as part of our collaborative effort with Quansight to make conda faster.
0 Comments
Leave a Reply. |