From c0cc2805e94de27570725a024c5d7f77379cd21f Mon Sep 17 00:00:00 2001 From: rdp Date: Wed, 10 Jun 2026 15:28:17 +0300 Subject: [PATCH] Fix "addmm_cuda" not implemented for 'Char' crash when using INT8GroupedLora --- int8_quant.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/int8_quant.py b/int8_quant.py index 957609f..c512898 100644 --- a/int8_quant.py +++ b/int8_quant.py @@ -1035,6 +1035,9 @@ class INT8ModelPatcher(comfy.model_patcher.ModelPatcher): module.weight_function = [f for f in getattr(module, "weight_function", []) if type(f).__name__ != "LowVramPatch"] self.patch_weight_to_device(weight_key, device_to=device_to) else: + if hasattr(module, "weight_function"): + module.weight_function = [f for f in getattr(module, "weight_function", []) if type(f).__name__ != "LowVramPatch"] + lowvram_patch = INT8LowVramPatch( weight_key, self.patches,