common : bring back missing args, add env var duplication check (#9375)

* common : bring back missing args

* move duplication check to test-arg-parser

* add check for duplicated env var

* correct default values
This commit is contained in:
Xuan Son Nguyen 2024-09-08 18:08:55 +02:00 committed by GitHub
parent a249843d89
commit 3f7ccfd649
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 99 additions and 41 deletions

View file

@ -211,7 +211,6 @@ struct gpt_params {
bool use_mlock = false; // use mlock to keep model in memory
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
bool warmup = true; // warmup run