dlrover icon indicating copy to clipboard operation
dlrover copied to clipboard

Keep the batch size even in strategy generator.

Open Antlera opened this issue 2 years ago • 1 comments

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.

Antlera avatar Sep 16 '23 06:09 Antlera

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.

Antlera avatar Sep 16 '23 06:09 Antlera

This issue has been automatically marked as stale because it has not had recent activity.

github-actions[bot] avatar Oct 22 '24 01:10 github-actions[bot]

This issue is being automatically closed due to inactivity.

github-actions[bot] avatar Oct 29 '24 01:10 github-actions[bot]