From 4f2133f15f9729ff62dba4be58c40e64950a4f94 Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Mon, 10 Mar 2025 14:45:07 +0200 Subject: [PATCH] Actually way too slow to do this on cpu.... --- nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 9454de9..ebe8a83 100644 --- a/nodes.py +++ b/nodes.py @@ -448,7 +448,7 @@ class WanVideoModelLoader: patcher, _ = load_lora_for_models(patcher, None, lora_sd, lora_strength, 0) del lora_sd - patcher.patch_model(transformer_load_device) + patcher.patch_model(device) del sd gc.collect()