Skip to content
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

No release for v2.3.1 #5482

Open
walker-ai opened this issue Dec 23, 2024 · 1 comment
Open

No release for v2.3.1 #5482

walker-ai opened this issue Dec 23, 2024 · 1 comment
Labels

Comments

@walker-ai
Copy link

Describe the bug

I have got the same issue like #3525, but unlike it I got the error says that No CMakeLists.txt in triton/third_party/nvidia/. I m doubting that it was caused by some force pushes as #3535 mentioned.

Environment details

Triton: v2.3.1

@walker-ai walker-ai added the bug label Dec 23, 2024
@walker-ai
Copy link
Author

I followed the tutorial from the official page:

# find the against version of llvm
git clone https://github.com/llvm/llvm-project.git
git checkout <commit-id>

cd $HOME/llvm-project  # your clone of llvm-project.
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON ../llvm -DLLVM_ENABLE_PROJECTS="mlir;llvm;clang" -DLLVM_TARGETS_TO_BUILD="host;NVPTX;AMDGPU"
ninja -j16

# Modify as appropriate to point to your LLVM build.
export LLVM_BUILD_DIR=$HOME/llvm-project/build

export TRITON_BUILD_WITH_CLANG_LLD=true
export TRITON_BUILD_WITH_CCACHE=true
export TRITON_HOME=/some/path

cd <triton install>/python
LLVM_INCLUDE_DIRS=$LLVM_BUILD_DIR/include \
LLVM_LIBRARY_DIR=$LLVM_BUILD_DIR/lib \
LLVM_SYSPATH=$LLVM_BUILD_DIR \                                  
python setup.py bdist_wheel

and then it went:

running bdist_wheel
running build
running build_py
running build_ext
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
  The OLD behavior for policy CMP0116 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Adding Python module
CMake Error at CMakeLists.txt:274 (add_subdirectory):
  The source directory

    /home/orin/tools/triton/third_party/nvidia

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:274 (add_subdirectory):
  add_subdirectory given source "third_party/amd" which is not an existing
  directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant