Update ggml.c
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
0f8b1df18f
commit
8bd47a8bda
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -5875,7 +5875,7 @@ static void ggml_compute_forward_dup_f16(
|
||||||
}
|
}
|
||||||
} else if (ggml_is_quantized(dst->type)) {
|
} else if (ggml_is_quantized(dst->type)) {
|
||||||
quantize_row_q_t const quantize_row_q = quantize_fns[dst->type].quantize_row_q;
|
quantize_row_q_t const quantize_row_q = quantize_fns[dst->type].quantize_row_q;
|
||||||
float * src0_f32 = (float *) params->wdata + ne00 * ith;
|
float * src0_f32 = (float *) params->wdata + (ne00 + CACHE_LINE_SIZE_F32) * ith;
|
||||||
|
|
||||||
size_t id = 0;
|
size_t id = 0;
|
||||||
size_t rs = nb0 * (ne00 / GGML_BLCK_SIZE[dst->type]);
|
size_t rs = nb0 * (ne00 / GGML_BLCK_SIZE[dst->type]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue