torch.cuda.is_bf16_supported torch.cuda.is_bf16_supported(including_emulation=True) Return a bool indicating if the current CUDA/ROCm device supports dtype bfloat16.