File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -502,11 +502,13 @@ def __init__(
502502 self ._pina_optimizers = optimizers
503503 self ._pina_schedulers = schedulers
504504
505- # set automatic optimization to True, this is done on purpuse to trigger
506- # an error if the user does not uses manual optimization in the
507- # training step. The following must be override to False and manual
508- # optimization should be used. For more insights on manual optimization
509- # see https://lightning.ai/docs/pytorch/stable/model/manual_optimization.html
505+ # set automatic optimization to True.
506+ # This is done on purpuse to ensure that an error is triggered whenever
507+ # the user does not use manual optimization in the training step.
508+ # The following must be overridden to False as manual optimization must
509+ # be used for multisolvers.
510+ # For more information on manual optimization see:
511+ # http://lightning.ai/docs/pytorch/stable/model/manual_optimization.html
510512 self .automatic_optimization = True
511513
512514 def configure_optimizers (self ):
You can’t perform that action at this time.
0 commit comments