Skip to content

Commit

Permalink
sync : llama.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jan 14, 2024
1 parent 15bfd12 commit bca51b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/common-ggml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ bool ggml_common_quantize_0(
case GGML_TYPE_Q5_K:
case GGML_TYPE_Q6_K:
{
cur_size = ggml_quantize_chunk((ggml_type) ttype, data_f32.data(), work.data(), 0, nelements, hist_cur.data());
cur_size = ggml_quantize_chunk((ggml_type) ttype, data_f32.data(), work.data(), 0, nelements/ne[0], ne[0], hist_cur.data(), nullptr);
} break;
case GGML_TYPE_F32:
case GGML_TYPE_F16:
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync-llama.last
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c71d608ce7a1584bf5072f197919dd24f3a6163f
5f5fe1bd608fa2ed42af97b5f2ea31be6625fc48

0 comments on commit bca51b5

Please sign in to comment.