Commit cf5ddb8
authored
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.1 parent 7fe4979 commit cf5ddb8
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