Does pytorch 2.2.2 support cuda 12.4?

I was trying to download pytorch 2.2.2 with cuda 12.1 but ran with an issues with nvidia drivers. Does pytorch 2.2.2 supports cuda 12.4 if it is build from source or I have to stick with cuda 12.2(heard it was compatible with pytorch 2.2.2 if it was built from source)

Yes, you can build the current PyTorch release from source with CUDA 12.4 while the binaries are being worked on.