Relaxing an atomic structure towards its ground state takes an unpredictable number of ionic steps, so a fixed batch leaves the GPU idle while it waits for the slowest member. In-flight auto-batching swaps each converged structure out for a new one as soon as it finishes, keeping the device full.
n_atoms or n_atoms × densitySee the TorchSim InFlightAutoBatcher docs.
