metal : add F16 support for bin ops (#26465)

This commit is contained in:
Georgi Gerganov
2026-08-02 22:28:17 +03:00
committed by GitHub
parent 0ab9d6fed7
commit 9d21b57f2e
3 changed files with 3 additions and 3 deletions
-3
View File
@@ -3334,9 +3334,6 @@ int ggml_metal_op_bin(ggml_metal_op_t ctx, int idx) {
GGML_TENSOR_LOCALS( int32_t, ne, op, ne);
GGML_TENSOR_LOCALS(uint64_t, nb, op, nb);
GGML_ASSERT(op->src[0]->type == GGML_TYPE_F32);
GGML_ASSERT(op->src[1]->type == GGML_TYPE_F32);
GGML_ASSERT(ggml_is_contiguous_rows(op->src[0]));
GGML_ASSERT(ggml_is_contiguous_rows(op->src[1]));