Commit 73ef92a
whisper : initialize decoder's rng with unique seed (ggml-org#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.1 parent 0ef2821 commit 73ef92a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5528 | 5528 | | |
5529 | 5529 | | |
5530 | 5530 | | |
5531 | | - | |
| 5531 | + | |
5532 | 5532 | | |
5533 | 5533 | | |
5534 | 5534 | | |
| |||
0 commit comments