Cuda error

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

Hello and welcome to the NVIDIA Developer forums! I am moving this topic to the Jetson forums for visibility.

Duplicate to topic 271528.

Please check the comment on that topic instead.

Sorry, I did not find the topic 271528. Does that theme still exist? Could you please send me the website of this topic?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.