From 76205521d793c9de6966375c9ab72460ac510e0d Mon Sep 17 00:00:00 2001 From: rasbt Date: Sun, 10 Mar 2024 07:58:10 -0500 Subject: [PATCH] different dropout behavior on macos and linux --- ch03/01_main-chapter-code/ch03.ipynb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ch03/01_main-chapter-code/ch03.ipynb b/ch03/01_main-chapter-code/ch03.ipynb index 1de293c..bac8c03 100644 --- a/ch03/01_main-chapter-code/ch03.ipynb +++ b/ch03/01_main-chapter-code/ch03.ipynb @@ -26,7 +26,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "torch version: 2.2.1\n" + "torch version: 2.1.0\n" ] } ], @@ -1342,6 +1342,14 @@ "print(dropout(attn_weights))" ] }, + { + "cell_type": "markdown", + "id": "269df5c8-3e25-49d0-95d3-bb232287404f", + "metadata": {}, + "source": [ + "- Note that the resulting dropout outputs may look different depending on your operating system; you can read more about this inconsistency [here on the PyTorch issue tracker](https://github.com/pytorch/pytorch/issues/121595)" + ] + }, { "cell_type": "markdown", "id": "cdc14639-5f0f-4840-aa9d-8eb36ea90fb7",