Is num_workers>0 compatible on M1 MacBooks with latest macOS?

I get the following error on my M1 MacBook running macOS Ventura when I set num_workers=1 (or any value >0):

Traceback (most recent call last):
  File "/Users/sam/IdeaProjects/Template/", line 48, in <module>
    for i, (x, y) in enumerate(train_loader):
  File "/Users/sam/miniconda3/lib/python3.10/site-packages/torch/utils/data/", line 628, in __next__
    data = self._next_data()
  File "/Users/sam/miniconda3/lib/python3.10/site-packages/torch/utils/data/", line 1316, in _next_data
    idx, data = self._get_data()
  File "/Users/sam/miniconda3/lib/python3.10/site-packages/torch/utils/data/", line 1282, in _get_data
    success, data = self._try_get_data()
  File "/Users/sam/miniconda3/lib/python3.10/site-packages/torch/utils/data/", line 1133, in _try_get_data
    raise RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly'.format(pids_str)) from e
RuntimeError: DataLoader worker (pid(s) 11208) exited unexpectedly