I’m hitting some error trying to run some code as I can’t import ‘ProcessGroup’
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
from torch.distributed import ProcessGroup
Traceback (most recent call last):
File “”, line 1, in
ImportError: cannot import name ‘ProcessGroup’ from ‘torch.distributed’ (/home/fbarilla/.local/lib/python3.8/site-packages/torch/distributed/init.py)
import torchtorch.version
‘1.12.0a0+84d1cb9.nv22.4’