Move VRAM cleanup after second pass

This commit is contained in:
Morpheus
2026-10-14 17:10:50 +00:00
parent 1f1f9768f7
commit 6edf6769bb
4 changed files with 12 additions and 12 deletions
@@ -135,11 +135,11 @@ recalibrated if multi-clip scaling is not approximately linear.
CT-01 and CT-B01 remain the two no-cache controls. Every later row adds
EasyCache with reuse threshold `0.3`, active from 20% to 90% of sampling, and
verbose logging disabled. Those rows also pass the model through AusBoss `Free
Memory 🆎` immediately before the DUMAS second pass. It clears ComfyUI/CUDA
caches while preserving the model wire. The EasyCache node wraps the
LoRA/sparse-attention model before generation; the clear-VRAM node is placed
only at the hand-off into the second pass.
verbose logging disabled. Those rows also pass the completed DUMAS second-pass
video output through AusBoss `Free Memory 🆎` immediately before decode. It
clears ComfyUI/CUDA caches while preserving the video-sample wire. The
clear-VRAM node is deliberately after tiled upscale, so it cannot evict the
model before the second pass has finished.
The bypass series uses the identical seed, references, prompt text, model,
samplers, scheduler, upscale settings, tile geometry, and chunk plan. Only the
@@ -153,9 +153,9 @@ CT-02 vs CT-B02, and so on.
- `workflow-easy-cache.json` — Spectrum graph with EasyCache enabled.
- `workflow-spectrum-bypassed-easy-cache.json` — bypass graph with EasyCache enabled.
- `workflow-easy-cache-clear-vram.json` — Spectrum graph with EasyCache and
pass-through VRAM cleanup before the DUMAS second pass.
pass-through VRAM cleanup after the DUMAS second pass.
- `workflow-spectrum-bypassed-easy-cache-clear-vram.json` — bypass graph with
EasyCache and pass-through VRAM cleanup before the DUMAS second pass.
EasyCache and pass-through VRAM cleanup after the DUMAS second pass.
- `prompt.txt` — controlled base prompt for the study.
- `prompt-variants.json` — exact smoke-test and 30-second prompt variants.
- `variables.json` — immutable constants and allowed test variables.
@@ -31,7 +31,7 @@
"clear_vram": {
"node": "AUSBOSS_NODES_FreeMemory",
"display_name": "Free Memory 🆎",
"placement": "Between EasyCache/model output and the DUMAS second-pass model input",
"placement": "After the DUMAS second-pass video output and before decode",
"behavior": "Pass-through; clears ComfyUI model cache and CUDA cache when executed"
},
"latent_upscaler": "minimax_h3_latent_upscaler_3d_conv_v1_fp16.safetensors"
@@ -66,7 +66,7 @@
"384": {
"inputs": {
"value": [
"383",
"379",
0
]
},
@@ -321,7 +321,7 @@
"disk_budget_gb": 8,
"reset_token": 0,
"video_samples": [
"379",
"384",
0
],
"video_vae": [
@@ -66,7 +66,7 @@
"384": {
"inputs": {
"value": [
"383",
"379",
0
]
},
@@ -321,7 +321,7 @@
"disk_budget_gb": 8,
"reset_token": 0,
"video_samples": [
"379",
"384",
0
],
"video_vae": [