Bfloat16 support coming to Apple's Metal and PyTorch [video]
developer.apple.com
Bfloat16 support coming to Apple's Metal and PyTorch [video]
1–10 of 55 posts
Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#2That maxed out Mac Studio M2 w/ 192GB of memory now looks more appealing...
Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#3Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#4I'm still confused by the proliferation of bf16. Although it certainly doesn't hurt compared to fp16, in my testing even with A100 GPUs optimized for it, both training speed and inference quality are the same between bf16 and fp16.
Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#5I'm still confused by the proliferation of bf16. Although it certainly doesn't hurt compared to fp16, in my testing even with A100 GPUs optimized for it, both training speed and inference quality are the same between bf16 and fp16.
Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#6Somehow missed this from WWDC23, but it looks like Sonoma will add support for bfloat16 with Metal, and there's an active PR to add support with the PyTorch MPS back-end (PR #99272). Since M2 added bfloat16 support at the hardware level, I'm assuming this will only be supported on M2 Macs. That maxed out Mac Studio M2 w/ 192GB of memory now looks more appealing...
This matfp instruction computes an outer product and is a kernel for matrix multiplication.
Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#7Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#8I'm still confused by the proliferation of bf16. Although it certainly doesn't hurt compared to fp16, in my testing even with A100 GPUs optimized for it, both training speed and inference quality are the same between bf16 and fp16.
It's true also that fp16 is often manageable with enough batch/layer norm and gradient clipping.
Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#9I'm still confused by the proliferation of bf16. Although it certainly doesn't hurt compared to fp16, in my testing even with A100 GPUs optimized for it, both training speed and inference quality are the same between bf16 and fp16.
Re: Bfloat16 support coming to Apple's Metal and PyTorch [video]
#10I'm still confused by the proliferation of bf16. Although it certainly doesn't hurt compared to fp16, in my testing even with A100 GPUs optimized for it, both training speed and inference quality are the same between bf16 and fp16.