]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
train : fix compile warning
authorGeorgi Gerganov <redacted>
Sat, 1 Jul 2023 15:45:44 +0000 (18:45 +0300)
committerGeorgi Gerganov <redacted>
Sat, 1 Jul 2023 15:45:44 +0000 (18:45 +0300)
examples/train-text-from-scratch/train-text-from-scratch.cpp

index 05bfa801679686135b39b84a0193028bf1eb3f77..c50eeb343bcef2dad8c93caf6c85307a1c071320 100644 (file)
@@ -2671,7 +2671,8 @@ struct train_params {
     const char * fn_checkpoint_out;
     const char * fn_model_out;
 
-    int seed;
+    uint32_t seed;
+
     int n_ctx;
     int n_embd;
     int n_mult;