Trainer flags: amp_level vs. precision #8923
Answered
by
tchaton
dianemarquette
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
Hi! I'm a bit confused regarding the trainer's flags. According to Lightning's documentation, the default settings are:
Isn't it a bit contradictory ? Is the default training mode full precision or mixed precision? Thanks in advance for your clarification :) |
Beta Was this translation helpful? Give feedback.
Answered by
tchaton
Aug 16, 2021
Replies: 1 comment 1 reply
-
Dear @dianemarquette,
Best, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dianemarquette
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear @dianemarquette,
precision=32
is the default one. However, if you turn onprecision=16
and setamp_backend="apex"
, thenamp_level=02
is considered as the default one.Best,
T.C