examples : add compiler version and target to build info (#2998)
This commit is contained in:
parent
3aefaab9e5
commit
e6616cf0db
21 changed files with 97 additions and 51 deletions
|
@ -1,3 +1,4 @@
|
|||
#include "common.h"
|
||||
#include "embd-input.h"
|
||||
|
||||
#include <cassert>
|
||||
|
@ -22,7 +23,7 @@ struct MyModel* create_mymodel(int argc, char ** argv) {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
fprintf(stderr, "%s: build = %d (%s)\n", __func__, BUILD_NUMBER, BUILD_COMMIT);
|
||||
print_build_info();
|
||||
|
||||
if (params.seed == LLAMA_DEFAULT_SEED) {
|
||||
params.seed = uint32_t(time(NULL));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue