Skip to content

Commit

Permalink
ggml : build fixes
Browse files Browse the repository at this point in the history
ggml-ci
  • Loading branch information
ggerganov committed Dec 7, 2023
1 parent 95e9d8a commit 213a4e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,6 @@ static bool ggml_metal_supports_op(const struct ggml_tensor * op) {
default:
return false;
}
break;
case GGML_OP_NONE:
case GGML_OP_RESHAPE:
case GGML_OP_VIEW:
Expand Down Expand Up @@ -827,7 +826,7 @@ static bool ggml_metal_supports_op(const struct ggml_tensor * op) {
case GGML_OP_GET_ROWS:
{
return op->ne[0] % 4 == 0;
} break;
}
default:
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -14100,7 +14100,7 @@ static void ggml_compute_forward(struct ggml_compute_params * params, struct ggm
} break;
case GGML_OP_SOFT_MAX:
{
ggml_compute_forward_soft_max(params, tensor->src[0], tensor);
ggml_compute_forward_soft_max(params, tensor->src[0], tensor->src[1], tensor);
} break;
case GGML_OP_SOFT_MAX_BACK:
{
Expand Down

0 comments on commit 213a4e2

Please sign in to comment.