From 6e4790f903734c5e749199f0972ab53a1ea9ec53 Mon Sep 17 00:00:00 2001 From: City <125218114+city96@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:54:20 +0100 Subject: [PATCH] Unused workaround --- nodes.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nodes.py b/nodes.py index b2d2cb3..c45a2e3 100644 --- a/nodes.py +++ b/nodes.py @@ -313,12 +313,10 @@ class CLIPLoaderGGUF: clip_data = [] for p in ckpt_paths: if p.endswith(".gguf"): - clip_data.append(gguf_clip_loader(p)) + sd = gguf_clip_loader(p) else: sd = comfy.utils.load_torch_file(p, safe_load=True) - clip_data.append( - {k:GGMLTensor(v, tensor_type=gguf.GGMLQuantizationType.F16, tensor_shape=v.shape) for k,v in sd.items()} - ) + clip_data.append(sd) return clip_data def load_patcher(self, clip_paths, clip_type, clip_data):