How Do I use Pytorch with RTX 5060 Ti

I would recommend trying to install the latest stable or nightly PyTorch binary with CUDA 12.8 standalone without any 3rd party libs which seem to raise the error message.
Refer to e.g. this post for a smoke test.