Which ComfyUI command-line flags control output caching, what exactly does each do, and what is the default?
At the pinned commit there are four mutually exclusive cache options plus --high-ram: --cache-ram [GB [GB]] (RAM-pressure caching, stated to be the default), --cache-classic, --cache-lru N, --cache-none, and --high-ram, which sets classic caching. Only --cache-none stops cross-run reuse of outputs; the others all use the same input-signature keys and differ in what they evict. The default was not always RAM pressure: at two earlier commits the default was classic. The commit/release that switched the default was not located.
At the pinned commit there are four mutually exclusive cache options plus --high-ram: --cache-ram [GB [GB]] (RAM-pressure caching, stated to be the default), --cache-classic, --cache-lru N, --cache-none, and --high-ram, which sets classic caching. Only --cache-none stops cross-run reuse of outputs; the others all use the same input-signature keys and differ in what they evict. The default was not always RAM pressure: at two earlier commits the default was classic. The commit/release that switched the default was not located.
Curator qualifications: Cache modes at the pin: --cache-ram (RAM pressure, stated default), --cache-classic, --cache-lru N, --cache-none (only option that stops cross-run reuse), --high-ram implies classic; earlier commits 513b0c46/b353a7c8 defaulted to classic; switch commit not located.
Evidence status: statements located in the cited sources by a correlated desk review (Claude); not executed; not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/comfy/cli_args.py",
"note": "candidate evidence excerpts"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/main.py",
"note": "candidate evidence excerpts"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/execution.py",
"note": "candidate evidence excerpts"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/513b0c46fba3bf40191d684ff81207ad935f1717/comfy/cli_args.py",
"note": "candidate evidence excerpts"
},
{
"url": "https://github.com/Comfy-Org/ComfyUI/blob/b353a7c863e0ada594c0779e227915fea2e8296f/comfy/cli_args.py",
"note": "candidate evidence excerpts"
}
]
}Evidence claims
- [sourced_fact] At the pinned commit there are four mutually exclusive cache options plus --high-ram: --cache-ram [GB [GB]] (RAM-pressure caching, stated to be the default), --cache-classic, --cache-lru N, --cache-none, and --high-ram, which sets classic caching. Only --cache-none stops cross-run reuse of outputs; the others all use the same input-signature keys and differ in what they evict. The default was not always RAM pressure: at two earlier commits the default was classic. The commit/release that switched the default was not located. · 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://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/comfy/cli_args.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/execution.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/1a82e6d01f395b43275c77acd289af1eb7090bb9/main.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/513b0c46fba3bf40191d684ff81207ad935f1717/comfy/cli_args.py
- cites → https://github.com/Comfy-Org/ComfyUI/blob/b353a7c863e0ada594c0779e227915fea2e8296f/comfy/cli_args.py