Commit f24f3a4
committed
whisper : initialize decoder's rng with unique seed
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 3fc6ad9 commit f24f3a4
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