fix cuda compatibility errors

This commit is contained in:
Lizonghang
2024-11-26 22:35:58 +04:00
parent 3f008f2ad9
commit 0a91ad3edc
2 changed files with 7 additions and 5 deletions
+2
View File
@@ -17564,6 +17564,7 @@ static void ggml_compute_forward(struct ggml_compute_params * params, struct ggm
ggml_compute_forward_opt_step_adamw(params, tensor);
}
break;
case GGML_OP_READ:
case GGML_OP_NONE:
{
// nop
@@ -18719,6 +18720,7 @@ static void ggml_compute_backward(struct ggml_context * ctx, struct ggml_tensor
{
GGML_ABORT("fatal error"); // not supported
}
case GGML_OP_READ:
case GGML_OP_NONE:
{
// nop