skip to Main Content

I’m compiling https://github.com/NVIDIA/TensorRT-LLM/ from source in a Ubuntu 20.04 docker and encounter such an error:

CMake Warning at CMakeLists.txt:549 (find_package): By not providing "Finducx.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ucx", but
CMake did not find one.

Could not find a package configuration file provided by "ucx" with any of
the following names:

ucxConfig.cmake                                                                                                                                                                                                
ucx-config.cmake

I tried install libucx/ libucx-dev by apt,

apt update
apt install libucx-dev

but the apt gives me:

E: Unable to locate package libucx-dev

So How to install libucx in docker so that cmake could find it?
(My cmake version is 3.22

2

Answers


  1. Chosen as BEST ANSWER

    As others said, there is no official libucx-dev on ubuntu 20.04. But one can follow the steps in openucx.readthedocs.io/en/master/running.html to build it from src and install.


  2. Focal does not have libucx-dev. Even nobody backported it for Focal in Personal Package Archives on Launchpad. You need to upgrade Ubuntu till Jammy or newer.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search