mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	gptneox-main.cpp : add file_type key
This commit is contained in:
		| @@ -379,6 +379,8 @@ bool gpt_neox_model_load(const std::string & fname, gpt_neox_model & model, gpt2 | ||||
|         if (keyidx != -1) { fprintf(stdout, "%s: model license      = %s\n", __func__, gguf_get_val_str(ggufctx, keyidx)); } | ||||
|         keyidx = gguf_find_key(ggufctx, "general.architecture"); | ||||
|         if (keyidx != -1) { fprintf(stdout, "%s: model architecture = %s\n", __func__, gguf_get_val_str(ggufctx, keyidx)); } | ||||
|         keyidx = gguf_find_key(ggufctx, "general.file_type"); | ||||
|         if (keyidx != -1) { fprintf(stdout, "%s: model file type    = %s\n", __func__, gguf_get_val_str(ggufctx, keyidx)); } | ||||
|     } | ||||
|  | ||||
|     // check required metadata | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 klosax
					klosax