Skip to content

Commit 98c6278

Browse files
committed
Q2 and Q3 quantization
1 parent 2f7c8e0 commit 98c6278

File tree

5 files changed

+441
-8
lines changed

5 files changed

+441
-8
lines changed

examples/quantize/quantize.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ int main(int argc, char ** argv) {
1414
fprintf(stderr, "usage: %s model-f32.bin model-quant.bin type\n", argv[0]);
1515
fprintf(stderr, " type = %d - q4_0\n", LLAMA_FTYPE_MOSTLY_Q4_0);
1616
fprintf(stderr, " type = %d - q4_1\n", LLAMA_FTYPE_MOSTLY_Q4_1);
17+
fprintf(stderr, " type = %d - q2_0\n", LLAMA_FTYPE_MOSTLY_Q2_0);
18+
fprintf(stderr, " type = %d - q3_0\n", LLAMA_FTYPE_MOSTLY_Q3_0);
1719
return 1;
1820
}
1921

0 commit comments

Comments
 (0)