-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Package request: comfyui #227006
Comments
This would be great, I am struggling to get ComfyUi to work on NixOS. It doesn't even work in Distrobox I think because the NixOS package is broken, but I haven't verified enough to make a issue but I think it expects a HFS filesystem |
Was meaning to try ComfyUI for a few months now and had this post bookmarked... @nonetrix if you haven't looked at #268378 I suggest you taking a gander. If you don't know how to use it or don't want to use it that way until it's merged you could just clone ComfyUI and make a flake or a shell there with the packages listed in their README. Here's a flake example using nix python packages:{
inputs = {
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
python311
python311Packages.accelerate
python311Packages.torchWithRocm
python311Packages.torchsde
python311Packages.torchvision
python311Packages.torchaudio
python311Packages.einops
python311Packages.transformers
python311Packages.safetensors
python311Packages.aiohttp
python311Packages.pyyaml
python311Packages.pillow
python311Packages.scipy
python311Packages.tqdm
python311Packages.psutil
];
};
}
);
} And here so you can install your packages using
|
See also the flake at https://github.com/BatteredBunny/nix-ai-stuff which has a comfyui package. It just doesn't have custom_nodes. |
Edit: nvm, I don't know why I thought it was packaged. Probably confused with it having an updated InvokeAI version. (But the readme mentions ComfyUI, so I don't know what's with that.) |
Project description
ComfyUI is a node editor for AI models such as stable diffusion. It requires a few python packages that are not currently packaged in nixpkgs. It also would be nice to get #226998 implemented first.
See https://github.com/comfyanonymous/ComfyUI/blob/master/requirements.txt for more information.
Metadata
An example of running comfyui with ipv6 support and without NixOS:
python3 -m pip install -r requirements.txt python3 main.py --listen :: --cpu # specifies to use only the CPU with pytorch
The text was updated successfully, but these errors were encountered: