how to set up init_batch_size #370
-
i have 4 sets in init_sets, which contains 2000frames of 120 atoms, in the README of dpgen, one recommended rule for setting the sys_batch_size and init_batch_size is that batch_size mutiply number of atoms ot the stucture should be larger than 32. If set to auto, batch size will be 32 divided by number of atoms. For example, if I set init_batch_size as 4, does it mean i put 480 atoms train togerther, and i found that no matter how init_batch_size is the GPU memory were all ouccpied during training, but the Volatile GPU-util increased. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The “auto” style finds the minimal batch size so that the batch size times number of atoms in a frame is larger than 32. In your case, you have 120 atoms in each frame, the batch size will be set to 1, because 1 x 120 >32. |
Beta Was this translation helpful? Give feedback.
The “auto” style finds the minimal batch size so that the batch size times number of atoms in a frame is larger than 32.
In your case, you have 120 atoms in each frame, the batch size will be set to 1, because 1 x 120 >32.