mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
add note about worker number
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user