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 946796f commit b6fc9f0Copy full SHA for b6fc9f0
ggml/src/ggml-metal/ggml-metal.m
@@ -1081,6 +1081,18 @@ static bool ggml_metal_supports_op(const struct ggml_backend_metal_device_contex
1081
}
1082
1083
1084
+ // TODO: remove once proper support is added.
1085
+ for (size_t i = 0, n = 3; i < n; ++i) {
1086
+ if (op->src[i] != NULL) {
1087
+ switch (op->src[i]->type) {
1088
+ case GGML_TYPE_TQ1_0:
1089
+ case GGML_TYPE_TQ2_0:
1090
+ return false;
1091
+ default:
1092
+ break;
1093
+ }
1094
1095
1096
1097
switch (op->op) {
1098
case GGML_OP_UNARY:
0 commit comments