Skip to content

Commit

Permalink
ggml : add GGML_QNT_VERSION to track quantization format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed May 14, 2023
1 parent a235cdd commit 635da03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ggml.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@
#define GGML_FILE_MAGIC 0x67676d6c // "ggml"
#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_NODES 4096
#define GGML_MAX_PARAMS 256
Expand Down

0 comments on commit 635da03

Please sign in to comment.