Commit 97e70d3
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 3f867ee commit 97e70d3
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1930 | 1930 | | |
1931 | 1931 | | |
1932 | 1932 | | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
1933 | 1937 | | |
1934 | 1938 | | |
1935 | 1939 | | |
| |||
0 commit comments