diff options
author | Stephan Walter <stephan@walter.name> | 2023-04-22 10:54:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 10:54:13 +0000 |
commit | c50b628810f36a3e6e0324371f6db579eacefa0e (patch) | |
tree | b898992edc4c272bc0705684e6eaa926d26b219f /tests/test-quantize-fns.cpp | |
parent | 5f939498d517b4dddbe904f202e895a3ecfb9dc4 (diff) |
Fix CI: ARM NEON, quantization unit tests, editorconfig (#1122)
Diffstat (limited to 'tests/test-quantize-fns.cpp')
-rw-r--r-- | tests/test-quantize-fns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-quantize-fns.cpp b/tests/test-quantize-fns.cpp index 5a54101..7e091e8 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; |