From ef4c9589dadee3b16cbfdb1813d9c1eec08a1df5 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 16 Nov 2025 11:18:23 +0000 Subject: [PATCH] sd.py: make sure CLIP is running on gpu when gpu-only is set. --- comfy/sd.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/comfy/sd.py b/comfy/sd.py index 9e5ebbf15..11c3dc00c 100644 --- a/comfy/sd.py +++ b/comfy/sd.py @@ -125,8 +125,6 @@ class CLIP: self.patcher.hook_mode = comfy.hooks.EnumHookMode.MinVram self.patcher.is_clip = True self.apply_hooks_to_conds = None - if params['device'] == load_device: - model_management.load_models_gpu([self.patcher], force_full_load=True) self.layer_idx = None self.use_clip_schedule = False logging.info("CLIP/text encoder model load device: {}, offload device: {}, current: {}, dtype: {}".format(load_device, offload_device, params['device'], dtype))