dlrover
dlrover copied to clipboard
Keep the batch size even in strategy generator.
Now we just calculate straight forward updated batch size from original batch size in strategy generator.
There are multiple libraries optimized for batch_size in the power of 2. (e.g. 2、4、8、16、32). It‘s reasonable to set an even batch size.
However, there are mystical problems mentioned by some blogs. That is to say, we may experience unexpected slow down by setting an even number batch size.
This issue has been automatically marked as stale because it has not had recent activity.
This issue is being automatically closed due to inactivity.