Commit a272e41
fix bugs with trainer (#24134)
* fix the deepspeed test failures
* apex fix
* FSDP save ckpt fix
* Update src/transformers/trainer.py
Co-authored-by: Sylvain Gugger <[email protected]>
---------
Co-authored-by: Sylvain Gugger <[email protected]>1 parent 50ed793 commit a272e41
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1749 | 1749 | | |
1750 | 1750 | | |
1751 | 1751 | | |
1752 | | - | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
1753 | 1762 | | |
1754 | 1763 | | |
1755 | 1764 | | |
| |||
2841 | 2850 | | |
2842 | 2851 | | |
2843 | 2852 | | |
| 2853 | + | |
2844 | 2854 | | |
2845 | 2855 | | |
2846 | 2856 | | |
| |||
0 commit comments