From: DAN™ Date: Mon, 4 Mar 2024 08:08:19 +0000 (-0500) Subject: common : use LLAMA_DEFAULT_SEED (#5855) X-Git-Tag: upstream/0.0.4488~2156 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=82f3e668adafba647de703f835991e91a96b5ac4;p=pkg%2Fggml%2Fsources%2Fllama.cpp common : use LLAMA_DEFAULT_SEED (#5855) --- diff --git a/common/common.h b/common/common.h index d3682b7a..b2868833 100644 --- a/common/common.h +++ b/common/common.h @@ -43,7 +43,7 @@ extern char const *LLAMA_BUILD_TARGET; int32_t get_num_physical_cores(); struct gpt_params { - uint32_t seed = -1; // RNG seed + uint32_t seed = LLAMA_DEFAULT_SEED; // RNG seed int32_t n_threads = get_num_physical_cores(); int32_t n_threads_draft = -1;