From 385b36b06291406e208813557f59873fcbe1eede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 23 Nov 2025 09:47:02 +0100 Subject: [PATCH] feat: enable CPU offload for CogVideoX model to reduce VRAM usage - Add enable_sequential_cpu_offload=true to DownloadAndLoadCogVideoModel - Reduces VRAM from ~20GB to ~12GB at cost of slower inference - Widget values: [model, precision, quantization, cpu_offload] = ['THUDM/CogVideoX-5b-I2V', 'bf16', 'disabled', true] - Necessary for 24GB GPU with other services running --- .../workflows/image-to-video/cogvideox-i2v-production-v1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfyui/workflows/image-to-video/cogvideox-i2v-production-v1.json b/comfyui/workflows/image-to-video/cogvideox-i2v-production-v1.json index e10e527..c799981 100644 --- a/comfyui/workflows/image-to-video/cogvideox-i2v-production-v1.json +++ b/comfyui/workflows/image-to-video/cogvideox-i2v-production-v1.json @@ -34,7 +34,7 @@ "type": "DownloadAndLoadCogVideoModel", "pos": [50, 500], "size": [350, 100], - "widgets_values": ["THUDM/CogVideoX-5b-I2V"], + "widgets_values": ["THUDM/CogVideoX-5b-I2V", "bf16", "disabled", true], "title": "CogVideoX-5b-I2V Loader", "flags": {}, "order": 1,