Re:Apple M1 support for TensorFlow 2.5 pluggable device API
by rubatuga on Wednesday June 09, 2021 @12:00AM
(#27444085)
TF32 is 19 bits! Default for pytorch and TF is TF32!
Re:Apple M1 support for TensorFlow 2.5 pluggable device API
by codelord on Wednesday June 09, 2021 @12:51PM
(#27450182)
Oops. You are right.
Re:Apple M1 support for TensorFlow 2.5 pluggable device API
by 6gvONxR4sf7o on Tuesday June 08, 2021 @10:24PM
(#27443553)
I’ve been mostly using TPUs lately and non-TF32 GPUs at work, so I don’t have any practical experience with TF32, but the sales pitch seems pretty good. Do you have any personal experience on whether it’s as much of a drop in replacement for fp32 as they suggest?
Re:Apple M1 support for TensorFlow 2.5 pluggable device API
by codelord on Tuesday June 08, 2021 @10:30PM
(#27443591)
I haven't used TF32 personally, but I think the sales pitch is not too far off. Most of the time I use mixed-precision training which should be similar to FP16/TF32 in terms of performance. It does tremendously speed up training.
FP16 performance is also relevant as a lot of people now train in FP16. The default for pytorch/TF is still FP32.