Skip to content

Conversation

stduhpf
Copy link
Contributor

@stduhpf stduhpf commented Jan 20, 2025

Fixes #573
This assumes LoRA tensors will always have a pair number of dims, which I believe should always be the case for supported models?

Another idea I had to fix it was to check the rank using the penultimate dim of the lora_up tensor, if this implementation cause issues, I will try that instead.

@leejet leejet merged commit e500d95 into leejet:master Feb 5, 2025
9 checks passed
@leejet
Copy link
Owner

leejet commented Feb 5, 2025

Thank you for your contribution.

stduhpf added a commit to stduhpf/stable-diffusion.cpp that referenced this pull request Feb 8, 2025
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.

Error ggml with SDXL + LoRA : GGML_ASSERT(ggml_can_mul_mat(a, b)) failed

2 participants