ComfyUI Node
Clear Allma VRAM
Unloads the Allma backend and frees its GPU, so the card can be used by ComfyUI. Pass-through: wire it anywhere and it fires at that point in the run.
Clear Allma VRAM
- any
- connectivity
- any
- status
◄kill_orphanstrue►
◄wait_until_freetrue►
◄timeout90►
◄enabledtrue►
CategoryAllma/utils
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| any | * | Anything at all — returned unchanged. This is the trigger: the cleanup happens when this value is needed. | |
| connectivityopt | ALLMA_CONNECTIVITY | Where the Allma server lives. Without it, 127.0.0.1:9000 is assumed. | |
| kill_orphansopt | BOOLEAN | true | Also terminate inference-backend processes still holding VRAM after the unload — the ones Allma has lost track of. Only processes whose command line names a known backend (llama-server, vllm, sglang) are ever signalled; ComfyUI is never touched. OFF: only the polite unload is attempted. |
| wait_until_freeopt | BOOLEAN | true | Hold the graph until the memory is actually released, so the next node does not start loading into VRAM that is still occupied. |
| timeoutopt | INT | 905–600 | Seconds to wait before giving up and letting the graph continue anyway. |
| enabledopt | BOOLEAN | true | OFF: pure pass-through, nothing is freed. Lets you keep the node wired while iterating. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| any | * | — |
| status | STRING | — |