Skip to content

Commit e1bc208

Browse files
authored
Fix default value in documentation (#2452)
1 parent f16b4cf commit e1bc208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/trainer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def forward(self, x):
162162
Example::
163163
164164
# default used by the Trainer
165-
trainer = Trainer(amp_level='O1')
165+
trainer = Trainer(amp_level='O2')
166166
167167
auto_scale_batch_size
168168
^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)