From bc07f9b9763962923f54bbbd532427289fe10e6e Mon Sep 17 00:00:00 2001 From: Jiannan Wang Date: Mon, 29 Sep 2025 12:29:24 -0700 Subject: [PATCH 1/2] add note for MacOS --- beginner_source/blitz/cifar10_tutorial.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beginner_source/blitz/cifar10_tutorial.py b/beginner_source/blitz/cifar10_tutorial.py index 39dee479626..c4a838d59ab 100644 --- a/beginner_source/blitz/cifar10_tutorial.py +++ b/beginner_source/blitz/cifar10_tutorial.py @@ -65,7 +65,8 @@ ######################################################################## # .. note:: -# If running on Windows and you get a BrokenPipeError, try setting +# If you are running this tutorial on Windows or MacOS and encounter a +# BrokenPipeError or RuntimeError related to multiprocessing, try setting # the num_worker of torch.utils.data.DataLoader() to 0. transform = transforms.Compose( From f63eec4bbc9e9499ad59ed28a93a149bb2847d29 Mon Sep 17 00:00:00 2001 From: Jiannan Wang Date: Mon, 29 Sep 2025 12:56:18 -0700 Subject: [PATCH 2/2] lint --- beginner_source/blitz/cifar10_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/blitz/cifar10_tutorial.py b/beginner_source/blitz/cifar10_tutorial.py index c4a838d59ab..8f19f5964c6 100644 --- a/beginner_source/blitz/cifar10_tutorial.py +++ b/beginner_source/blitz/cifar10_tutorial.py @@ -65,7 +65,7 @@ ######################################################################## # .. note:: -# If you are running this tutorial on Windows or MacOS and encounter a +# If you are running this tutorial on Windows or MacOS and encounter a # BrokenPipeError or RuntimeError related to multiprocessing, try setting # the num_worker of torch.utils.data.DataLoader() to 0.