ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
203 stars 131 forks source link

[🐕 Batch]: Use Mamba instead of Conda environments in Ersilia #1062

Closed DhanshreeA closed 1 week ago

DhanshreeA commented 6 months ago

Summary

Just one word: Speed.

Objectives

Conda is painfully slow, and Mamba is increasingly becoming popular as a significantly faster alternative to Conda, so much so, it now ships as a configurable solver with Conda as well. So either we can use Mamba entirely, or at the very least shift to using Mamba as a default solver in model environments that Ersilia creates.

Documentation

https://micromamba-docker.readthedocs.io/en/latest/quick_start.html#running-commands-in-dockerfile-within-the-conda-environment

anshikavashistha commented 6 months ago

May I work on this issue @DhanshreeA ?

DhanshreeA commented 6 months ago

Hey @anshikavashistha thank you for your comment. This issue is currently only under discussion, and will affect several key areas within ersilia. So we might not open it to outside contributions just yet.

anshikavashistha commented 6 months ago

No problem @DhanshreeA I would love to contribute to any beginner level issue.If there is any issue where I could contribute,I would love to work.Please let me know.

miquelduranfrigola commented 6 months ago

Update based on discussion:

GemmaTuron commented 1 week ago

Hi @DhanshreeA

I think we have made progress on that specially related to ersilia-pack. Can you summarise the status here, and next steps?

DhanshreeA commented 1 week ago

At present all our actions and models end up using the latest version of conda which comes prebundled with libmamba as the default solver. So this has been implicitly handled.