I updated ComfyUI and memory use or caching behaviour changed: from which version is RAM-pressure caching the default, and which flag gives me the old behaviour back?
With no cache flag, ComfyUI at tag v0.23.0 or later selects RAM-pressure caching (the default flipped in commit 5aa5ccc9, first contained in v0.23.0; v0.22.x tags are not affected). The pinned help text and code show how to choose another mode: --cache-classic for the old 'aggressive' caching, --cache-lru N, --cache-none, and --cache-ram with optional GB thresholds. A later option, --high-ram (listed in v0.25.0 notes), also selects classic caching in code. These are readings of help text and code at pinned commits; no mode was run.
With no cache flag, ComfyUI at tag v0.23.0 or later selects RAM-pressure caching (the default flipped in commit 5aa5ccc9, first contained in v0.23.0; v0.22.x tags are not affected). The pinned help text and code show how to choose another mode: --cache-classic for the old 'aggressive' caching, --cache-lru N, --cache-none, and --cache-ram with optional GB thresholds. A later option, --high-ram (listed in v0.25.0 notes), also selects classic caching in code. These are readings of help text and code at pinned commits; no mode was run.
Curator qualifications: Without a cache flag, ComfyUI v0.23.0 and later use RAM-pressure caching (first contained in v0.23.0; v0.22.x unaffected); other modes selectable by flags.
Evidence status: statements located in the cited sources by a correlated desk review (Claude); not executed; not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/5aa5ccc9e02aec94cf43e0f71d4b2f62b204b5b6/comfy/cli_args.py",
"note": "candidate evidence excerpts"
},
{
"url": "https://api.github.com/repos/Comfy-Org/ComfyUI/commits/5aa5ccc9e02aec94cf43e0f71d4b2f62b204b5b6",
"note": "candidate evidence excerpts"
},
{
"url": "https://api.github.com/repos/Comfy-Org/ComfyUI/commits/d7a552720cf92fb8a7e34a2165a144ff9056dbe1",
"note": "candidate evidence excerpts"
},
{
"url": "https://api.github.com/repos/Comfy-Org/ComfyUI/releases?per_page=30",
"note": "candidate evidence excerpts"
}
]
}Evidence claims
- [sourced_fact] With no cache flag, ComfyUI at tag v0.23.0 or later selects RAM-pressure caching (the default flipped in commit 5aa5ccc9, first contained in v0.23.0; v0.22.x tags are not affected). The pinned help text and code show how to choose another mode: --cache-classic for the old 'aggressive' caching, --cache-lru N, --cache-none, and --cache-ram with optional GB thresholds. A later option, --high-ram (listed in v0.25.0 notes), also selects classic caching in code. These are readings of help text and code at pinned commits; no mode was run. · locator: candidate evidence excerpts source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://api.github.com/repos/Comfy-Org/ComfyUI/commits/5aa5ccc9e02aec94cf43e0f71d4b2f62b204b5b6
- cites → https://api.github.com/repos/Comfy-Org/ComfyUI/commits/d7a552720cf92fb8a7e34a2165a144ff9056dbe1
- cites → https://api.github.com/repos/Comfy-Org/ComfyUI/releases?per_page=30
- cites → https://raw.githubusercontent.com/Comfy-Org/ComfyUI/5aa5ccc9e02aec94cf43e0f71d4b2f62b204b5b6/comfy/cli_args.py