-
Notifications
You must be signed in to change notification settings - Fork 2.7k
nix: add shell.nix file #1170
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
nix: add shell.nix file #1170
Conversation
|
Oh hey there @Cloudef. I'm sorta only willing to put time into this at rare moments, but I have a flake that actually can run invoke-ai already :D If you wanted to help me get the last bits packaged, I'd love to be able to point to an ACTUALLY EASY TO RUN stable-diffusion fork. |
|
I guess linking to it would help: https://github.com/colemickens/stable-diffusion-flake EDIT: to make things easy to grok, I use a fork of nixpkgs with some extra python derivations for the AI/ML space: https://github.com/colemickens/nixpkgs/tree/stable-diff these should all be relatively upstreamable though... |
|
(note that the flake's shell still uses |
|
@colemickens hey that actually looks really neat. By the way have you considered trying out https://github.com/DavHau/mach-nix ? |
|
whoa, no, I hadn't even come across that. It looks neat, seems like there's more and more efforts like this popping up for various languages. (Sidenote, just opportunistically, @Cloudef, NixCon is going on this week in Paris and there's a hackathon on Saturday. If you want to collaborate on this, I think it'd be fun and I think our TZs overlap a bit. There's lots of discussion here about how to "market" Nix, and goodness, this feels like a good opportunity. I'm on matrix as |
|
Here, it's busted right now but I'm going to be working on it here:
|
|
So, I have a version that works with |
lstein
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. My only request is that you change the PR to rebase it against development. Thanks.
699cb79 to
f6731b1
Compare
|
Done |
lstein
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Provides way to get InvokeAI environment through nix [1]
This merely wraps miniconda into a own shell environment, and does not try to reproduce the build itself.
Tested on both linux-x86_64 and aarch64-darwin
1: https://nixos.org/