Commit a3f55ce
Fixed optim update error with non-contiguous grads/params (#1187)
* Fixed optim update error with non-contiguous grads
* fix formatting
Thanks @Edenzzzz for this contribution!
---------
Co-authored-by: Titus von Koeller <[email protected]>1 parent 5212a0f commit a3f55ce
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
477 | 481 | | |
478 | 482 | | |
479 | 483 | | |
| |||
685 | 689 | | |
686 | 690 | | |
687 | 691 | | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
688 | 696 | | |
689 | 697 | | |
690 | 698 | | |
| |||
0 commit comments