Wrong version (1.10.2) gets installed for me when I run conda install pytorch -c pytorch-nightly
.
To fix, install the latest pytorch version from the stable channel, then manually download package
for your python version, and install it over the current pytorch. Newest Pytorch Nightly releases here:
Anaconda: Pytorch Nightly Files.