Skip to content

Commit bca51b5

Browse files
committed
sync : llama.cpp
1 parent 15bfd12 commit bca51b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/common-ggml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ bool ggml_common_quantize_0(
184184
case GGML_TYPE_Q5_K:
185185
case GGML_TYPE_Q6_K:
186186
{
187-
cur_size = ggml_quantize_chunk((ggml_type) ttype, data_f32.data(), work.data(), 0, nelements, hist_cur.data());
187+
cur_size = ggml_quantize_chunk((ggml_type) ttype, data_f32.data(), work.data(), 0, nelements/ne[0], ne[0], hist_cur.data(), nullptr);
188188
} break;
189189
case GGML_TYPE_F32:
190190
case GGML_TYPE_F16:

scripts/sync-llama.last

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c71d608ce7a1584bf5072f197919dd24f3a6163f
1+
5f5fe1bd608fa2ed42af97b5f2ea31be6625fc48

0 commit comments

Comments
 (0)