Skip to content

Commit

Permalink
llama : fix uint64_t format type
Browse files Browse the repository at this point in the history
  • Loading branch information
compilade committed Jul 26, 2024
1 parent 8e39037 commit 9e22064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17767,7 +17767,7 @@ struct llama_data_read_context {
read_to(&v_size_el_ref, sizeof(v_size_el_ref));
const size_t v_size_el = ggml_type_size(kv_self.v_l[il]->type);
if (v_size_el != v_size_el_ref) {
LLAMA_LOG_ERROR("%s: mismatched value element size (%zu != %lu, layer %d)\n", __func__, v_size_el, v_size_el_ref, il);
LLAMA_LOG_ERROR("%s: mismatched value element size (%zu != %llu, layer %d)\n", __func__, v_size_el, v_size_el_ref, il);
return false;
}

Expand Down

0 comments on commit 9e22064

Please sign in to comment.