Error building tensorflow.dll with CUDA enabled

Tensorflow r2.10
CUDA v11.2
cuDNN 8.1
MSVC 2019
Bazel 5.1.1
Python 3.9.10
MSYS2 64bit
NVIDIA RTX A3000

missing cudnn_frontend_EngineFallbackList.h

 Compiling tensorflow/stream_executor/cuda/cuda_dnn.cc failed: (Exit 2): python.exe failed: error executing command
...
aakz3rh4\execroot\org_tensorflow\bazel-out\x64_windows-opt-exec-50AE0418\bin\external\cudnn_frontend_archive\_virtual_includes\cudnn_frontend\third_party\cudnn_frontend\include\cudnn_frontend_Heuristics.h(34): fatal error C1083: Cannot open include file: 'cudnn_frontend_EngineFallbackList.h': No such file or directory
Target //tensorflow:tensorflow.dll failed to build
INFO: Elapsed time: 1109.945s, Critical Path: 209.14s
INFO: 6782 processes: 366 internal, 6416 local.
FAILED: Build did NOT complete successfully

build command bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow:tensorflow.dll

1 Like