We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53192b commit 9afe28bCopy full SHA for 9afe28b
ggml/src/ggml-metal/ggml-metal.m
@@ -1876,7 +1876,7 @@ static bool ggml_metal_supports_op(const struct ggml_backend_metal_device_contex
1876
case GGML_OP_ROPE:
1877
return true;
1878
case GGML_OP_IM2COL:
1879
- return op->src[1]->type == GGML_TYPE_F32 && (op->type == GGML_TYPE_F16 || op->type == GGML_TYPE_F32);
+ return ggml_is_contiguous(op->src[1]) && op->src[1]->type == GGML_TYPE_F32 && (op->type == GGML_TYPE_F16 || op->type == GGML_TYPE_F32);
1880
case GGML_OP_POOL_1D:
1881
return false;
1882
case GGML_OP_UPSCALE:
0 commit comments