mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-11 12:31:23 +08:00
Add toma comments to auto_scale_batch_size (#1994)
* Add source comments * Update training_tricks.rst
This commit is contained in:
@@ -39,7 +39,7 @@ Auto scaling of batch size
|
||||
--------------------------
|
||||
Auto scaling of batch size may be enabled to find the largest batch size that fits into
|
||||
memory. Larger batch size often yields better estimates of gradients, but may also result in
|
||||
longer training time.
|
||||
longer training time. Inspired by https://github.com/BlackHC/toma.
|
||||
|
||||
.. seealso:: :class:`~pytorch_lightning.trainer.trainer.Trainer`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user