Jetson AGX Xavier | l4t-ml:r36.2.0-py3 | Pytorch finds wrong Cuda version (7.2 instead of 12.2)

Could you please reply to this topic

where I am getting errors when I run “import torch” command.

I am also running Jetpack 5.1.2 on agx xavier Industrial.