Skip to content

b12884

  • b12884
  • 78c9ca4
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • b12884
  • 78c9ca4
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@l-pommeret l-pommeret tagged this 30 Nov 22:58
* llama : allow prism.hadamard folded weights for LFM3

Add LLM_ARCH_LFM3 to the architectures that may load Hadamard-folded
weights, and accept the LFM3 short-convolution projections
(shortconv.in_proj, shortconv.out_proj) as foldable. Both are built
through build_lora_mm in lfm-base.cpp, so the input transform is applied.
The Python converter filter is aligned with the loader.

Assisted-by: Claude Opus 5.5

* llama : accept shortconv projections as Hadamard-foldable kinds

Drop the LFM3-only condition: shortconv.in_proj and shortconv.out_proj
are built through build_lora_mm, so list them with the other foldable
kinds in the loader and the converter.

Assisted-by: Claude Opus 5.5

---------

Co-authored-by: Luc Pommeret <zlucpommeret@gmail.com>
Assets 2
Loading