Hi! I have been searching this error endlessly but no one seems to have gotten it.
File “/usr/local/lib/python3.6/site-packages/torch/cuda/comm.py”, line 148, in scatter
return tuple(torch._C._scatter(tensor, devices, chunk_sizes, dim, streams))
AttributeError: module ‘torch._C’ has no attribute ‘_scatter’
It comes from some code that tries to distribute tensors across multiple processors. I am running on my personal machine (mac) and specifying device_id=[-1] (which means just run on one cpu), but am still having issues. I dug through the torch code and could not find where _scatter is in torch._C. Could anyone shed some light on this? Thanks, much appreciated!!