Comments (2)
Is there a way to clear the memory (VRAM) after a workflow run?
There's an API route for it (post /free
with { "unload_models": true, "free_memory": true }
, and Swarm has a button in the Server tab for that. I don't think comfy itself currently has a button for it
Or possibly even during the run?
that'd require a node or CLI arg. There are relevant CLI args listed here: https://github.com/comfyanonymous/ComfyUI/blob/master/comfy/cli_args.py#L103-L109
Generally by default comfy is designed to try to avoid running out of memory and will automatically unload on the fly as needed. This might not work as intended with some custom nodes if they load models and don't use that system.
from comfyui.
Thank you very much for your answer
from comfyui.
Related Issues (20)
- Restart sampling HOT 2
- Group node components do not preserve node values HOT 2
- How to downgrade python version in portable comfyui? HOT 1
- After loading the image drawing mask and saving it, the position of the drawing mask cannot be previewed. HOT 14
- 希望凌乱的连线更加一目了然并且美观 HOT 1
- how to run with cloudflared with tunnel, cloudflared token, port, and certfile ?
- After launching ComfyUI for a while, the "Load Image" node cannot identify WebP. HOT 3
- Is Metadata Avaliable for API JSON Export Format? HOT 1
- Copy/paste of nodes stopped working. HOT 9
- Run Code main.py not working in VSCode but is working in Smatrix HOT 5
- after a update,"realtime"workflow api between photoshop and comfyui became slower than 10 seconds HOT 1
- ComfyUI portable: python embeded version to python 3.10.11 instead please.... HOT 2
- Mangled Workflow in PNG HOT 10
- unable to use Save Image node or Preview Image node HOT 4
- AuraFlow safety checker HOT 1
- run signle node,control flow HOT 1
- Closing an unused tab causes "Process Interrupted" in the used tab.
- JAVA PROBLEMS? NOT working right-click on image preview to SAVE & other HOT 5
- first image and image to image doesn't display image correctly HOT 6
- My comfyui web page became unusually slow, unable to drag and load nodes HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyui.