mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-12-28 15:42:09 +00:00
different dropout behavior on macos and linux
This commit is contained in:
parent
73822b8bfa
commit
76205521d7
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user