mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-08-21 23:22:57 -04:00
llama : allow 0 as a seed number. (#1275)
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user