Skip to content

add command line mode#977

Closed
wbpxre150 wants to merge 3 commits intoggml-org:masterfrom
wbpxre150:test
Closed

add command line mode#977
wbpxre150 wants to merge 3 commits intoggml-org:masterfrom
wbpxre150:test

Conversation

@wbpxre150
Copy link
Copy Markdown
Contributor

@wbpxre150 wbpxre150 commented Apr 14, 2023

This commit adds a print of timing stats at the press of ctrl+c to exit the program along with command line mode, where ??? command argument changes the runtime parameters for the following variables:

n_predict, top_k, ctx_size, top_p, temp, repeat_last_n, repeat_penalty, batch_size, reverse-prompt, keep

It also has the option to print stats by typing ??? stats 0

Its easy enough to add more commands as we see fit in the future. Feedback welcome! Recent commits made me recreate the pull request due to conflicts.

@wbpxre150 wbpxre150 closed this Apr 15, 2023
@wbpxre150 wbpxre150 deleted the test branch April 17, 2023 06:54
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
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.

1 participant