common : use LLAMA_DEFAULT_SEED (#5855)

This commit is contained in:
DAN™ 2024-03-04 03:08:19 -05:00 committed by GitHub
parent 5a51cc1bb4
commit 82f3e668ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;