Commit 9c5d40e
committed
This change separates the general DP padding logic from the existing implementation specific to TorchAir. Make sure server do not hang when batch size < DP size.
Signed-off-by: Yizhou Liu <[email protected]>1 parent e9fb895 commit 9c5d40e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1914 | 1914 | | |
1915 | 1915 | | |
1916 | 1916 | | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
1917 | 1921 | | |
1918 | 1922 | | |
1919 | 1923 | | |
| |||
0 commit comments