-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After updating GGUF, using lora via HOOKS causes an error: AttributeError: 'Linear' object has no attribute 'temp' #193
Comments
Specifically stems from the changes added to comfyui in comfyanonymous/ComfyUI#5583 |
I was just searching for this error. I get the same message with scheduled LoRAs and GGUF checkpoints. |
I tried the ComfyUI commit just before that - comfyanonymous/ComfyUI/commit/2d5b3e0078c927ec6fcf47f80bf4035706934605 in combination with an old commit of GGUF (98333480059a2ccafb4718924ebcb9cdcb9b1f43) and it didn't work. |
@Tophness the hook nodes don't exist prior to that PR being merged, there's no issues with regular lora loading currently, it's only when scheduled with hooks. If there were issues with regular lora loading (or something else) prior to the PR, it's clearly been corrected since then. I suspect the nature of implementing GGUF is incompatible with the model patching changes surrounding the hooks in ComfyUI. @city96 maybe you can confirm it's even feasible for the GGUF logic to be made compatible with the LoRa hooks? |
Same problem when I use ModelMergerFlux1, any solution? |
@DevouredBeef Unsure, I haven't looked at how the hooks logic works so I can't comment on what it would take to implement. The LoRA logic for gguf quite different (and fragile) so I assume the issue is with that. |
same problem with GGUF models. 16vram two low to run with two lora models. |
At first KSampler started but there were a lot of errors in the terminal like:
ERROR lora diffusion_model.single_blocks.9.linear1.weight shape '[3072, 1728]' is invalid for input of size 9437184
Then, updated the GGUF and I get this:
The text was updated successfully, but these errors were encountered: