]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : set bench data for each iteration (#3812)
authorDaniel Bevenius <redacted>
Tue, 19 May 2026 06:58:43 +0000 (08:58 +0200)
committerGitHub <redacted>
Tue, 19 May 2026 06:58:43 +0000 (08:58 +0200)
commitafa2ea544fb4b0448916b4a31ecd33c8685bd482
tree70fbbf1557e7c350c6a81e67b8a8a6996cfec4fb
parent47b9eb37a33c5031a1b667ace64477330b9f36c1
whisper : set bench data for each iteration (#3812)

* whisper : set bench data for each iteration

This commit updates whisper_bench_ggml_mul_mat_str to intialize the
tensors data for each iteration.

The motivation for this is that is currently possible for a previous
run's results, F32 values, to leak into the next run. When it is time
for the F16 iteration then F32 results can cause NaN values to appear
in the tensor values causing the F16 iteration to fail.

Refs:https://github.com/ggml-org/whisper.cpp/actions/runs/25901678402/job/76152894644?pr=3735

* ci : set GGML_NATIVE=OFF if x86_64

This commit sets GGML_NATIVE=OFF for x86_64 architectures.

The motivation for this is to try to get CI to pass and the theory is
that the libggml-cpu.so library in the ccache might have been built by a
runner that supports a different instruction set. When another runner
that does not support that instruction set tries to use it, it will fail
with a segmentation fault.

I'm not sure about this yet but going to try this out and if it does not
work I'll ssh into the runner to debug further.
ci/run.sh
src/whisper.cpp