mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-06 00:34:35 +00:00
parent
647abea814
commit
1e95f0c58d
@ -5501,7 +5501,7 @@ static void ggml_compute_backward(
|
|||||||
fprintf(stderr, "%s: unsupported unary op for backward pass: %s\n",
|
fprintf(stderr, "%s: unsupported unary op for backward pass: %s\n",
|
||||||
__func__, ggml_unary_op_name(ggml_get_unary_op(tensor)));
|
__func__, ggml_unary_op_name(ggml_get_unary_op(tensor)));
|
||||||
GGML_ABORT("fatal error");
|
GGML_ABORT("fatal error");
|
||||||
} break;
|
} //break;
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
case GGML_OP_CROSS_ENTROPY_LOSS: {
|
case GGML_OP_CROSS_ENTROPY_LOSS: {
|
||||||
@ -5517,7 +5517,7 @@ static void ggml_compute_backward(
|
|||||||
default: {
|
default: {
|
||||||
fprintf(stderr, "%s: unsupported ggml op for backward pass: %s\n", __func__, ggml_op_name(tensor->op));
|
fprintf(stderr, "%s: unsupported ggml op for backward pass: %s\n", __func__, ggml_op_name(tensor->op));
|
||||||
GGML_ABORT("fatal error");
|
GGML_ABORT("fatal error");
|
||||||
} break;
|
} //break;
|
||||||
}
|
}
|
||||||
|
|
||||||
GGML_ASSERT(!src0_needs_grads || ggml_are_same_shape(src0, cgraph->grads[isrc0]));
|
GGML_ASSERT(!src0_needs_grads || ggml_are_same_shape(src0, cgraph->grads[isrc0]));
|
||||||
|
Loading…
Reference in New Issue
Block a user