You can specify the date and CUDA runtime in the install command. E.g to install the nightly from Sept. 28th with CUDA11.3:
pip install --pre torch==1.11.0.dev20210928+cu113 -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html