mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-12-27 15:12:08 +00:00
add note about worker number
This commit is contained in:
parent
10d3370f74
commit
80cd98884e
@ -718,7 +718,7 @@
|
||||
"source": [
|
||||
"from torch.utils.data import DataLoader\n",
|
||||
"\n",
|
||||
"num_workers = 0\n",
|
||||
"num_workers = 0 # For compatibility with most computers\n",
|
||||
"batch_size = 8\n",
|
||||
"\n",
|
||||
"torch.manual_seed(123)\n",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user