summaryrefslogtreecommitdiff
path: root/examples/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/common.h')
-rw-r--r--examples/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/common.h b/examples/common.h
index 9d213d6d..66e56729 100644
--- a/examples/common.h
+++ b/examples/common.h
@@ -22,7 +22,7 @@
int32_t get_num_physical_cores();
struct gpt_params {
- int32_t seed = -1; // RNG seed
+ uint32_t seed = -1; // RNG seed
int32_t n_threads = get_num_physical_cores();
int32_t n_predict = -1; // new tokens to predict
int32_t n_ctx = 512; // context size