Skip to content

llama-fit-params: fix underflow for dense models - #18095

Merged
JohannesGaessler merged 1 commit into
ggml-org:masterfrom
JohannesGaessler:llama-fp-fix-dense-underflow
Dec 16, 2025
Merged

JohannesGaessler merged 1 commit into
ggml-org:masterfrom
JohannesGaessler:llama-fp-fix-dense-underflow

Conversation

@JohannesGaessler

Copy link
Copy Markdown
Contributor

Fixes #18087 .

The way the number of unassigned layers are being calculated is not quite correct, resulting in a numerical underflow because a value is unintentionally being subtracted more than once.

@JohannesGaessler
JohannesGaessler merged commit 0e49a7b into ggml-org:master Dec 16, 2025
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.

Misc. bug: Nonsensical suggested fit params for dense models

2 participants