Skip to content

Commit

Permalink
Merge branch 'main' into bark_small
Browse files Browse the repository at this point in the history
  • Loading branch information
PABannier authored Apr 20, 2024
2 parents 1c7275c + e876c84 commit f4be13a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

bark_weights/
build/
models/
models/
1 change: 0 additions & 1 deletion bark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,6 @@ static bool bark_model_load(std::ifstream& fin, gpt_model& model, int n_gpu_laye
#ifdef GGML_USE_METAL
if (n_gpu_layers > 0) {
fprintf(stderr, "%s: using Metal backend\n", __func__);
ggml_metal_log_set_callback(ggml_log_callback_default, nullptr);
model.backend = ggml_backend_metal_init();
if (!model.backend) {
fprintf(stderr, "%s: ggml_backend_metal_init() failed\n", __func__);
Expand Down

0 comments on commit f4be13a

Please sign in to comment.