Skip to content

llama-fit-params: QoL impr. for prints/errors - #18089

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

JohannesGaessler merged 1 commit into
ggml-org:masterfrom
JohannesGaessler:llama-fp-qol

Conversation

@JohannesGaessler

Copy link
Copy Markdown
Contributor

In order to improve usability of llama-fit-params, add a slight delay to avoid stdout and stderr being printed out-of-order and add double quotes around the tensor buft overrides so that they can simply be copypasted.

@JohannesGaessler
JohannesGaessler force-pushed the llama-fp-qol branch 3 times, most recently from bc0c710 to 8430344 Compare December 16, 2025 10:18
@JohannesGaessler

Copy link
Copy Markdown
Contributor Author

Fixes #18084 .

I added handling of fit failure.

@JohannesGaessler JohannesGaessler changed the title llama-fit-params: QoL improvements for the prints llama-fit-params: QoL impr. for prints/errors Dec 16, 2025
@verygreen

Copy link
Copy Markdown

The error handling is much better now (I tried two scenarios - the unknown tensor type quant and the nonexistent path). Both the error is there and the return code is also 1.

Thank you.

@ggerganov ggerganov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, generally printf() is more widely adopted in the codebase compared to std::cout, so for consistency consider using it instead.

@JohannesGaessler
JohannesGaessler merged commit 4164596 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants