Skip to content

Commit

Permalink
Update bark.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudeStabile authored Dec 15, 2024
1 parent 5d5be84 commit 5184ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ static bool bark_model_load(std::ifstream & fin,
#ifdef GGML_USE_CUDA
if (n_gpu_layers > 0) {
fprintf(stderr, "%s: using CUDA backend\n", __func__);
model.backend = ggml_backend_cuda_init();
model.backend = ggml_backend_cuda_init(0);
if (!model.backend) {
fprintf(stderr, "%s: ggml_backend_cuda_init() failed\n", __func__);
}
Expand Down

0 comments on commit 5184ef4

Please sign in to comment.