Skip to content

model: fix LFM2 missing tensors - #18105

Merged
ngxson merged 1 commit into
ggml-org:masterfrom
ngxson:xsn/lfm2_missing_tensor
Dec 16, 2025
Merged

ngxson merged 1 commit into
ggml-org:masterfrom
ngxson:xsn/lfm2_missing_tensor

Conversation

@ngxson

@ngxson ngxson commented Dec 16, 2025 •

Copy link
Copy Markdown
Collaborator

Overlooked a change from #18051

cc @tdakhran for visibility: LFM2 reports missing tensor without this fix

@ngxson
ngxson merged commit ef83fb8 into ggml-org:master Dec 16, 2025
@remixer-dec

Copy link
Copy Markdown

I'm still getting llama_model_load: error loading model: missing tensor 'token_embd_norm'
llama_model_load_from_file_impl: failed to load model
on build made at commit 5806286 with LFM2-8B-A1B-UD-Q6_K_XL.gguf

@tdakhran

Copy link
Copy Markdown
Contributor

@remixer-dec addressed in #18132

Luckybalabala pushed a commit to Luckybalabala/llama-cpp-AutoGLM that referenced this pull request Dec 19, 2025
应用上游PR修复:
- ggml-org/llama.cpp#18105 (LFM2模型张量已存在)
- auroralabs-loci/llama.cpp#605 (LFM2_MOE模型张量)

更改:
- src/llama-arch.cpp: LFM2MOE架构中 LLM_TENSOR_OUTPUT_NORM
  -> LLM_TENSOR_OUTPUT_NORM_LFM2

修复模型加载时缺失张量的问题
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
MrLordCat referenced this pull request in MrLordCat/llama.cpp-rdna-lab Jul 16, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
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.

4 participants