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 <cmath>
#include <cstdio>
@@ -670,7 +669,7 @@ int main(int argc, char ** argv) {
params.n_ctx += params.ppl_stride/2;
}
fprintf(stderr, "%s: build = %d (%s)\n", __func__, BUILD_NUMBER, BUILD_COMMIT);
print_build_info();
if (params.seed == LLAMA_DEFAULT_SEED) {
params.seed = time(NULL);