That’s probably because it’s in master branch but not released yet. You can build pytorch from source to get the master version. Read Readme.md 44 in pytorch/pytorch repo for instructions on how to install from source.