Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync : ggml (new ops, tests, backend, etc.) #4359

Merged
merged 19 commits into from
Dec 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
metal : fix assert
  • Loading branch information
ggerganov committed Dec 7, 2023
commit 847d806693660c43b066517c8cb38d260cfecf32
2 changes: 1 addition & 1 deletion ggml-metal.m
Original file line number Diff line number Diff line change
@@ -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;