examples : add compiler version and target to build info (#2998)

This commit is contained in:
Cebtenzzre authored and GitHub committed 2023-09-15 16:59:49 -04:00
1 parent 3aefaab9e5
commit e6616cf0db
21 files changed
+97 -51

No files matched your search

+1 -2
View File
@@ -1,6 +1,5 @@
#include "common.h"
#include "llama.h"
#include "build-info.h"
#include <vector>
#include <cstdio>
@@ -17,7 +16,7 @@ int main(int argc, char ** argv) {
return 1;
}
fprintf(stderr, "%s: build = %d (%s)\n", __func__, BUILD_NUMBER, BUILD_COMMIT);
print_build_info();
if (params.n_predict < 0) {
params.n_predict = 16;