Why does Lightning AI Fabric gives warning to training with precision = "bf16-mixed" instead of "bf16" #18263
Answered
by
justusschock
basujindal
asked this question in
DDP / multi-GPU / multi-node
-
It gives the following warning: UserWarning: bf16 is supported for historical reasons but its usage is discouraged. Please set your precision to bf16-mixed instead! I have seen many articles training the model in pure bf16 and getting similar accuracy. |
Beta Was this translation helpful? Give feedback.
Answered by
justusschock
Aug 11, 2023
Replies: 1 comment 2 replies
-
Hi, previously, bf16 was a shorthand notation for bf16-mixed. To clearly distinguish between mixed precision and pure bf16 we introduced the notion of |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
basujindal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, previously, bf16 was a shorthand notation for bf16-mixed. To clearly distinguish between mixed precision and pure bf16 we introduced the notion of
bf16-mixed
andbf16-true
while justbf16
still is a deprecated alias forbf16-mixed