-
Notifications
You must be signed in to change notification settings - Fork 212
add filter_prefix and del_filter_prefix #472
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
base: main
Are you sure you want to change the base?
Conversation
It is hoped that to_diffuser exposes the parameter filter_prefix to avoid some models reporting errors during loading, for example ValueError: Incompatible keys detected: lora_unet_img_in.alpha, lora_unet_txt_in.alpha
|
any LoRA example for this? |
Some lora trained using the Qinglong script |
|
I also encountered this issue while using this model |
|
I used this piece of code, copied it to /root/anaconda3/lib/python3.12/site-packages/nunchaku in the environment, but it still reported an error when running. File "/comfyui_vol/ComfyUI/execution.py", line 327, in execute lora_unet_img_in.alpha, lora_unet_txt_in.alpha |
https://github.com/SongDI911/ComfyUI-nunchakuhttps://github.com/SongDI911/ComfyUI-nunchaku |
It ran successfully, thank you very much |
It is hoped that to_diffuser exposes the parameter filter_prefix to avoid some models reporting errors during loading, for example
ValueError: Incompatible keys detected:
lora_unet_img_in.alpha, lora_unet_txt_in.alpha