-
-
Notifications
You must be signed in to change notification settings - Fork 370
Need help to run Tests #1508
-
Hi, i used commands, to clone the code and installed packages as advised. I installed python 3.11 pytest tests When i try to run pytest i get this error: ImportError while loading conftest 'F:\Automation\Krita_AI\krita-ai-diffusion\tests\conftest.py'. |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment · 8 replies
-
Do you intend to develop or just want to use the plugin? For development read https://github.com/Acly/krita-ai-diffusion/blob/main/CONTRIBUTING.md#plugin-development |
Beta Was this translation helpful? Give feedback.
All reactions
-
Ok, I saw the wiki : https://github.com/Acly/krita-ai-diffusion/wiki/ComfyUI-Setup |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, @Acly I configured ComfiUI according to wiki. I still have some errors. How do I fix them?
|
Beta Was this translation helpful? Give feedback.
All reactions
-
There is an automated installer. You can use it via the plugin UI, or run the server tests: https://github.com/Acly/krita-ai-diffusion/blob/main/CONTRIBUTING.md#testing-the-installer They're not included in the default test run because it takes a while, especially when downloading the models. But they run on Github CI (with a cache for large files). After running those, the The While tests include some semi-automated setup, I don't think it's a bad state or easy to fix. Mostly because of the file sizes, and GPU requirement. Workflow tests don't run on CI because there's no GPU, and locally I prefer to not run multiple servers that hog all resources. One interesting thing is that the UI currently only supports model downloads for the full managed setup (where it also installs the server). Often people want to only download models, but for a custom install they already have. There is a There was the idea to have the plugin connect to an existing ComfyUI server (custom, local or remote) and instruct it to download missing model files. That would make it accessible/useful to more users. But it's kind of a big project. Requires creating corresponding endpoints on ComfyUI/server side, with appropriate security checks and progress reporting. No other ideas atm |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, @Acly I was thinking about some Windows Installer ( or maybe console EXE file ) with a config that could download everything for the clean machine. Like git / python / models / ComfiUI ( If needed) or update the existing one. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Did you see/try the existing installer? It does all of that (embedded python, dependencies, ComfyUI, custom nodes, models). You have to install the plugin first, but I think that's fine, and it works for Win/Mac/Linux. What doesn't work is modifying any existing ComfyUI install. That's quite intentional, because there are millions of crazy setups out there, and maintaining some kind of installer for that is a project of its own (and things like StabilityMatrix exist already). An automated model download would be nice though and is less problematic (at least you don't run into Python package conflicts and such). |
Beta Was this translation helpful? Give feedback.
Do you intend to develop or just want to use the plugin?
For development read https://github.com/Acly/krita-ai-diffusion/blob/main/CONTRIBUTING.md#plugin-development
(you are missing step 2)