Skip to content

Unable to build from source for tag v0.16.0. #686

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

Open
2 of 4 tasks
jingzhaoou opened this issue Jan 30, 2025 · 0 comments
Open
2 of 4 tasks

Unable to build from source for tag v0.16.0. #686

jingzhaoou opened this issue Jan 30, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jingzhaoou
Copy link

System Info

CPU: x86_64
GPU: L4
GPU memory: 24GB
OS: Ubuntu

Who can help?

I checked out v0.15.0 and was able to build successfully using bash build.sh. However, I checked out v0.16.0 and built using bash build.sh and ran into the following error:

utils.cc:(.text+0x6758): undefined reference to `tensorrt_llm::executor::Request::Request(std::vector<int, std::allocator<int> >, int, bool, tensorrt_llm::executor::SamplingConfig const&, tensorrt_llm::executor::OutputConfig const&, std::optional<int> const&, std::optional<int> const&, std::optional<std::vector<int, std::allocator<int> > >, std::optional<std::__cxx11::list<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > >, std::optional<std::__cxx11::list<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > >, std::optional<tensorrt_llm::executor::Tensor>, std::optional<tensorrt_llm::executor::ExternalDraftTokensConfig>, std::optional<tensorrt_llm::executor::PromptTuningConfig>, std::optional<tensorrt_llm::executor::LoraConfig>, std::optional<tensorrt_llm::executor::LookaheadDecodingConfig>, std::optional<tensorrt_llm::executor::KvCacheRetentionConfig>, std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::optional<std::vector<int, std::allocator<int> > >, std::optional<unsigned long>, bool, float, tensorrt_llm::executor::RequestType, std::optional<tensorrt_llm::executor::ContextPhaseParams>, std::optional<tensorrt_llm::executor::Tensor>, std::optional<int>, std::optional<tensorrt_llm::executor::Tensor>, int, std::optional<tensorrt_llm::executor::EagleConfig>, std::optional<tensorrt_llm::executor::Tensor>)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/triton-tensorrt-llm-backend.dir/build.make:160: libtriton_tensorrtllm.so] Error 1
gmake[2]: Leaving directory '/tmp/tritonbuild/tensorrtllm/build'
gmake[1]: Leaving directory '/tmp/tritonbuild/tensorrtllm/build'
gmake[1]: *** [CMakeFiles/Makefile2:271: CMakeFiles/triton-tensorrt-llm-backend.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Any help would be greatly appreciated.

In build.sh, I also needed to comment out the following line. Otherwise build.py would complain about invalid arguments.

"${GITHUB_ORGANIZATION}" "${CONTAINER_PREBUILD_COMMAND}"

This seems to make sense as I did not define TRITON_GITHUB_ORGANIZATION, which ended up adding "" as the last argument of build.py. Note that this line is not in v0.15.0.

Any help would be appreciated.

@byshiue @schetlur-nv

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

See above. Just run bash build.py.

Expected behavior

The build to be successful without error.

actual behavior

The build failed during linking.

additional notes

N/A

@jingzhaoou jingzhaoou added the bug Something isn't working label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant