diff options
author | Robert Brisita <986796+rbrisita@users.noreply.github.com> | 2023-05-02 12:23:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 19:23:44 +0300 |
commit | 2bb992f034689e2ddd7b9ac05163b0359a5957b3 (patch) | |
tree | 7ee292ca430cc0fcb40730dadcee333608115f9a /llama.h | |
parent | e2cd5069999181a9e4a22cf420e0491878b3062f (diff) |
llama : allow 0 as a seed number. (#1275)
Diffstat (limited to 'llama.h')
-rw-r--r-- | llama.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |