I am having Jetson Xavier Nx with jetpack 4.6.
I am having PyTorch 1.8.0 and cuda 10.2
When I try to import pytorch, it successfully imports the pytorch module, But when I run the code for achieving stereo vision depth estimation it gives an error that → Torch not compiled with cuda enabled.
After that I have visited to → Previous PyTorch Versions | PyTorch
# CUDA 10.2 conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=10.2 -c pytorch
and applied the commands of it but the error remains the same.
Please tell me how to resolve this error as soon as possible.