Since load_cudart_so checks for both libcudart.so.12 and libcudart.so.13 and hard-fails if it sees both from dlopen, cudnn simply wouldn't launch on machines with both CUDA 12 and CUDA 13 install on either system level or environment level.
Is that the intended behavior?