iq1bn: adjust scalar dot product and some cleanup

This commit is contained in:
Iwan Kawrakow
2024-07-17 08:44:46 +02:00
parent 873a790ee2
commit ba00f23ea1
3 changed files with 31 additions and 131 deletions

2
ggml.c
View File

@@ -21119,8 +21119,6 @@ void ggml_quantize_init(enum ggml_type type) {
case GGML_TYPE_IQ1_M: iq2xs_init_impl(type); break;
case GGML_TYPE_IQ3_XXS: iq3xs_init_impl(256); break;
case GGML_TYPE_IQ3_S: iq3xs_init_impl(512); break;
case GGML_TYPE_IQ2_BN:
case GGML_TYPE_IQ1_BN: iq1bn_init_impl(); break;
default: // nothing
break;
}