Cannot get Torch met CUDA to work on Jetson Orin

I took the SD card and was capable to run initiate the system with it. CUDA was installed with version 12.2.
Then i found the following link.

which was great help to make the Torch works and finally succeeded to make torch and cuda work together. But torchvision was not compatible with torch version.
Then when i tried to install ultralytics with pip, the torch version was removed breaking the cuda/torch relationship and a new version from pip was installed. The problem with version from pip is that i does not compile filed included.