Skip to content

llama-bench : add --no-warmup flag (#14224) #14270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025

Conversation

s2010
Copy link
Contributor

@s2010 s2010 commented Jun 18, 2025

Summary

Add --no-warmup flag to llama-bench to allow users to skip warmup runs before benchmarking.

Addresses

Closes #14224

Add no_warmup parameter to cmd_params struct and command-line parsing to allow users to skip warmup runs before benchmarking.

- Add no_warmup boolean field to cmd_params struct

- Add --no-warmup command-line argument parsing

- Add help text documentation for the new flag

- Wrap existing warmup logic in conditional check

- Maintain full backward compatibility (warmup enabled by default)

Addresses ggml-org#14224
@slaren slaren merged commit fffcce5 into ggml-org:master Jun 19, 2025
47 checks passed
@s2010 s2010 deleted the add-no-warmup-flag branch June 19, 2025 11:57
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.

Feature Request: Add --no-warmup to llama-bench
2 participants