Acly / krita-ai-diffusion

Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ComfyUI Unable to start

liujvnes opened this issue · comments

Hello! In order to save disk, the ComfyUI I installed in StabilityMatrix https://github.com/LykosAI/StabilityMatrix currently cannot be started in Local Managed Server. It can be connected in Custom Server (local or remote), but some ControINet cannot be used. Can the author fix it? Thank you so much!

image

I have found that the most likely cause for me was that the installer assumes you're using an nvidia GPU. If you're using AMD or Intel, you'll need to go into the server folder, activate the venv, uninstall torch and torchvision, then install the correct versions. Once you do that, you should be good to go.

You can get the install line from the PyTorch page here: https://pytorch.org/get-started/locally/

Just select the appropriate options in the chart then it will give you the pip install command you need to use.

The other option is for you to add the missing controlnet files to your pre-existing comfy models directory. You can do that by merging the files installed in ~/.local/share/krita/ai_diffusion/server/ComfyUI/models with your existing models directory or folder. You might also need to merge the ComfyUI/custom_nodes folder if you don't have the appropriate custom nodes installed.

commented

Using the installer on or launching a external ComfyUI (eg. from StabilityMatrix) is not supported. Use at your own risk.

There is no way to implement that safely, it's impossible to test all kinds of custom/external ComfyUI installs out there.

If you want to use / install via StabilityMatrix, you also need to use it to launch.