# torch.cuda.is_bf16_supported

torch.cuda.is_bf16_supported(*including_emulation=True*)[[source]](https://github.com/pytorch/pytorch/blob/v2.14.0/torch/cuda/__init__.py#L231)

Return a bool indicating if the current CUDA/ROCm device supports dtype bfloat16.