Skip to content

Conversation

@JohannesGaessler
Copy link
Collaborator

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
Collaborator 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

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.

Copy link
Member

@ggerganov ggerganov left a comment

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
72 of 75 checks passed
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