Skip to content

Commit 74fc81f

Browse files
committed
fix reported type
1 parent f0f7b73 commit 74fc81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10881,7 +10881,7 @@ static bool ggml_backend_vk_device_supports_op(ggml_backend_dev_t dev, const ggm
1088110881
const vk_device& device = ggml_vk_get_device(ctx->device);
1088210882
bool is_Apple = ggml_vk_get_device(ctx->device)->vendor_id == VK_VENDOR_ID_APPLE;
1088310883
// Channel-contiguous format is not supported yet.
10884-
return (op->src[0]->type == GGML_TYPE_F32 &&
10884+
return ((op->src[0]->type == GGML_TYPE_F32 || op->src[0]->type == GGML_TYPE_F16) &&
1088510885
op->src[1]->type == GGML_TYPE_F32 &&
1088610886
op->type == GGML_TYPE_F32 &&
1088710887
ggml_is_contiguous(op->src[0]) &&

0 commit comments

Comments
 (0)