minor updates

This commit is contained in:
rasbt
2024-03-29 20:42:32 -05:00
parent 797cfb20de
commit ca96b7aee5
3 changed files with 95 additions and 11 deletions

View File

@@ -175,7 +175,7 @@
"id": "c8j1cWDcWAMf"
},
"source": [
"## A.9.2 Single-GPU training"
"### A.9.2 Single-GPU training"
]
},
{
@@ -431,6 +431,28 @@
"source": [
"compute_accuracy(model, test_loader, device=device)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### A.9.3 Training with multiple GPUs"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"See [DDP-script.py](DDP-script.py)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"https://sebastianraschka.com/images/LLMs-from-scratch-images/appendix-a_compressed/12.webp\" width=\"600px\">\n",
"<img src=\"https://sebastianraschka.com/images/LLMs-from-scratch-images/appendix-a_compressed/13.webp\" width=\"600px\">"
]
}
],
"metadata": {
@@ -454,7 +476,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
"version": "3.11.4"
}
},
"nbformat": 4,