diff options
author | Yann Follet <131855179+YannFollet@users.noreply.github.com> | 2024-01-14 00:09:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 18:09:08 +0200 |
commit | 722d33f34ec74c6f7046109f936d0928ffe171bc (patch) | |
tree | 15cf24a08c4973aa2a07f9842699caff800f1957 /common/common.h | |
parent | c30b1ef39aeba497a943416d2897d69fee055b96 (diff) |
main : add parameter --no-display-prompt (#4541)
* add the parameter : --no-display-prompt , combine with --log-disable it will display only the generated tokens
* remove empty line
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'common/common.h')
-rw-r--r-- | common/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/common.h b/common/common.h index f29be5b5..09646824 100644 --- a/common/common.h +++ b/common/common.h @@ -126,6 +126,7 @@ struct gpt_params { bool use_mlock = false; // use mlock to keep model in memory bool numa = false; // attempt optimizations that help on some NUMA systems bool verbose_prompt = false; // print prompt tokens before generation + bool display_prompt = true; // print prompt before generation bool infill = false; // use infill mode bool dump_kv_cache = false; // dump the KV cache contents for debugging purposes bool no_kv_offload = false; // disable KV offloading |