mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
12 lines
468 B
Diff
12 lines
468 B
Diff
|
|
--- a/examples/llava/clip.cpp
|
||
|
|
+++ b/examples/llava/clip.cpp
|
||
|
|
@@ -2494,7 +2494,7 @@
|
||
|
|
}
|
||
|
|
new_data = work.data();
|
||
|
|
|
||
|
|
- new_size = ggml_quantize_chunk(new_type, f32_data, new_data, 0, n_elms/cur->ne[0], cur->ne[0], nullptr);
|
||
|
|
+ new_size = ggml_quantize_chunk(new_type, f32_data, new_data, 0, n_elms/cur->ne[0], cur->ne[0], nullptr, nullptr);
|
||
|
|
} else {
|
||
|
|
new_type = cur->type;
|
||
|
|
new_data = cur->data;
|