]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
bindings-java : disable flash attention by default (#3445)
authorDaniel Bevenius <redacted>
Wed, 1 Oct 2025 07:13:34 +0000 (09:13 +0200)
committerGitHub <redacted>
Wed, 1 Oct 2025 07:13:34 +0000 (09:13 +0200)
commit2a5686966944a3fbf192678757afd7120d25732f
treee48a6e854dd1df4aaad881fdef12976c8080d898
parent8c0855fd6bb115e113c0dca6255ea05f774d35f7
bindings-java : disable flash attention by default (#3445)

This commit disables flash-attention for the Java binding test so that
the testFullTranscribe test passes.

Without this change the test was failing because the expected output
mismatches after the flash-attention change:
```console
<And so my fellow Americans ask not what your country can do for you ask what you can do for your country.>
but was:
<and so my fellow Americans ask not what your country can do for you ask what you can do for your country>
```

An alternative would also be to update the expected output but it felt
better to keep the same expected output and disable flash-attention and
not just change the expected output to match the new behavior.
bindings/java/src/main/java/io/github/ggerganov/whispercpp/params/WhisperContextParams.java
bindings/java/src/test/java/io/github/ggerganov/whispercpp/WhisperCppTest.java