some minor fixes

This commit is contained in:
Concedo
2025-09-22 13:20:06 +08:00
parent 8018e5222a
commit 13bee0d39d
9 changed files with 9 additions and 36 deletions
-5
View File
@@ -123,11 +123,6 @@ static struct ggml_tensor * dac_build_audio_inputs(struct ggml_context * ctx, st
struct dac_context * build_new_dac_context(struct dac_model * model, int n_threads, bool use_cpu) {
dac_context * dctx = new dac_context(model, n_threads);
if (!use_cpu) {
#ifdef GGML_USE_METAL
dctx->backend = ggml_backend_metal_init();
#endif
}
dctx->backend_cpu = ggml_backend_cpu_init();
dctx->set_threads();
dctx->build_schedule();