ImportError: cannot import name 'ReduceScatterOptions'

I just installed Pytorch on my pc, but when I import it in my script, I get this

ImportError: cannot import name 'ReduceScatterOptions'

What's wrong with the installations?

Pytorch: 1.1v
Ubuntu: 16.04v LTS
CUDA: 10.1v
Python: 3.5.2v

pytorchinstall
4 votesJO220.00
1 Answers
NN138.00
4

Make sure you don't have any old installations of PyTorch (prebuilt, buildable etc.) and Torch.
If you have it, remove them complitely and install PyTorch again. It worked for me.

Reply
JO220.00
0

It worked for me too.

Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?