Is wanbd giving me a multiprocessing error when my code is serially running?

I have a multiprocessing error but my code is not multiprocessing (its running serially) - even the pytorch dataloader as num_workers=0 but I get this error:

N/A% (0 of 100) |         | Elapsed Time: 0:00:00 | ETA:  --:--:-- |   0.0 s/itTraceback (most recent call last):
  File "/Users/brando/anaconda3/envs/metalearning/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
  File "/Users/brando/anaconda3/envs/metalearning/lib/python3.9/multiprocessing/synchronize.py", line 110, in __setstate__
    self._semlock = _multiprocessing.SemLock._rebuild(*state)
FileNotFoundError: [Errno 2] No such file or directory
python-BaseException
Traceback (most recent call last):
  File "/Users/brando/anaconda3/envs/metalearning/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
  File "/Users/brando/anaconda3/envs/metalearning/lib/python3.9/multiprocessing/synchronize.py", line 110, in __setstate__
    self._semlock = _multiprocessing.SemLock._rebuild(*state)
FileNotFoundError: [Errno 2] No such file or directory
python-BaseException

How do I start debugging this?


I am running this in pycharm. Not sure what else to say, will think about it…

W&B does use multiprocessing so it’s possible there’s an issue, but it’s hard to be sure without more info.

Do you have a larger stack trace or can you otherwise identify the place in your code that’s triggering this?