Skip to content

Commit bdd612c

Browse files
committed
hotfix: #124 - fix for CLIPTextEncode error: ‘GGUFModelPatcher’ object has no attribute ‘model_patches_models’.
Co-authored-by: max-solo23
1 parent 2143a28 commit bdd612c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

distorch_2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ def patched_load_models_gpu(models, memory_required=0, force_patch_weights=False
8585
models_temp.add(m)
8686
for mm_patch in m.model_patches_models():
8787
models_temp.add(mm_patch)
88+
patches = m.model_patches_to(m.load_device)
89+
if patches:
90+
for mm_patch in patches:
91+
models_temp.add(mm_patch)
8892

8993
models = models_temp
9094

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-multigpu"
33
description = "Provides a suite of custom nodes to manage multiple GPUs for ComfyUI, including advanced model offloading for both GGUF and Safetensor formats with DisTorch, and bespoke MultiGPU support for WanVideoWrapper and other custom nodes."
4-
version = "2.5.4"
4+
version = "2.5.5"
55
license = {file = "LICENSE"}
66

77
[project.urls]

0 commit comments

Comments
 (0)