Skip to content

Conversation

@stduhpf
Copy link
Contributor

@stduhpf stduhpf commented Jan 30, 2026

Lora "mid" weights for convolution layers were being ignored, wich can cause crashes (stable-diffusion.cpp\lora.hpp:498: GGML_ASSERT(ggml_nelements(diff) == ggml_nelements(model_tensor)) failed) when loading some LoRA models.

This should fix it in a lot of, if not all, cases.

Example model that fails before this change: https://civitai.green/models/918898/lokrconcept-ahetobleh-for-illustrious-based-models

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant