I was running a deep learning program on my jetson orin and I suddenly got this error.
UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 804: forward compatibility was attempted on non supported HW (Triggered internally at /opt/pytorch/pytorch/c10/cuda/CUDAFunctions.cpp:108.)
Earlier when I just created this conda environment, torch.cuda.is_available()
returned true
and I could use CUDA & GPU.What should I do? cuda and torch installations have been tested without issues