AttributeError: module 'torch' has no attribute 'unique_dim'

I have installed Pytorch, but have been geting the above error. I installed it but still did not work. Please, how can I solve this problem? Thank you.

some of my version information:
python 3.7.8
numpy 1.19.1
torch 1.6.0+cpu
torchvision 0.7.0+cpu

torch.unique_dim doesn’t exist. Are you looking for torch.unique and would like to pass the dim argument to it?

Although when I use from torch import * , there shows this error , I can import part of torch.
Thank U for reply.

You are right. I can reproduce it with a recent nightly binary. Since I’m not using star imports I have never seen it before.
I’m unsure, why this error is raised, but could you create an issue on GitHub, so that we could track it?