Skip to content

Commit

Permalink
common : use LLAMA_DEFAULT_SEED (ggerganov#5855)
Browse files Browse the repository at this point in the history
  • Loading branch information
dranger003 authored and NeoZhangJianyu committed Mar 5, 2024
1 parent f3a6dd6 commit edabfad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit edabfad

Please sign in to comment.