llama.cpp
f8719d2f - ggml, mtmd: refuse src1 BF16/F32 hints where the backend fails them

Commit
22 days ago
ggml, mtmd: refuse src1 BF16/F32 hints where the backend fails them Add a MUL_MAT test with the src1 precision hint set to BF16 and F32, src1 values outside of the F16 range and a tight tolerance for F32. The backends that convert src1 to F16, BF16 or TF32 refuse these hints in supports_op, so such multiplications run on the CPU: CUDA and Hexagon extend their MUL_MAT_ID check to MUL_MAT, Metal, WebGPU, OpenCL, CANN, OpenVINO, ET, zDNN and zenDNN refuse them, and SYCL refuses them for MUL_MAT. The mtmd log-mel uses ggml_mul_mat with an F32 src1 hint in place of its custom CPU op.
Committer
Parents
Loading