When will CUDA 12.4 be compatible with Pytorch 2.3?

PyTorch 2.3 does support CUDA 12.5 if you build from source. The binaries (pip wheels and condo binaries) whip with CUDA 11.8 or 12.1.
The current nightly binaries ship additionally with CUDA 12.4.
However, as already mentioned your locally installed CUDA toolkit won’t be used and the shipped CUDA dependencies will be used.

I don’t know what DRS does, but PyTorch binaries install all needed CUDA runtime dependencies during the install process and will use these.

The nightly binaries already build with 12.4.