Commit 26c518e
Han Wang
fix: address CodeQL and coderabbit review comments
Remove unused variables (actual_nall, threshold) flagged by CodeQL.
Use trainer._optimizer_step() instead of trainer.optimizer.step() in
the dynamic-shapes test to match the real training path.1 parent 89c83d2 commit 26c518e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
0 commit comments