Commit Graph

265 Commits

Author SHA1 Message Date
doctorpangloss
7e122202f6 set image name 2025-02-06 09:56:31 -08:00
doctorpangloss
49fcfaedce Fix github actions docker image workflow 2025-02-06 09:48:41 -08:00
doctorpangloss
f4647a03e7 Add Docker build action 2025-02-06 09:25:56 -08:00
comfyanonymous
f9230bd357 Update the python version in some workflows. 2025-01-29 15:54:13 -05:00
comfyanonymous
537c27cbf3 Bump default cuda version in standalone package to 126. 2025-01-29 08:13:33 -05:00
doctorpangloss
631d9e44c6 Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2025-01-16 09:58:02 -08:00
comfyanonymous
bfd5dfd611 3.13 doesn't work yet. 2025-01-15 20:32:44 -05:00
comfyanonymous
55ade36d01 Remove python 3.8 from test-build workflow. 2025-01-15 20:24:55 -05:00
comfyanonymous
1709a8441e Use latest python 3.12.8 the portable release. 2025-01-15 14:50:40 -05:00
Chenlei Hu
9c773a241b
Add pyproject.toml (#6386)
* Add pyproject.toml

* doc

* Static version file

* Add github action to sync version.py

* Change trigger to PR

* Fix commit

* Grant pr write permission

* nit

* nit

* Don't run on fork PRs

* Rename version.py to comfyui_version.py
2025-01-11 03:09:25 -05:00
Chenlei Hu
b65b83af6f
Add update-frontend github action (#6336)
* Add update-frontend github action

* Update secrets

* nit
2025-01-05 04:32:11 -05:00
comfyanonymous
8f29664057 Change defaults in nightly package workflow. 2025-01-03 12:12:17 -05:00
comfyanonymous
160ca08138 Use python 3.9 in launch test instead of 3.8
Fix ruff check.
2024-12-26 20:05:54 -05:00
Yoland Yan
5def9fbc83
Update CI workflow to remove Windows testing configuration (#6007)
- Commented out Windows OS from the CI matrix in test-ci.yml.
- Removed the test-win-nightly job to streamline testing on macOS and Linux only.
- Adjusted the matrix strategy to focus on Python versions and CUDA compatibility without Windows support.
2024-12-11 16:48:41 -05:00
Chenlei Hu
a220d11e6b
Replace pylint with ruff (#5987) 2024-12-09 22:04:23 -05:00
Chenlei Hu
48272448ad
[Developer Experience] Add node typing (#5676)
* [Developer Experience] Add node typing

* Shim StrEnum

* nit

* nit

* nit
2024-12-04 15:01:00 -05:00
Benjamin Berman
97400a679b
Disable ROCm again 2024-11-10 20:33:56 -08:00
comfyanonymous
8473019d40 Pytorch can be shipped with numpy 2 now. 2024-10-17 19:15:17 -04:00
Benjamin Berman
7587e42d8b Re-enable ROCm tests 2024-10-17 11:16:17 -07:00
comfyanonymous
191a0d56b4 Switch default packaging workflows to python 3.12 2024-10-13 06:59:31 -04:00
Yoland Yan
25eac1d780
Change runner label for the new runners (#5197) 2024-10-09 20:08:57 -04:00
doctorpangloss
bbe2ed330c Memory management and compilation improvements
- Experimental support for sage attention on Linux
 - Diffusers loader now supports model indices
 - Transformers model management now aligns with updates to ComfyUI
 - Flux layers correctly use unbind
 - Add float8 support for model loading in more places
 - Experimental quantization approaches from Quanto and torchao
 - Model upscaling interacts with memory management better

This update also disables ROCm testing because it isn't reliable enough
on consumer hardware. ROCm is not really supported by the 7600.
2024-10-09 09:13:47 -07:00
Robin Huang
6ad0ddbae4
Run unit tests on Windows/MacOS as well. (#5018)
* Run unit tests on Windows as well.

* Test on mac.

* Continue running on error.

* Compared normalized paths to work cross platform.

* Only test common set of mimetypes across operating systems.
2024-09-22 05:01:39 -04:00
Benjamin Berman
da4bc5dba3
Delete .github/workflows/test-unit.yml 2024-09-18 07:47:01 -07:00
doctorpangloss
ffb4ed9cf2 Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2024-09-13 12:45:23 -07:00
doctorpangloss
253c021e77 Add more environment flags for ROCm 2024-09-13 09:02:47 -07:00
doctorpangloss
5d1eda7832 Try better ROCm configuration 2024-09-12 17:45:17 -07:00
Chenlei Hu
cd4955367e
Add back CI action for tests-ui (#4859) 2024-09-09 04:32:55 -04:00
comfyanonymous
dc2eb75b85 Update stable release workflow to latest pytorch with cuda 12.4. 2024-09-05 19:21:52 -04:00
doctorpangloss
38bcd9fcbd Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2024-09-03 15:28:52 -07:00
Alex "mcmonkey" Goodwin
f1c2301697
fix typo in stale-issues (#4735) 2024-09-01 17:44:49 -04:00
Alex "mcmonkey" Goodwin
d4aeefc297
add github action to automatically handle stale user support issues (#4683)
* add github action to automatically handle stale user support issues

* improve stale message

* remove token part
2024-08-31 01:57:18 -04:00
doctorpangloss
ccdbd957ef Fix pylint issues 2024-08-28 15:48:47 -07:00
Benjamin Berman
01feca812f nf4 test and import module tweaks 2024-08-25 21:31:05 -07:00
doctorpangloss
5155a3e248 Merge WIP 2024-08-25 18:52:29 -07:00
comfyanonymous
5f84ea63e8 Add a shortcut to the nightly package to run with --fast. 2024-08-21 23:36:58 -04:00
Yoland Yan
fc90ceb6ba
Update issue template config.yml to direct frontend issues to frontend repos (#4486)
* Update config.yml

* Typos
2024-08-19 13:41:30 -04:00
doctorpangloss
940fe6e3af Remove unused files 2024-08-16 14:33:57 -07:00
doctorpangloss
8284ea2fca WIP merge 2024-08-16 14:25:06 -07:00
doctorpangloss
653a970088 Fix tests, remove unsupported tests 2024-08-16 12:37:35 -07:00
Chenlei Hu
ab4dd19b91
Remove legacy ui test files (#4316) 2024-08-14 21:01:06 -04:00
doctorpangloss
0549f35e85 Merge commit '39fb74c5bd13a1dccf4d7293a2f7a755d9f43cbd' of github.com:comfyanonymous/ComfyUI
- Improvements to tests
 - Fixes model management
 - Fixes issues with language nodes
2024-08-13 20:08:56 -07:00
Alex "mcmonkey" Goodwin
b5c3906b38
Automatically link the Comfy CI page on PRs (#4326)
also use_prior_commit so it doesn't get a janked merge commit instead of the real one
2024-08-12 12:32:16 -04:00
Alex "mcmonkey" Goodwin
65ea6be38f
PullRequest CI Run: use pull_request_target to allow the CI Dashboard to work (#4277)
'_target' allows secrets to pass through, and we're just using the secret that allows uploading to the dashboard and are manually vetting PRs before running this workflow anyway
2024-08-08 17:20:48 -04:00
Alex "mcmonkey" Goodwin
5df6f57b5d
minor fix on copypasta action name (#4276)
my bad sorry
2024-08-08 16:30:59 -04:00
Alex "mcmonkey" Goodwin
6588bfdef9
add GitHub workflow for CI tests of PRs (#4275)
When the 'Run-CI-Test' label is added to a PR, it will be tested by the CI, on a small matrix of stable versions.
2024-08-08 16:24:49 -04:00
Alex "mcmonkey" Goodwin
50ed2879ef
Add full CI test matrix GitHub Workflow (#4274)
automatically runs a matrix of full GPU-enabled tests on all new commits to the ComfyUI master branch
2024-08-08 15:40:07 -04:00
doctorpangloss
4a966990e5 Remove unnecessary files 2024-08-06 21:31:45 -07:00
Robin Huang
2894511893
Clone taesd with depth of 1 to reduce download size. (#4232) 2024-08-06 01:46:09 -04:00
Chenlei Hu
841e74ac40
Change browser test CI python to 3.8 (#4234) 2024-08-06 01:27:28 -04:00
Robin Huang
1abc9c8703
Stable release uses cached dependencies (#4231)
* Release stable based on existing tag.

* Update default cuda to 12.1.
2024-08-05 20:07:16 -04:00
Benjamin Berman
c6ce11b421
Switch to supported ROCm image 2024-07-30 11:42:14 -07:00
Benjamin Berman
5ff6b64459
Remove no longer supported ROCm 2024-07-30 11:25:49 -07:00
doctorpangloss
34522e0914 Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2024-07-30 11:11:45 -07:00
Benjamin Berman
38312e3c9f
Use updated containers for rocm to try to fix its crashes 2024-07-27 18:45:25 -07:00
comfyanonymous
f82d09c9b4 Update packaging workflow. 2024-07-27 04:48:19 -04:00
comfyanonymous
e6829e7ac5 Add a way to set custom dependencies in the release workflow. 2024-07-27 04:41:46 -04:00
comfyanonymous
e746965c50 Update nightly package workflow. 2024-07-27 01:20:18 -04:00
comfyanonymous
45a2842d7f Set stable releases as a prerelease initially.
This should give time to test the standalone package before making it live.
2024-07-26 14:52:20 -04:00
Benjamin Berman
ac3a115d83
Re-enable ROCm tests 2024-07-19 23:16:39 -07:00
Benjamin Berman
adfee7d14d
No torchaudio 2024-07-19 20:44:36 -07:00
Benjamin Berman
c0c76ddbd5
Install torchaudio separately for the sake of completing the audio tests 2024-07-19 20:00:23 -07:00
doctorpangloss
6a6f1e4960 Fix GitHub actions to not run unnecessary or broken stuff 2024-07-18 17:23:53 -07:00
doctorpangloss
87638da978 Include the testing environment 2024-07-18 17:16:26 -07:00
doctorpangloss
0c34c2b99d Fix #13 audio nodes now work and test correctly 2024-07-18 17:15:44 -07:00
doctorpangloss
cc99d89ac6 Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2024-07-18 16:31:21 -07:00
Chenlei Hu
1cde6b2eff
Disallow use of eval with pylint (#4033) 2024-07-16 21:15:08 -04:00
Chenlei Hu
99458e8aca
Add FrontendManager to manage non-default front-end impl (#3897)
* Add frontend manager

* Add tests

* nit

* Add unit test to github CI

* Fix path

* nit

* ignore

* Add logging

* Install test deps

* Remove 'stable' keyword support

* Update test

* Add web-root arg

* Rename web-root to front-end-root

* Add test on non-exist version number

* Use repo owner/name to replace hard coded provider list

* Inline cmd args

* nit

* Fix unit test
2024-07-16 11:26:11 -04:00
doctorpangloss
3d1d833e6f Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2024-07-15 14:22:49 -07:00
Robin Huang
4ca9b9cc29
Add Github Workflow for releasing stable versions and standalone bundle. (#3949)
* Add stable release.

* Only build CUDA 12.1 + 3.11 Python.

* Upgrade checkout and setup-python to latest version.

* lzma2

* Update artifact name to be ComfyUI_windows_portable_nvidia.7z
2024-07-12 13:33:57 -04:00
Chenlei Hu
90389b3b8a
Update bug issue template (#3996)
* Update issue template

* nit
2024-07-10 11:28:15 -04:00
Chenlei Hu
8d3f979b63
Check unhandled exception in test log in test action (#3987)
* Upload console logs

* Check unhandled exception
2024-07-09 17:12:57 -04:00
Benjamin Berman
e88f458a70 Enable macOS worker 2024-07-07 17:16:42 -07:00
doctorpangloss
1902aeee0b Name this workflow better 2024-07-05 13:11:38 -07:00
doctorpangloss
7a20b189a5 Actually enable IPEX XPU support 2024-07-05 13:10:31 -07:00
doctorpangloss
5fef1e48f6 Test workflows 2024-07-05 11:41:50 -07:00
doctorpangloss
bb94b808dc Improve automated test coverage 2024-07-05 11:11:21 -07:00
doctorpangloss
a13088ccec Merge upstream 2024-07-04 11:58:55 -07:00
doctorpangloss
95d47276e9 Improve tests and distributed error notifications
- Tests now perform faster
 - Tests will run on supported GPU platforms
 - Configuration has known issues related to setting up a working
   directory for an embedded client
 - Introduce a Skeletonize node that solves many problems with Canny
 - Improve behavior of exception reporting
2024-07-04 10:16:02 -07:00
comfyanonymous
5dccfefe8d Switch nightly pytorch standalone package to lzma2. 2024-07-01 17:17:25 -04:00
YAN Wenkun
0cd4a6a5e5
Fine-tuning GitHub Actions (#3169)
* Bumping GitHub Actions versions

* Using LZMA2 for 7zip compression in Windows packaging
2024-07-01 17:15:49 -04:00
doctorpangloss
1980c5f236 Use an image with earlier drivers 2024-06-28 18:15:33 -07:00
doctorpangloss
a485782029 Add lora test prefixed with test_ so that pytest can find it 2024-06-28 17:13:18 -07:00
doctorpangloss
7f81b8345d Subtle test gathering bug that will have to be investigated 2024-06-28 17:12:06 -07:00
doctorpangloss
2cad5ec0d6 LoRA test 2024-06-28 17:06:29 -07:00
Robin Huang
c39cf7fff0
Revert "Add integration test for Linux with Nvidia GPU. #3884 (#3895)" (#3905)
This reverts commit 449bf52923.
2024-06-28 16:09:55 -04:00
Robin Huang
02cac1d487
Revert "Add macOs integration test for default workflow. (#3898)" (#3904)
This reverts commit 97b409cd48.
2024-06-28 16:09:39 -04:00
Robin Huang
97b409cd48
Add macOs integration test for default workflow. (#3898) 2024-06-27 16:10:16 -04:00
Robin Huang
449bf52923
Add integration test for Linux with Nvidia GPU. #3884 (#3895)
* Add linux integration test.

* Fix directory path.

* Add paths ignore.

* Fix conda env directory path.
2024-06-27 16:08:26 -04:00
Chenlei Hu
a3e83f695d
Update test ref (#3882)
* Update ref

* Disable some tests
2024-06-26 19:58:56 -04:00
Chenlei Hu
f12fa1d8d7
Enable browser tests on push (#3878) 2024-06-26 09:09:21 -04:00
Alex "mcmonkey" Goodwin
edfce78c86
add issue templates for ComfyUI Issues Page (#3868) 2024-06-26 01:37:27 -04:00
Chenlei Hu
e99d97a9d9
Remove duplicated Reset View button (#3865)
* Remove duplicated Reset View button

* Disable flaky test
2024-06-26 01:23:55 -04:00
Chenlei Hu
866f54da8d
Add browser test action synced with TS repo (#3852)
* Add browser test action

* Add npm install task
2024-06-24 14:47:28 -04:00
doctorpangloss
265c0549b6 Test on Python 3.12 correctly on latest Ubuntu 2024-06-17 17:20:25 -07:00
doctorpangloss
f6cd2866be Fix command line for ROCm image 2024-06-17 17:16:35 -07:00
doctorpangloss
17fc1da392 Upgrade pip with --break-system-packages to reduce the toil here 2024-06-17 17:14:08 -07:00
doctorpangloss
c8aa40818c Use a venv and upgrade pip, setuptools, wheel inside of it 2024-06-17 17:09:30 -07:00
doctorpangloss
dc6464982d Build without modifying system pip 2024-06-17 16:57:56 -07:00
doctorpangloss
f227722104 Fix pip3 package installation 2024-06-17 16:53:00 -07:00
doctorpangloss
60ec20b857 pip3 too 2024-06-17 16:49:19 -07:00
doctorpangloss
84d5dd0092 Gracefully ignore issues linking Python 2024-06-17 16:44:57 -07:00
doctorpangloss
8909d9c731 Link for python3 2024-06-17 16:39:29 -07:00
doctorpangloss
b854c17700 nodejs is required to execute the runner 2024-06-17 15:50:32 -07:00
doctorpangloss
c4e0ec20b4 Remove bad ideas about releasing an embedded Windows build 2024-06-17 15:50:32 -07:00
doctorpangloss
3cb44914f2 workflows 2024-06-17 15:50:12 -07:00
Max Tretikov
bbfb2b4950 Add new CI step for linting 2024-06-14 15:47:51 -06:00
Max Tretikov
c1777bb496 Add pylint (only errors) to CI pipeline 2024-06-14 14:55:14 -06:00
doctorpangloss
b318b4cc28 Update tests to support CPU in GitHub 2024-05-16 15:31:55 -07:00
doctorpangloss
3d98440fb7 Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2024-05-16 14:28:49 -07:00
comfyanonymous
ece5acb8e8 Fix nightly package workflow. 2024-05-12 16:05:10 -04:00
comfyanonymous
794a357f7a Update the nightly workflow. 2024-05-12 07:24:12 -04:00
doctorpangloss
f87da9b75e Remove 3.9 support 2024-03-27 15:00:32 -07:00
doctorpangloss
ac42a1aa1a Run unit tests on GitHub 2024-03-27 13:57:17 -07:00
doctorpangloss
feae8c679b Add nodes to support OpenAPI and similar backend workflows 2024-03-22 14:22:50 -07:00
doctorpangloss
59cf9e5d93 Improve distributed testing 2024-03-20 20:43:21 -07:00
doctorpangloss
c0d9bc0129 Merge with upstream 2024-03-08 15:17:20 -08:00
comfyanonymous
b7b5593166 Fix nightly workflow and update other workflows. 2024-03-04 13:06:13 -05:00
doctorpangloss
2c882bb66c Add Dockerfile. Update README and clarify purpose of this fork. Fix installation with pre-existing torch on Linux. Include container documentation 2024-02-28 10:29:08 -08:00
doctorpangloss
bd5073caf2 Merge branch 'master' of github.com:comfyanonymous/ComfyUI 2024-02-26 08:51:07 -08:00
comfyanonymous
36f7face37 Update the standalone package updater so it can self update. 2024-02-26 08:51:16 -05:00
doctorpangloss
5ace1e9fee Remove support for Python 3.8 2024-02-08 09:41:30 -08:00
doctorpangloss
739195b127 Fix tests 2024-01-05 15:11:21 -08:00
pythongosssss
8680ac3dfd try to improve test reliability 2023-12-19 20:38:07 +00:00
comfyanonymous
da74e3bbe3 Update pytorch nightly packaging workflow. 2023-12-09 12:01:17 -05:00
comfyanonymous
77c893350a Fix previous commit that broke tests. 2023-10-20 23:13:54 -04:00
comfyanonymous
e0c0029fc1 Try to speed up the test-ui workflow. 2023-10-20 23:00:05 -04:00
comfyanonymous
25e3e5af68 Use npm ci for ci instead of npm install in tests. 2023-10-20 22:52:12 -04:00
pythongosssss
5818ca83a2
Unit tests + widget input fixes (#1760)
* setup ui unit tests

* Refactoring, adding connections

* Few tweaks

* Fix type

* Add general test

* Refactored and extended test

* move to describe

* for groups

* Add test for converted widgets on missing nodes + fix crash

* tidy

* mores tests + refactor

* throw earlier to get less confusing error

* support outputs

* more test

* add ci action

* use lts node

* Fix?

* Prevent connecting non matching combos

* update

* accidently removed npm i

* Disable logging extension

* added step to generate object_info

* fix python

* install python

* install deps

* fix cwd?

* logging

* Fix double resolve

* create dir

* update pkg
2023-10-20 22:49:04 -04:00
comfyanonymous
0986cc7c38 Fix issues with the packaging. 2023-10-07 11:57:32 -04:00
comfyanonymous
0134d7ab49 Generate update script with right settings. 2023-10-06 12:49:40 -04:00
comfyanonymous
1497528de8 Fix workflow. 2023-10-06 10:43:12 -04:00
comfyanonymous
640d5080e5 Make xformers optional in packaging. 2023-10-06 10:29:52 -04:00
comfyanonymous
34b36e3207 More configurable workflows to package windows release. 2023-10-06 10:26:51 -04:00
comfyanonymous
6f464f801f Update nightly workflow to python 3.11.6 2023-10-06 03:32:00 -04:00
Michael Poutre
e0efa78b71
chore(CI): Update test-build to use updated version of actions 2023-09-25 21:20:51 -07:00
enzymezoo-code
26cd8405dd
Ci quality workflows (#1423)
* Add inference tests

* Clean up

* Rename test graph file

* Add readme for tests

* Separate server fixture

* test file name change

* Assert images are generated

* Clean up comments

* Add __init__.py so tests can run with command line `pytest`

* Fix command line args for pytest

* Loop all samplers/schedulers in test_inference.py

* Ci quality workflows compare (#1)

* Add image comparison tests

* Comparison tests do not pass with empty metadata

* Ensure tests are run in correct order

* Save image files  with test name

* Update tests readme

* Reduce step counts in tests to ~halve runtime

* Ci quality workflows build (#2)

* Add build test github workflow
2023-09-18 23:18:06 -04:00
comfyanonymous
bd7321c8ac Update aiohttp in nightly workflow. 2023-08-17 16:41:24 -04:00
comfyanonymous
d4380f3aa3 Add option to use different xformers version in the github workflow. 2023-08-14 18:13:11 -04:00
comfyanonymous
e7bee85df8 Add arguments to run the VAE in fp16 or bf16 for testing. 2023-07-06 23:23:46 -04:00
comfyanonymous
f5232c4869 Fix 7z error when extracting package. 2023-07-06 04:18:36 -04:00
comfyanonymous
ae948b42fa Add taesd weights to standalones. 2023-07-02 11:47:30 -04:00
comfyanonymous
fa1959e3ef Fix nightly packaging. 2023-07-01 01:31:03 -04:00
comfyanonymous
451fb4169a Fix 'git pull' not working on the standalones. 2023-05-23 11:35:32 -04:00
comfyanonymous
a307c3f12c Update nightly pytorch standalone to python 3.11.3 cu121. 2023-05-02 09:45:20 -04:00
comfyanonymous
ab9a9deff4 Fix nightly CI builds.
No cu121 builds for windows yet.
2023-04-28 09:03:39 -04:00
comfyanonymous
e543ecad69 Fix the nightly build not being packaged correctly. 2023-04-28 08:50:12 -04:00
comfyanonymous
27bf9392ac Switch stable standalone dependencies to stable xformers.
Switch nightly standalone to cu121.
2023-04-28 08:40:32 -04:00
comfyanonymous
472b1cc0d8 Add a github action to use pip xformers package for dependencies. 2023-04-18 19:34:07 -04:00
comfyanonymous
bf9c17a975 No longer needed. 2023-03-19 17:41:27 -04:00