diff '--color=auto' -ur onnxruntime-1.28.0.orig/cmake/external/cudnn_frontend.cmake onnxruntime-1.28.0/cmake/external/cudnn_frontend.cmake
--- onnxruntime-1.28.0.orig/cmake/external/cudnn_frontend.cmake	2026-07-25 04:02:42.000000000 +0200
+++ onnxruntime-1.28.0/cmake/external/cudnn_frontend.cmake	2026-07-25 14:25:22.268678932 +0200
@@ -3,21 +3,6 @@
 # their Linux names (libcudart.so.*, libcuda.so.1) when NV_CUDNN_FRONTEND_USE_DYNAMIC_LOADING
 # is enabled. On Windows this always fails (dlopen is mapped to LoadLibrary), so patch the
 # shim to use the Windows DLL names (cudart64_*.dll, nvcuda.dll).
-onnxruntime_fetchcontent_declare(
-  cudnn_frontend
-  URL ${DEP_URL_cudnn_frontend}
-  URL_HASH SHA1=${DEP_SHA1_cudnn_frontend}
-  PATCH_COMMAND ${Patch_EXECUTABLE} --binary --ignore-whitespace -p1 < ${PROJECT_SOURCE_DIR}/patches/cudnn_frontend/cudnn_frontend_win_dynamic_loading.patch
-  EXCLUDE_FROM_ALL
-)
-
-set(CUDNN_FRONTEND_SKIP_JSON_LIB OFF CACHE BOOL "" FORCE)
-set(CUDNN_FRONTEND_BUILD_SAMPLES OFF CACHE BOOL "" FORCE)
-set(CUDNN_FRONTEND_BUILD_TESTS OFF CACHE BOOL "" FORCE)
-set(CUDNN_FRONTEND_BUILD_PYTHON_BINDINGS OFF CACHE BOOL "" FORCE)
-set(CUDNN_PATH ${onnxruntime_CUDNN_HOME})
-
-onnxruntime_fetchcontent_makeavailable(cudnn_frontend)
 
 # Treat the cudnn_frontend headers as system headers so that warnings originating from them (e.g.
 # unused static helper functions introduced in newer releases) are not promoted to errors by
