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

Please include mamba/libmamba in your base and studiolab environment #179

Open
taureandyernv opened this issue Dec 9, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@taureandyernv
Copy link

Is your feature request related to a problem? Please describe.
Conda take as while to solve. Mamba/libmamba is faster and is recommended by Anaconda: https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community. May you please add it to the base environment, so that we can spend more time actually using the GPU than waiting for conda to solve :) Either would be good: https://anaconda.org/conda-forge/mamba

Describe the solution you'd like
Add mamba to SageMaker Studio Lab base so that you can mamba install a new custom environment quickly

Describe alternatives you've considered

  • installing Mamba first, then conda installing
  • pip install
  • Conda install
@taureandyernv taureandyernv added the enhancement New feature or request label Dec 9, 2022
@taureandyernv taureandyernv changed the title Please include mamba/libmamba in your base install packages Please include mamba/libmamba in your base and studiolab environment Dec 9, 2022
@icoxfog417
Copy link
Contributor

icoxfog417 commented Dec 13, 2022

Thank you for the proposal. Definitely mamba solves the waiting time to prepare the environment.
I will take the comparison between conda and mamba for major frameworks such as PyTorch to clarify the benefit. We are glad if you share some benchmarks that compare the time of conda and mamba.

@tcmaps
Copy link

tcmaps commented Aug 8, 2023

<snake> install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia -c conda-forge -y

real    3m5.016s
user    2m53.217s
sys     0m3.843s
(conda) studio-lab-user@default:~$
real    0m9.198s
user    0m16.509s
sys     0m1.793s
(mamba) studio-lab-user@default:~$

@icoxfog417 ran twice on new envs to cache pkgs and only consider solve & link time

@rsignell
Copy link

@icoxfog417 I returned to AWS sagemaker studio lab after a long time away and disappointed to find it still uses conda as a solver instead of mamba. Anaconda itself is suggesting to use libmamba!.

If you can make this happen it would really make a much better experience for Studio Lab users!

@icoxfog417
Copy link
Contributor

@tcmaps @rsignell So sorry for the wait on this. We've already acknowledged the benefit of new conda version and are hustling to update the base conda version. Let me confirm the progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants