]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : initialize decoder's rng with unique seed (#2932)
authorDaniel Bevenius <redacted>
Mon, 24 Mar 2025 08:36:07 +0000 (09:36 +0100)
committerGitHub <redacted>
Mon, 24 Mar 2025 08:36:07 +0000 (09:36 +0100)
commitcf5ddb8c21a9c598e712804362117ec645f45c3a
tree42c9c8e9d2d33cc44a613bb2817ab2bd4ac1044d
parent7fe4979f25ea1b2e0696a11007c9d46e168d18b3
whisper : initialize decoder's rng with unique seed (#2932)

This change initializes each decoder's random number generator with a
unique seed.

The motivation for this is that currently all decoders are initialized
with the same seed value, 0. The result of this is that for the same
state (logits, probs, and logprobs) they will produce the same output.
src/whisper.cpp