mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-11 23:30:09 +02:00
whisper : free backend instances in whisper_state
This commit is contained in:
@ -3186,6 +3186,8 @@ void whisper_free_state(struct whisper_state * state)
|
|||||||
whisper_allocr_free(state->alloc_cross);
|
whisper_allocr_free(state->alloc_cross);
|
||||||
whisper_allocr_free(state->alloc_decode);
|
whisper_allocr_free(state->alloc_decode);
|
||||||
|
|
||||||
|
ggml_backend_free(state->backend);
|
||||||
|
|
||||||
delete state;
|
delete state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user