我正在 Ubuntu 20.04 docker 中从源代码编译 https://github.com/NVIDIA/TensorRT-LLM/ 并遇到这样的错误:
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
我尝试通过 apt 安装
libucx
/ libucx-dev
,
apt update
apt install libucx-dev
但是
apt
给了我:
E: Unable to locate package libucx-dev
那么如何在docker中安装libucx以便cmake可以找到它呢? (我的cmake版本是3.22
libucx-dev
。您需要将 Ubuntu 升级到 Jammy 或更新版本。