We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3794720 commit ec7a6f0Copy full SHA for ec7a6f0
whisper.cpp
@@ -2027,7 +2027,7 @@ static bool whisper_encode_internal(
2027
wstate.t_encode_us += ggml_time_us() - t_start_us;
2028
wstate.n_encode++;
2029
2030
- return true;
+ return !(abort_callback && abort_callback(abort_callback_data));
2031
}
2032
2033
static struct ggml_cgraph * whisper_build_graph_decoder(
@@ -2447,7 +2447,7 @@ static bool whisper_decode_internal(
2447
wstate.n_prompt++;
2448
2449
2450
2451
2452
2453
0 commit comments