static struct ggml_cgraph * whisper_build_graph_conv(
whisper_context & wctx,
- whisper_state & wstate,
- const int mel_offset) {
+ whisper_state & wstate) {
const auto & model = wctx.model;
const auto & hparams = model.hparams;
{
auto & alloc = wstate.alloc_conv.alloc;
- ggml_cgraph * gf = whisper_build_graph_conv(wctx, wstate, mel_offset);
+ ggml_cgraph * gf = whisper_build_graph_conv(wctx, wstate);
if (!ggml_gallocr_alloc_graph(alloc, gf)) {
// should never happen as we pre-allocate the memory
{
bool ok = whisper_allocr_graph_init(state->alloc_conv, ctx->backend,
[&]() {
- return whisper_build_graph_conv(*ctx, *state, 0);
+ return whisper_build_graph_conv(*ctx, *state);
});
if (!ok) {