ComfyUI patching got updated to support offset weights, so I needed to update my code to match that. Backwards compatible with old versions of ComfyUI, as the offset parameter is just an extra item on the patch tuple.
Also took the chance to make ModelPatcherCLIPHooks use HookRef in its hooked_patches dict instead of LoraHook just like ModelPatcherAndInjector.
ComfyUI patching got updated to support offset weights, so I needed to update my code to match that. Backwards compatible with old versions of ComfyUI, as the offset parameter is just an extra item on the patch tuple.
Also took the chance to make ModelPatcherCLIPHooks use HookRef in its hooked_patches dict instead of LoraHook just like ModelPatcherAndInjector.