Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: Update lab build depednencies (NVIDIA#298)
* README: Lab requires python3 devel headers/library The python3 development headers and library are required, or else llama-cpp-python fails to build. × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [23 lines of output] *** scikit-build-core 0.8.2 using CMake 3.28.3 (wheel) *** Configuring CMake... 2024-03-05 11:42:14,297 - scikit_build_core - WARNING - libdir/ldlibrary: /usr/lib64/libpython3.12.so is not a real file! 2024-03-05 11:42:14,297 - scikit_build_core - WARNING - Can't find a Python library, got libdir=/usr/lib64, ldlibrary=libpython3.12.so, multiarch=x86_64-linux-gnu, masd=None Signed-off-by: Stef Walter <stefw@redhat.com> * README: Add gh tool install command on Fedora Linux This is required to download the model. Signed-off-by: Stef Walter <stefw@redhat.com> * README: Command to install the g++ compiler on Fedora Linux Add the command to install the g++ compiler on Fedora Linux. Otherwise we get an error similar to the following when building llama-cpp-python × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [21 lines of output] *** scikit-build-core 0.8.2 using CMake 3.28.3 (wheel) *** Configuring CMake... loading initial cache file /tmp/tmppdxr1vom/build/CMakeInit.txt -- The C compiler identification is GNU 14.0.1 -- The CXX compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Error at CMakeLists.txt:3 (project): No CMAKE_CXX_COMPILER could be found. Signed-off-by: Stef Walter <stefw@redhat.com> --------- Signed-off-by: Stef Walter <stefw@redhat.com>
- Loading branch information