Skip to content

Commit

Permalink
metal : fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Dec 7, 2023
1 parent 670fb48 commit 847d806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -2093,7 +2093,7 @@ void ggml_backend_metal_set_n_cb(ggml_backend_t backend, int n_cb) {
}

bool ggml_backend_metal_supports_family(ggml_backend_t backend, int family) {
GGML_UNUSED(ggml_backend_is_metal(backend));
GGML_ASSERT(ggml_backend_is_metal(backend));

struct ggml_metal_context * ctx = (struct ggml_metal_context *)backend->context;

Expand Down

0 comments on commit 847d806

Please sign in to comment.