aboutsummaryrefslogtreecommitdiff
path: root/examples/save-load-state/save-load-state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/save-load-state/save-load-state.cpp')
-rw-r--r--examples/save-load-state/save-load-state.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/save-load-state/save-load-state.cpp b/examples/save-load-state/save-load-state.cpp
index f1531ba..ea0a984 100644
--- a/examples/save-load-state/save-load-state.cpp
+++ b/examples/save-load-state/save-load-state.cpp
@@ -1,5 +1,6 @@
#include "common.h"
#include "llama.h"
+#include "build-info.h"
#include <vector>
#include <cstdio>
@@ -17,6 +18,8 @@ int main(int argc, char ** argv) {
return 1;
}
+ fprintf(stderr, "%s: build = %d (%s)\n", __func__, BUILD_NUMBER, BUILD_COMMIT);
+
if (params.n_predict < 0) {
params.n_predict = 16;
}