diff --git a/extras/pytorch_2_intro.ipynb b/extras/pytorch_2_intro.ipynb index d8e0ded..cc71db1 100644 --- a/extras/pytorch_2_intro.ipynb +++ b/extras/pytorch_2_intro.ipynb @@ -873,6 +873,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -888,7 +889,9 @@ "\n", "If you're using a GPU with a compute capability score of 8.0 or above, you can enable TF32 by setting [`torch.backends.cuda.matmul.allow_tf32 = True`](https://pytorch.org/docs/stable/notes/cuda.html#tensorfloat-32-tf32-on-ampere-devices) (this defaults to `False`).\n", "\n", - "Let's write a check that sets it automatically for us based on our GPUs compute capability score." + "Let's write a check that sets it automatically for us based on our GPUs compute capability score.\n", + "\n", + "> **Note:** TensorFloat32 is disabled by default (set to `False`) in PyTorch versions 1.12 onwards. This is because it [may cause inconsistent results across different devices](https://dev-discuss.pytorch.org/t/pytorch-and-tensorfloat32/504). Although this issue is not noticed for all use cases, it's worth knowing. " ] }, {