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

fix(mamba) #414

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

fix(mamba) #414

wants to merge 7 commits into from

Conversation

ddobrinskiy
Copy link
Contributor

@ddobrinskiy ddobrinskiy commented Feb 20, 2023

@mxcl
Copy link
Member

mxcl commented Feb 23, 2023

So why is it we’re using this pre packaged mamba forge thing rather than building our own? I'm sure there's good reason but the comment doesn't actually specify it and I think we should add it.

@mxcl
Copy link
Member

mxcl commented Feb 23, 2023

Yeah so… 878 hard coded prefixes…

This thing is bundled with a lot of packages we provide ourselves. I'm not familiar enough with python AI stuff yet to understand if we can break it apart, but I'm investigating.

Though I will start with anaconda

@ddobrinskiy
Copy link
Contributor Author

ddobrinskiy commented Mar 9, 2023

So why is it we’re using this pre packaged mamba forge thing rather than building our own? I'm sure there's good reason but the comment doesn't actually specify it and I think we should add it.

I'm not sure there's actually an easy way to do that, the official docs basically say "just use older mamba to build newer version from source"

So brew also uses the pre-packaged version

https://github.com/Homebrew/homebrew-cask/blob/c6e8fd99bdfd5ec217ff3b53505f42214f5cba58/Casks/mambaforge.rb

@ddobrinskiy
Copy link
Contributor Author

ddobrinskiy commented Mar 9, 2023

This thing is bundled with a lot of packages we provide ourselves. I'm not familiar enough with python AI stuff yet to understand if we can break it apart

My intuition is that we should not break it apart, because the idea of mamba is to provide multiple isolated enviroments, like venv.

The same way you would not want your venv to contain a copy of all packages that is uses, not refer to already-installed instances elsewhere

@mxcl
Copy link
Member

mxcl commented Mar 9, 2023

it's a brew cask, which means it's just a slight convenience wrapper around a pre-packaged thing. So it's not really packaged by brew in other words.

We can do better. I will tackle this sooooonish I hope. Got a lot of balls in the air RN

@mxcl
Copy link
Member

mxcl commented Aug 1, 2023

I managed to pkg conda and micromamba.

I have begun trying to package this from first steps as well. Mostly I'm struggling with understanding their install instructions since they seem to assume you have some kind of conda env already setup.

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

Successfully merging this pull request may close these issues.

errors in mamba (is it relocatable?)
2 participants