I’m not sure, if there is a better way, but you could try to change the URL from the latest release:
https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.3.1.zip

to e.g.
https://download.pytorch.org/libtorch/cu100/libtorch-shared-with-deps-1.2.0.zip

for 1.2.0 with CUDA10.0