comfyanonymous
f5ebfaba43
Allow SPieceTokenizer to load model from a byte string.
2024-07-23 14:17:42 -04:00
comfyanonymous
b63c469865
More generic unet prefix detection code.
2024-07-23 14:13:32 -04:00
comfyanonymous
a7f1068957
Rename LLAMATokenizer to SPieceTokenizer.
2024-07-22 12:21:45 -04:00
comfyanonymous
e96e0fdf8b
"auto" type is only relevant to the SetUnionControlNetType node.
2024-07-22 11:30:38 -04:00
Chenlei Hu
c79f809b56
Add error message on union controlnet ( #4081 )
2024-07-22 11:27:32 -04:00
Chenlei Hu
31ee84e23f
Supress frontend exception on unhandled message type ( #4078 )
...
* Supress frontend exception on unhandled message type
* nit
2024-07-21 21:15:01 -04:00
comfyanonymous
5007b1471a
Fix bug with SaveAudio node with --gpu-only
2024-07-21 16:16:45 -04:00
Chenlei Hu
3b09469dd5
Add timestamp to execution messages ( #4076 )
...
* Add timestamp to execution messages
* Add execution_end message
* Rename to execution_success
2024-07-21 15:29:10 -04:00
comfyanonymous
78746a7499
Only append zero to noise schedule if last sigma isn't zero.
2024-07-20 12:37:30 -04:00
Greg Wainer
5d259b1bfd
Fix/webp exif little endian ( #4061 )
...
* Fix for isLittleEndian flag in parseExifData.
* Add break after reading first exif chunk in getWebpMetadata.
2024-07-19 18:39:04 -04:00
comfyanonymous
de738b5cb8
Implement beta sampling scheduler.
...
It is based on: https://arxiv.org/abs/2407.12173
Add "beta" to the list of schedulers and the BetaSamplingScheduler node.
2024-07-19 18:05:09 -04:00
bymyself
c15c267e3e
LoadAudio restores file value from workflow ( #4043 )
...
* LoadAudio restores file value from workflow
* use onAfterGraphConfigured
* Don't use anonnymous function
2024-07-18 21:59:18 -04:00
comfyanonymous
3075e778a2
Move PAG to model_patches/unet section.
...
Move other unet model_patches nodes to model_patches/unet section.
2024-07-18 17:22:51 -04:00
bymyself
bafb8eaebf
Disable audio widget trying to get previews ( #4044 )
2024-07-17 16:11:10 -04:00
喵哩个咪
be69e2f9bb
support clip-vit-large-patch14-336 ( #4042 )
...
* support clip-vit-large-patch14-336
* support clip-vit-large-patch14-336
2024-07-17 13:12:50 -04:00
comfyanonymous
bca1809588
Get clip vision image size from config.
2024-07-17 13:05:38 -04:00
comfyanonymous
2ef906e69f
Fix lowvram union controlnet bug.
2024-07-17 10:16:31 -04:00
Chenlei Hu
b51d32f8c6
Disallow use of eval with pylint ( #4033 )
2024-07-16 21:15:08 -04:00
Thomas Ward
ebaa0c2cd3
Make default hash lib configurable without code changes via CLI argument ( #3947 )
...
* cli_args: Add --duplicate-check-hash-function.
* server.py: compare_image_hash configurable hash function
Uses an argument added in cli_args to specify the type of hashing to default to for duplicate hash checking. Uses an `eval()` to identify the specific hashlib class to utilize, but ultimately safely operates because we have specific options and only those options/choices in the arg parser. So we don't have any unsafe input there.
* Add hasher() to node_helpers
* hashlib selection moved to node_helpers
* default-hashing-function instead of dupe checking hasher
This makes a default-hashing-function option instead of previous selected option.
* Use args.default_hashing_function
* Use safer handling for node_helpers.hasher()
Uses a safer handling method than `eval` to evaluate default hashing function.
* Stray parentheses are evil.
* Indentation fix.
Somehow when I hit save I didn't notice I missed a space to make indentation work proper. Oops!
2024-07-16 18:27:09 -04:00
Chenlei Hu
3b7561eccb
Fix annotation ( #4035 )
2024-07-16 18:20:39 -04:00
comfyanonymous
059c99f4c5
Move controlnet nodes to conditioning/controlnet.
2024-07-16 17:08:25 -04:00
comfyanonymous
8c2e920625
Add SetUnionControlNetType to set the type of the union controlnet model.
2024-07-16 17:04:53 -04:00
comfyanonymous
694c631173
Allow model sampling to set number of timesteps.
2024-07-16 15:18:40 -04:00
comfyanonymous
db41359648
Allow version names like v0.0.1 for the FrontendManager.
2024-07-16 11:29:38 -04:00
Chenlei Hu
cd3573c6a3
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
comfyanonymous
ad63c08139
Fix bug with custom nodes on other drives.
2024-07-15 20:38:26 -04:00
comfyanonymous
b237e7bf95
Fix bug with workflow not registering change.
...
There was an issue when only the class type of a node changed with all the
inputs staying the same.
2024-07-15 20:01:49 -04:00
comfyanonymous
553fbe3407
Refactor: Move some code to the comfy/text_encoders folder.
2024-07-15 17:36:24 -04:00
comfyanonymous
7cd140ddb3
Quick fix for the promax controlnet.
2024-07-14 10:07:36 -04:00
pythongosssss
157abc8562
New menu fixes - fix send to workflow ( #3909 )
...
* Fix send to workflow
Fix center align of close workflow dialog
Better support for elements around canvas
* More resilent to extra elements added to body
2024-07-14 02:04:40 -04:00
comfyanonymous
29c17be75e
Support AuraFlow Lora and loading model weights in diffusers format.
...
You can load model weights in diffusers format using the UNETLoader node.
2024-07-13 13:51:40 -04:00
comfyanonymous
9d6b3a28eb
Add link to AuraFlow example in Readme.
2024-07-12 15:25:07 -04:00
Robin Huang
e02d6bd46f
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
comfyanonymous
edce34f55e
Better tokenizing code for AuraFlow.
2024-07-12 01:15:25 -04:00
comfyanonymous
44ff254b08
Add sentencepiece dependency.
2024-07-11 22:58:03 -04:00
comfyanonymous
1234807a19
Add a ModelSamplingAuraFlow node to change the shift value.
...
Set the default AuraFlow shift value to 1.73 (sqrt(3)).
2024-07-11 17:57:36 -04:00
comfyanonymous
4c066c4bc4
AuraFlow model implementation.
2024-07-11 16:52:26 -04:00
comfyanonymous
68f579e0e8
Fix error message never being shown.
2024-07-11 11:46:51 -04:00
comfyanonymous
1e3385c222
Cleaner support for loading different diffusion model types.
2024-07-11 11:37:31 -04:00
comfyanonymous
ecf278e391
Remove useless code.
2024-07-10 20:33:12 -04:00
comfyanonymous
238efd021c
More flexibility with text encoder return values.
...
Text encoders can now return other values to the CONDITIONING than the cond
and pooled output.
2024-07-10 20:06:50 -04:00
comfyanonymous
27226fb151
Support returning text encoder attention masks.
2024-07-10 19:31:22 -04:00
Chenlei Hu
54ab069cf5
Update bug issue template ( #3996 )
...
* Update issue template
* nit
2024-07-10 11:28:15 -04:00
Chenlei Hu
8a3d4b4bff
Check unhandled exception in test log in test action ( #3987 )
...
* Upload console logs
* Check unhandled exception
2024-07-09 17:12:57 -04:00
Chenlei Hu
702bbfc4c2
Add __module__ to node info ( #3936 )
...
Use more explicit name 'python_module'
Parse abs ath
Move parse to nodes.py
2024-07-09 17:07:15 -04:00
Extraltodeus
e02530182b
Add sampler_pre_cfg_function ( #3979 )
...
* Update samplers.py
* Update model_patcher.py
2024-07-09 16:20:49 -04:00
comfyanonymous
f17217a44a
Fix ConditioningZeroOut when there is no pooled output.
2024-07-09 11:52:31 -04:00
bymyself
3d3f398d6d
Fix loadGraphData call during restore ( #3976 )
2024-07-09 11:23:26 -04:00
comfyanonymous
8f8587b1b8
Remove useless import.
2024-07-09 11:05:05 -04:00
comfyanonymous
44b0664b04
Controlnet union model basic implementation.
...
This is only the model code itself, it currently defaults to an empty
embedding [0] * 6 which seems to work better than treating it like a
regular controlnet.
TODO: Add nodes to select the image type.
2024-07-08 23:49:02 -04:00