10000
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 3e73d31 commit f3b2698Copy full SHA for f3b2698
ggml.c
@@ -15689,13 +15689,14 @@ static int ggml_get_n_tasks(struct ggml_tensor * node, int n_threads) {
15689
{
15690
n_tasks = 1;
15691
} break;
15692
- case GGML_OP_COUNT:
15693
- {
15694
- GGML_ASSERT(false);
15695
- } break;
15696
default:
15697
15698
- printf("%s: op %s not implemented\n", __func__, ggml_op_name(node->op));
+ fprintf(stderr, "%s: op not implemented: ", __func__);
+ if (node->op < GGML_OP_COUNT) {
+ fprintf(stderr, "%s\n", ggml_op_name(node->op));
+ } else {
+ fprintf(stderr, "%d\n", node->op);
15699
+ }
15700
GGML_ASSERT(false);
15701
15702
}
0 commit comments