How to install pytorch with cuda8.0?

In that case, I would suggest to update the drivers and use the latest version.
Note that you should use CUDA10.0, if you have a Turing GPU (e.g. RTX2080).