Check pytorch version in google Colaboratory

Hello all

I am beginning with pytorch on Google colab.Had setup inititally the pytorch …used this to install !pip3 install torch torchvision

You can check the imported version of PyTorch using print(torch.__version__), if that’s what you are looking for.

1 Like