ImportError: DLL load failed while importing cv2. When compiling OpenCV from source with cmake

I suspect OpenCV is not actually being built as cuDNN 9.0 is not supported yet

Do you get any build errors? If so try using an earlier version of cuDNN.