What is the best version of torchvision when using torch-2.0?


I’m trying to install torch-2.0. While I’ve successfully install it, I run it and met below issue

anaconda3/envs/torch2/lib/python3.10/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory
  warn(f"Failed to load image Python extension: {e}")

I search through the internet and seems this issue is caused by mismatch version between torch and torchvision. Which version of tochvision should I install?

I would recommend to install the nightly releases of both libraries.
Could you check if you’ve already did it or if you’ve used an older torchvision release?