llama : allow 0 as a seed number. (#1275)
This commit is contained in:
parent
e2cd506999
commit
2bb992f034
7 changed files with 9 additions and 9 deletions
2
llama.h
2
llama.h
|
@ -56,7 +56,7 @@ extern "C" {
|
|||
struct llama_context_params {
|
||||
int n_ctx; // text context
|
||||
int n_parts; // -1 for default
|
||||
int seed; // RNG seed, 0 for random
|
||||
int seed; // RNG seed, -1 for random
|
||||
|
||||
bool f16_kv; // use fp16 for KV cache
|
||||
bool logits_all; // the llama_eval() call computes all logits, not just the last one
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue