Skip to content

Commit deb78b3

Browse files
committed
llamafile: fix type fp16 vs f16
Signed-off-by: Aaron Teo <[email protected]>
1 parent 6c9ebf4 commit deb78b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cpu/llamafile/sgemm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3460,7 +3460,7 @@ bool llamafile_sgemm(const struct ggml_compute_params * params, int64_t m, int64
34603460
#elif defined(__VXE__) || defined(__VXE2__)
34613461
if (n < 4)
34623462
return false;
3463-
if (Btype == GGML_TYPE_FP16) {
3463+
if (Btype == GGML_TYPE_F16) {
34643464
tinyBLAS<4, float32x4_t, float32x4_t, ggml_fp16_t, ggml_fp16_t, float> tb{ params,
34653465
k, (const ggml_fp16_t *)A, lda,
34663466
(const ggml_fp16_t *)B, ldb,

0 commit comments

Comments
 (0)