Merging mainline - WIP

This commit is contained in:
Iwan Kawrakow
2024-07-26 16:32:40 +03:00
parent 0684c3e9c7
commit 6b2b52d2fe
613 changed files with 50831 additions and 165912 deletions

View File

@@ -285,7 +285,7 @@ int main(int argc, char * argv[]) {
for (size_t size : params.test_sizes) {
printf(" %zu values (%.2f MB)\n", size, 4*size/(float)(1024*1024));
auto quantize_fn = [&](void) -> float {
qfns.from_float_reference(test_data1, test_q1, size);
qfns.from_float_ref(test_data1, test_q1, size);
return test_q1[0];
};
size_t quantized_size = ggml_row_size(type, size);