From c50b628810f36a3e6e0324371f6db579eacefa0e Mon Sep 17 00:00:00 2001 From: Stephan Walter Date: Sat, 22 Apr 2023 10:54:13 +0000 Subject: Fix CI: ARM NEON, quantization unit tests, editorconfig (#1122) --- tests/test-quantize-fns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-quantize-fns.cpp') diff --git a/tests/test-quantize-fns.cpp b/tests/test-quantize-fns.cpp index 5a541015..7e091e8c 100644 --- a/tests/test-quantize-fns.cpp +++ b/tests/test-quantize-fns.cpp @@ -120,7 +120,7 @@ int main(int argc, char * argv[]) { ggml_type type = (ggml_type) i; quantize_fns_t qfns = ggml_internal_get_quantize_fn(i); - if (qfns.quantize_row_q) { + if (qfns.quantize_row_q && qfns.dequantize_row_q) { const float total_error = total_quantization_error(qfns, test_size, test_data.data()); failed = !(total_error < MAX_QUANTIZATION_TOTAL_ERROR); num_failed += failed; -- cgit v1.2.3