Pytorch version conflict on Colab

Dear all,

I tried to run PyTorch transfer learning codes on Colab for my project. The codes need Pytorch 0.3.1 and torchvision 0.2.0. I have uninstalled the current version of PyTorch and try to install the needed version via:
!pip3 install torch==0.3.1 torchvision==0.2.0 -f

however, the Cuda did not install. I have searched for several days to find the solution, but unfortunately, I did not get anything useful. Would somebody please help me with that? Thank you so much in advance.