-
Notifications
You must be signed in to change notification settings - Fork 346
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
ERROR: Failed building wheel for transformer-engine #700
Comments
It looks like there's a compilation error when building the core C++ library. Can you provide more of the error message so we can figure out where the error is coming from? I wonder if it's that same as #694. |
`Collecting git+https://github.com/NVIDIA/TransformerEngine.git@stable × python setup.py bdist_wheel did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. |
CMake is failing since it can't find your CUDA installation. You can reproduce this outside of TE by making a cmake_minimum_required(VERSION 3.18)
project(myproject LANGUAGES CUDA CXX) Then call I'd recommend one of the following:
Related: #383 |
I solved this issue by simply use this command
Under the TransformerEngine dir, I hope this might help you. |
I was able to compile using CUDA/PyTorch Check your PyTorch CUDA version:
Check your cuda-toolkit version:
You can grab PyTorch 12.4 from the preview here:
CUDA Toolkit 12.4 here:
Make sure to set MAX_JOBS to 1 before compiling (known flash attn issue):
Update your
Then run:
Compilation will take a while. Avoid installing with |
I fixed this bugs by add |
For future reference, #700 (comment) provides instructions on installing CUDA so it is available to CMake. I'll close this issue so this guidance is the last in the thread and is easier for other users to find. Please open a new issue if you run into another CMake issue. |
I am trying to install TransformerEngine using following :
pip install git+https://github.com/NVIDIA/TransformerEngine.git@stable
facing following error
The text was updated successfully, but these errors were encountered: