MathMarEcol / pdyer_aus_bio

GNU General Public License v3.0
0 stars 0 forks source link

Optimal batch sizes are magic numbers in files #14

Open PhDyellow opened 1 year ago

PhDyellow commented 1 year ago

The batch sizes used by predict and extrapolate functions depend heavily on the available hardware. I saw a 4x speedup by increasing one batch size from 10k to 30k, but I would expect other machines and datasets to experience different payoffs.

Ideally, the batch sizes should be set as env vars that can be passed in.