Torch.cuda.is_available() is False for cuda 11.4 on Xavier Nx

I have tried many version of torch but torch still cant find cuda

I did a clean installation, but the result is still the same. My setup is as follows: I am using the nvidia SDK. Since Nvidia Xavier has 16 GB of space, I format it as necessary, then transfer the downloads to my 250 GB SSD and continue the Cuda installations from there.

I installed this package.

Now the torch can find the cuda. I also need torchvision, but I cannot find the torchvision version compatible with this torch version. I would be happy if you help.

You might want to build torchvision and other libs from source.