Closed AruniRC closed 9 months ago
You can install pytorch by using the command pip install torch
Then use the python code device = "cuda" if torch.cuda.is_available() else "cpu"
The Pytorch model is a very simple pytorch script, so pretty much any version of Pytorch/CUDA/CuDNN should work, as long as they are all compatible between them.
Could you please provide the environment details for the PyTorch model, e.g. PyTorch version, CUDA/CuDNN version, etc? Thank you!