Skip to content

Commit 04606a1

Browse files
committed
train : fix compile warning
1 parent b1ca8f3 commit 04606a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/train-text-from-scratch/train-text-from-scratch.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -2671,7 +2671,8 @@ struct train_params {
26712671
const char * fn_checkpoint_out;
26722672
const char * fn_model_out;
26732673

2674-
int seed;
2674+
uint32_t seed;
2675+
26752676
int n_ctx;
26762677
int n_embd;
26772678
int n_mult;

0 commit comments

Comments
 (0)