mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	ggml : add GGML_QNT_VERSION to track quantization format changes
https://github.com/ggerganov/ggml/issues/150#issuecomment-1546625668
This commit is contained in:
		
							
								
								
									
										3
									
								
								ggml.h
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								ggml.h
									
									
									
									
									
								
							| @@ -190,6 +190,9 @@ | |||||||
| #define GGML_FILE_MAGIC   0x67676d6c // "ggml" | #define GGML_FILE_MAGIC   0x67676d6c // "ggml" | ||||||
| #define GGML_FILE_VERSION 1 | #define GGML_FILE_VERSION 1 | ||||||
|  |  | ||||||
|  | #define GGML_QNT_VERSION        1    // bump this on quantization format changes | ||||||
|  | #define GGML_QNT_VERSION_FACTOR 1000 // do not change this | ||||||
|  |  | ||||||
| #define GGML_MAX_DIMS          4 | #define GGML_MAX_DIMS          4 | ||||||
| #define GGML_MAX_NODES         4096 | #define GGML_MAX_NODES         4096 | ||||||
| #define GGML_MAX_PARAMS        256 | #define GGML_MAX_PARAMS        256 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov