We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e90d97 commit 2ae8f3aCopy full SHA for 2ae8f3a
ignite/engine/__init__.py
@@ -461,7 +461,7 @@ def create_supervised_trainer(
461
amp_mode: can be ``amp`` or ``apex``, model and optimizer will be casted to float16 using
462
`torch.cuda.amp <https://pytorch.org/docs/stable/amp.html>`_ for ``amp`` and
463
using `apex <https://nvidia.github.io/apex>`_ for ``apex``. (default: None)
464
- scaler: GradScaler instance for gradient scaling if `torch>=1.12.0`
+ scaler: GradScaler instance for gradient scaling if `torch>=1.6.0`
465
and ``amp_mode`` is ``amp``. If ``amp_mode`` is ``apex``, this argument will be ignored.
466
If True, will create default GradScaler. If GradScaler instance is passed, it will be used instead.
467
(default: False)
0 commit comments