mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	examples : add compiler version and target to build info (#2998)
This commit is contained in:
		| @@ -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)); | ||||
|   | ||||
| @@ -3,7 +3,6 @@ | ||||
|  | ||||
| #include "common.h" | ||||
| #include "llama.h" | ||||
| #include "build-info.h" | ||||
|  | ||||
| extern "C" { | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Cebtenzzre
					Cebtenzzre