comfyanonymous
6d281b4ff4
Add a /free route to unload models or free all memory.
...
A POST request to /free with: {"unload_models":true}
will unload models from vram.
A POST request to /free with: {"free_memory":true}
will unload models and free all cached data from the last run workflow.
11 months ago
comfyanonymous
04b713dda1
Fix VALIDATE_INPUTS getting called multiple times.
...
Allow VALIDATE_INPUTS to only validate specific inputs.
11 months ago
comfyanonymous
a252963f95
--disable-smart-memory now unloads everything like it did originally.
11 months ago
comfyanonymous
6b769bca01
Do a garbage collect after the interval even if nothing is running.
12 months ago
comfyanonymous
2dd5b4dd78
Only show last 200 elements in the UI history tab.
1 year ago
comfyanonymous
a03dde190e
Cap maximum history size at 10000. Delete oldest entry when reached.
1 year ago
comfyanonymous
20d3852aa1
Pull some small changes from the other repo.
1 year ago
pythongosssss
62799c8585
fix crash on node with VALIDATE_INPUTS and actual inputs
1 year ago
comfyanonymous
89a0767abf
Smarter memory management.
...
Try to keep models on the vram when possible.
Better lowvram mode for controlnets.
1 year ago
Michael Poutre
90b0163524
fix(execution): Fix support for input-less nodes
1 year ago
Michael Poutre
7785d073f0
chore: Fix typo
1 year ago
comfyanonymous
09386a3697
Fix issue with lora in some cases when combined with model merging.
1 year ago
comfyanonymous
6e9f28401f
Persist node instances between executions instead of deleting them.
...
If the same node id with the same class exists between two executions the
same instance will be used.
This means you can now cache things in nodes for more efficiency.
1 year ago
comfyanonymous
d52ed407a7
Send websocket message only when prompt is actually done executing.
1 year ago
comfyanonymous
af91df85c2
Add a /history/{prompt_id} endpoint.
1 year ago
comfyanonymous
ad81fd682a
Fix issue with cancelling prompt.
1 year ago
space-nuko
03f2d0a764
Rename exception message field
1 year ago
space-nuko
52c9590b7b
Exception message
1 year ago
space-nuko
62bdd9d26a
Catch typecast errors
1 year ago
space-nuko
a9e7e23724
Fix
1 year ago
space-nuko
e2d080b694
Return null for value format
1 year ago
space-nuko
6b2a8a3845
Show message in the frontend if prompt execution raises an exception
1 year ago
space-nuko
ffec815257
Send back more information about exceptions that happen during execution
1 year ago
space-nuko
0d834e3a2b
Add missing input name/config
1 year ago
space-nuko
c33b7c5549
Improve invalid prompt error message
1 year ago
space-nuko
73e85fb3f4
Improve error output for failed nodes
1 year ago
comfyanonymous
48fcc5b777
Parsing error crash.
2 years ago
comfyanonymous
ffc56c53c9
Add a node_errors to the /prompt error json response.
...
"node_errors" contains a dict keyed by node ids. The contents are a message
and a list of dependent outputs.
2 years ago
comfyanonymous
516119ad83
Print min and max values in validation error message.
2 years ago
comfyanonymous
1dd846a7ba
Fix outputs gone from history.
2 years ago
comfyanonymous
9bf67c4c5a
Print prompt execution time.
2 years ago
comfyanonymous
44f9f9baf1
Add the prompt id to some websocket messages.
2 years ago
BlenderNeko
1201d2eae5
Make nodes map over input lists ( #579 )
...
* allow nodes to map over lists
* make work with IS_CHANGED and VALIDATE_INPUTS
* give list outputs distinct socket shape
* add rebatch node
* add batch index logic
* add repeat latent batch
* deal with noise mask edge cases in latentfrombatch
2 years ago
comfyanonymous
dfc74c19d9
Add the prompt_id to some websocket messages.
2 years ago
comfyanonymous
3a7c3acc72
Send websocket message with list of cached nodes right before execution.
2 years ago
comfyanonymous
602095f614
Send execution_error message on websocket on execution exception.
2 years ago
comfyanonymous
d6dee8af1d
Only validate each input once.
2 years ago
comfyanonymous
02ca1c67f8
Don't print traceback when processing interrupted.
2 years ago
comfyanonymous
3a1f9dba20
If IS_CHANGED returns exception delete the output instead of crashing.
2 years ago
comfyanonymous
951c0c2bbe
Don't keep cached outputs for removed nodes.
2 years ago
comfyanonymous
0ac319fd81
Don't delete all outputs when execution gets interrupted.
2 years ago
comfyanonymous
ccad603b2e
Add a way for nodes to validate their own inputs.
2 years ago
ltdrdata
f7a8218814
Add clipspace feature. ( #541 )
...
* Add clipspace feature.
* feat: copy content to clipspace
* feat: paste content from clipspace
Extend validation to allow for validating annotated_path in addition to other parameters.
Add support for annotated_filepath in folder_paths function.
Generalize the '/upload/image' API to allow for uploading images to the 'input', 'temp', or 'output' directories.
* rename contentClipboard -> clipspace
* Do deep copy for imgs on copy to clipspace.
* add original_imgs into clipspace
* Preserve the original image when 'imgs' are modified
* robust patch & refactoring folder_paths about annotated_filepath
* Only show the Paste menu if the ComfyApp.clipspace is not empty
* instant refresh on paste
force triggering 'changed' on paste action
* subfolder fix on paste logic
attach subfolder if subfolder isn't empty
---------
Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2 years ago
comfyanonymous
deb2b93e79
Move code to empty gpu cache to model_management.py
2 years ago
藍+85CD
d63705d919
Support releases all unoccupied cached memory from XPU
2 years ago
pythongosssss
6f72c4c6ff
Allows nodes to return ui data and output data
...
Fire executed event on node when message received
2 years ago
Davemane42
1e0f2b232b
add unique_id to nodes hidden inputs
...
@classmethod
def INPUT_TYPES(cls):
return {
"hidden": {"unique_id": "UNIQUE_ID"},
}
2 years ago
comfyanonymous
bb1223d83f
Fix errors appearing more than once.
2 years ago
comfyanonymous
3444ffff3b
Fix IS_CHANGED not working on nodes with an input from another node.
2 years ago
comfyanonymous
f67c00622f
Use inference_mode instead of no_grad.
2 years ago