Closed loubnabnl closed 1 year ago
If the batch size is not proportional to nsamples the previous formula ncopies = nsamples // batch_size would generate an insufficient number of copies per task to reach nsamples (issue #48 ). We use ceil instead and delete extra completions.
nsamples
ncopies = nsamples // batch_size
ceil
If the batch size is not proportional to
nsamples
the previous formulancopies = nsamples // batch_size
would generate an insufficient number of copies per task to reachnsamples
(issue #48 ). We useceil
instead and delete extra completions.