different dropout behavior on macos and linux

This commit is contained in:
rasbt 2024-03-10 07:58:10 -05:00
parent 73822b8bfa
commit 76205521d7

View File

@ -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",