-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build transformer-engine #1270
Comments
Try updating your compiler. TE requires C++17 and GCC added the |
python: 3.11 docker: pytorch/pytorch:2.4.1-cuda12.4-cudnn9-devel
|
@s-smits CMake can't find cuDNN. Please set |
pip install git+https://github.com/NVIDIA/TransformerEngine.git@stable
Thanks in advance.
python: 3.9
pytorch: 2.1.0
cuda: 12.1
gcc: 7.5.0
FAILED: CMakeFiles/transformer_engine.dir/util/cuda_driver.cpp.o
/usr/local/bin/c++ -DNV_CUDNN_FRONTEND_USE_DYNAMIC_LOADING -Dtransformer_engine_EXPORTS -I/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/.. -I/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/include -I/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/../../3rdparty/cudnn-frontend/include -I/tmp/pip-req-build-hfgbdcj5/build/cmake/string_headers -isystem /usr/local/cuda-12.1/targets/x86_64-linux/include -Wl,--version-script=/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/libtransformer_engine.version -O3 -DNDEBUG -std=gnu++1z -fPIC -MD -MT CMakeFiles/transformer_engine.dir/util/cuda_driver.cpp.o -MF CMakeFiles/transformer_engine.dir/util/cuda_driver.cpp.o.d -o CMakeFiles/transformer_engine.dir/util/cuda_driver.cpp.o -c /tmp/pip-req-build-hfgbdcj5/transformer_engine/common/util/cuda_driver.cpp
/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/util/cuda_driver.cpp:9:10: fatal error: filesystem: No such file or directory
#include
^~~~~~~~~~~~
compilation terminated.
[3/36] /usr/local/bin/c++ -DNV_CUDNN_FRONTEND_USE_DYNAMIC_LOADING -Dtransformer_engine_EXPORTS -I/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/.. -I/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/include -I/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/../../3rdparty/cudnn-frontend/include -I/tmp/pip-req-build-hfgbdcj5/build/cmake/string_headers -isystem /usr/local/cuda-12.1/targets/x86_64-linux/include -Wl,--version-script=/tmp/pip-req-build-hfgbdcj5/transformer_engine/common/libtransformer_engine.version -O3 -DNDEBUG -std=gnu++1z -fPIC -MD -MT CMakeFiles/transformer_engine.dir/util/cuda_runtime.cpp.o -MF CMakeFiles/transformer_engine.dir/util/cuda_runtime.cpp.o.d -o CMakeFiles/transformer_engine.dir/util/cuda_runtime.cpp.o -c /tmp/pip-req-build-hfgbdcj5/transformer_engine/common/util/cuda_runtime.cpp
FAILED: CMakeFiles/transformer_engine.dir/util/cuda_runtime.cpp.o
The text was updated successfully, but these errors were encountered: