Repository navigation
Commit e43f7e5
committed
[executorch][llm] Make Gemma Apple test deterministic
Pull Request resolved: pytorch#21403
`MultimodalRunnerTest.testGemma` asserted on generated text while inheriting the default sampling temperature of 0.8. Set the temperature to zero for both generation calls so all four TestInfra configurations use deterministic greedy decoding. This commit was authored with Claude.
ghstack-source-id: 407467872
@exported-using-ghexport
Differential Revision: [D113786993](https://our.internmc.facebook.com/intern/diff/D113786993/)1 parent 1f2a6f9 commit e43f7e5
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
0 commit comments