报错 libgomp.so.1, needed by vendor/llama.cpp/ggml/src/libggml.so, not found

发布于:2024-10-09 ⋅ 阅读:(31) ⋅ 点赞:(0)

在安装 xinference时报错

安装命令  pip install "xinference[all]"

报错内容

     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 3.7 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of multiprocess to determine which version is compatible with other requirements. This could take a while.
Collecting multiprocess (from datasets->autoawq<0.2.6->xinference[all])
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e7/41/96ac938770ba6e7d5ae1d8c9cafebac54b413549042c6260f0d0a6ec6622/multiprocess-0.70.15-py311-none-any.whl (135 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12->gradio->xinference[all])
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Building wheels for collected packages: ChatTTS, antlr4-python3-runtime, llama-cpp-python, controlnet-aux, FlagEmbedding, transformers-stream-generator, quantile-python, cdifflib, fvcore, iopath, jaconv, jieba, oss2, encodec, wget, aliyun-python-sdk-core, crcmod
  Building wheel for ChatTTS (setup.py) ... done
  Created wheel for ChatTTS: filename=chattts-0.1.1-py3-none-any.whl size=125022 sha256=e8cfeea7a035821fdd836bbc142a06018fb1914cbda88fc6f7a339a0389dde9f
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/8b/11/18/f4f963318eb4c564f9d44605ca91cc806170ed7e1b4040165e
  Building wheel for antlr4-python3-runtime (setup.py) ... done
  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144555 sha256=9216c3bd4f523b79593d1a07f042db58120638c7eb139351ff004cdb09786060
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/b7/1a/64/f0dc37c50c3c337e906abf4eb29393c3f72add010ab48881b5
  Building wheel for llama-cpp-python (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [92 lines of output]
      *** scikit-build-core 0.10.7 using CMake 3.22.1 (wheel)
      *** Configuring CMake...
      loading initial cache file /tmp/tmpzyo0ge2c/build/CMakeInit.txt
      -- The C compiler identification is GNU 11.4.0
      -- The CXX compiler identification is GNU 11.4.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/gcc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/g++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Found Git: /usr/bin/git (found version "2.34.1")
      -- Looking for pthread.h
      -- Looking for pthread.h - found
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE
      -- Found OpenMP_C: -fopenmp (found version "4.5")
      -- Found OpenMP_CXX: -fopenmp (found version "4.5")
      -- Found OpenMP: TRUE (found version "4.5")
      -- OpenMP found
      -- Using llamafile
      -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF
      -- CMAKE_SYSTEM_PROCESSOR: x86_64
      -- x86 detected
      INSTALL TARGETS - target llama has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION.
      INSTALL TARGETS - target llama has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION.
      INSTALL TARGETS - target ggml has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION.
      INSTALL TARGETS - target ggml has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION.
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /tmp/tmpzyo0ge2c/build
      *** Building project with Ninja...
      [1/33] cd /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp && /usr/bin/cmake -DMSVC= -DCMAKE_C_COMPILER_VERSION=11.4.0 -DCMAKE_C_COMPILER_ID=GNU -DCMAKE_VS_PLATFORM_NAME= -DCMAKE_C_COMPILER=/usr/bin/gcc -P /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/cmake/build-info-gen-cpp.cmake
      -- Found Git: /usr/bin/git (found version "2.34.1")
      [2/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat   -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/build_info.dir/build-info.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/build_info.dir/build-info.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/build_info.dir/build-info.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/build-info.cpp
      [3/33] /usr/bin/gcc  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_LLAMAFILE -DGGML_USE_OPENMP -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -Dggml_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/. -O3 -DNDEBUG -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wdouble-promotion -march=native -fopenmp -std=gnu11 -MD -MT vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o -MF vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o.d -o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/ggml-alloc.c
      [4/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/console.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/console.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/console.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/console.cpp
      [5/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DLLAMA_BUILD -DLLAMA_SHARED -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/../.. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/../../common -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -O3 -DNDEBUG -fPIC -Wno-cast-qual -MD -MT vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o -MF vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o.d -o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/llava.cpp
      [6/33] /usr/bin/gcc  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_LLAMAFILE -DGGML_USE_OPENMP -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -Dggml_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/. -O3 -DNDEBUG -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wdouble-promotion -march=native -fopenmp -std=gnu11 -MD -MT vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-backend.c.o -MF vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-backend.c.o.d -o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-backend.c.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/ggml-backend.c
      [7/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/log.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/log.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/log.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/log.cpp
      [8/33] /usr/bin/gcc  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_LLAMAFILE -DGGML_USE_OPENMP -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -Dggml_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/. -O3 -DNDEBUG -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wdouble-promotion -march=native -fopenmp -std=gnu11 -MD -MT vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-aarch64.c.o -MF vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-aarch64.c.o.d -o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-aarch64.c.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/ggml-aarch64.c
      [9/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/../.. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/../../common -O3 -DNDEBUG -MD -MT vendor/llama.cpp/examples/llava/CMakeFiles/llama-llava-cli.dir/llava-cli.cpp.o -MF vendor/llama.cpp/examples/llava/CMakeFiles/llama-llava-cli.dir/llava-cli.cpp.o.d -o vendor/llama.cpp/examples/llava/CMakeFiles/llama-llava-cli.dir/llava-cli.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/llava-cli.cpp
      [10/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/../.. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/../../common -O3 -DNDEBUG -MD -MT vendor/llama.cpp/examples/llava/CMakeFiles/llama-minicpmv-cli.dir/minicpmv-cli.cpp.o -MF vendor/llama.cpp/examples/llava/CMakeFiles/llama-minicpmv-cli.dir/minicpmv-cli.cpp.o.d -o vendor/llama.cpp/examples/llava/CMakeFiles/llama-minicpmv-cli.dir/minicpmv-cli.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/minicpmv-cli.cpp
      [11/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/ngram-cache.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/ngram-cache.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/ngram-cache.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/ngram-cache.cpp
      [12/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/sampling.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/sampling.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/sampling.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/sampling.cpp
      [13/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/train.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/train.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/train.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/train.cpp
      [14/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DLLAMA_BUILD -DLLAMA_SHARED -Dllama_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-sampling.cpp.o -MF vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-sampling.cpp.o.d -o vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-sampling.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/llama-sampling.cpp
      [15/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DLLAMA_BUILD -DLLAMA_SHARED -Dllama_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-grammar.cpp.o -MF vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-grammar.cpp.o.d -o vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-grammar.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/llama-grammar.cpp
      [16/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DLLAMA_BUILD -DLLAMA_SHARED -Dllama_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-vocab.cpp.o -MF vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-vocab.cpp.o.d -o vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-vocab.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/llama-vocab.cpp
      [17/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_LLAMAFILE -DGGML_USE_OPENMP -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -Dggml_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/. -O3 -DNDEBUG -fPIC -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-array-bounds -Wno-format-truncation -Wextra-semi -march=native -fopenmp -std=gnu++11 -MD -MT vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/llamafile/sgemm.cpp.o -MF vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/llamafile/sgemm.cpp.o.d -o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/llamafile/sgemm.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/llamafile/sgemm.cpp
      [18/33] /usr/bin/gcc  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_LLAMAFILE -DGGML_USE_OPENMP -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -Dggml_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/. -O3 -DNDEBUG -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wdouble-promotion -march=native -fopenmp -std=gnu11 -MD -MT vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-quants.c.o -MF vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-quants.c.o.d -o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-quants.c.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/ggml-quants.c
      [19/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/common.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/common.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/common.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/common.cpp
      [20/33] /usr/bin/gcc  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DGGML_BUILD -DGGML_SCHED_MAX_COPIES=4 -DGGML_SHARED -DGGML_USE_LLAMAFILE -DGGML_USE_OPENMP -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -Dggml_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/. -O3 -DNDEBUG -fPIC -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wdouble-promotion -march=native -fopenmp -std=gnu11 -MD -MT vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o -MF vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o.d -o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/ggml.c
      [21/33] : && /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -fPIC -O3 -DNDEBUG   -shared -Wl,-soname,libggml.so -o vendor/llama.cpp/ggml/src/libggml.so vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-backend.c.o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-quants.c.o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/llamafile/sgemm.cpp.o vendor/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-aarch64.c.o  -Wl,-rpath,"\$ORIGIN"  -lm  /usr/lib/gcc/x86_64-linux-gnu/11/libgomp.so && :
      [22/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DLLAMA_BUILD -DLLAMA_SHARED -Dllama_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode.cpp.o -MF vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode.cpp.o.d -o vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/unicode.cpp
      [23/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DLLAMA_BUILD -DLLAMA_SHARED -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/../.. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/../../common -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -O3 -DNDEBUG -fPIC -Wno-cast-qual -MD -MT vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o -MF vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o.d -o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/examples/llava/clip.cpp
      [24/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/json-schema-to-grammar.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/json-schema-to-grammar.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/json-schema-to-grammar.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/json-schema-to-grammar.cpp
      [25/33] : && /usr/bin/cmake -E rm -f vendor/llama.cpp/examples/llava/libllava_static.a && /usr/bin/ar qc vendor/llama.cpp/examples/llava/libllava_static.a  vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o && /usr/bin/ranlib vendor/llama.cpp/examples/llava/libllava_static.a && :
      [26/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat  -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/common/CMakeFiles/common.dir/arg.cpp.o -MF vendor/llama.cpp/common/CMakeFiles/common.dir/arg.cpp.o.d -o vendor/llama.cpp/common/CMakeFiles/common.dir/arg.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/common/arg.cpp
      [27/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DLLAMA_BUILD -DLLAMA_SHARED -Dllama_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode-data.cpp.o -MF vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode-data.cpp.o.d -o vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode-data.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/unicode-data.cpp
      [28/33] /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -DLLAMA_BUILD -DLLAMA_SHARED -Dllama_EXPORTS -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/. -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/../include -I/tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/ggml/src/../include -O3 -DNDEBUG -fPIC -MD -MT vendor/llama.cpp/src/CMakeFiles/llama.dir/llama.cpp.o -MF vendor/llama.cpp/src/CMakeFiles/llama.dir/llama.cpp.o.d -o vendor/llama.cpp/src/CMakeFiles/llama.dir/llama.cpp.o -c /tmp/pip-install-kkamfs8w/llama-cpp-python_7bf0dec473da4781875feb2562bc2c5e/vendor/llama.cpp/src/llama.cpp
      [29/33] : && /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -fPIC -O3 -DNDEBUG   -shared -Wl,-soname,libllama.so -o vendor/llama.cpp/src/libllama.so vendor/llama.cpp/src/CMakeFiles/llama.dir/llama.cpp.o vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-vocab.cpp.o vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-grammar.cpp.o vendor/llama.cpp/src/CMakeFiles/llama.dir/llama-sampling.cpp.o vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode.cpp.o vendor/llama.cpp/src/CMakeFiles/llama.dir/unicode-data.cpp.o  -Wl,-rpath,"\$ORIGIN"  vendor/llama.cpp/ggml/src/libggml.so && :
      [30/33] : && /usr/bin/cmake -E rm -f vendor/llama.cpp/common/libcommon.a && /usr/bin/ar qc vendor/llama.cpp/common/libcommon.a  vendor/llama.cpp/common/CMakeFiles/build_info.dir/build-info.cpp.o vendor/llama.cpp/common/CMakeFiles/common.dir/arg.cpp.o vendor/llama.cpp/common/CMakeFiles/common.dir/common.cpp.o vendor/llama.cpp/common/CMakeFiles/common.dir/console.cpp.o vendor/llama.cpp/common/CMakeFiles/common.dir/json-schema-to-grammar.cpp.o vendor/llama.cpp/common/CMakeFiles/common.dir/log.cpp.o vendor/llama.cpp/common/CMakeFiles/common.dir/ngram-cache.cpp.o vendor/llama.cpp/common/CMakeFiles/common.dir/sampling.cpp.o vendor/llama.cpp/common/CMakeFiles/common.dir/train.cpp.o && /usr/bin/ranlib vendor/llama.cpp/common/libcommon.a && :
      [31/33] : && /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -fPIC -O3 -DNDEBUG   -shared -Wl,-soname,libllava.so -o vendor/llama.cpp/examples/llava/libllava.so vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o  -Wl,-rpath,"\$ORIGIN"  vendor/llama.cpp/src/libllama.so  vendor/llama.cpp/ggml/src/libggml.so && :
      [32/33] : && /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -O3 -DNDEBUG  vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llama-minicpmv-cli.dir/minicpmv-cli.cpp.o -o vendor/llama.cpp/examples/llava/llama-minicpmv-cli  -Wl,-rpath,/tmp/tmpzyo0ge2c/build/vendor/llama.cpp/src:/tmp/tmpzyo0ge2c/build/vendor/llama.cpp/ggml/src:  vendor/llama.cpp/common/libcommon.a  vendor/llama.cpp/src/libllama.so  vendor/llama.cpp/ggml/src/libggml.so && :
      FAILED: vendor/llama.cpp/examples/llava/llama-minicpmv-cli
      : && /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -O3 -DNDEBUG  vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llama-minicpmv-cli.dir/minicpmv-cli.cpp.o -o vendor/llama.cpp/examples/llava/llama-minicpmv-cli  -Wl,-rpath,/tmp/tmpzyo0ge2c/build/vendor/llama.cpp/src:/tmp/tmpzyo0ge2c/build/vendor/llama.cpp/ggml/src:  vendor/llama.cpp/common/libcommon.a  vendor/llama.cpp/src/libllama.so  vendor/llama.cpp/ggml/src/libggml.so && :
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: warning: libgomp.so.1, needed by vendor/llama.cpp/ggml/src/libggml.so, not found (try using -rpath or -rpath-link)
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `GOMP_barrier@GOMP_1.0'
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `GOMP_parallel@GOMP_4.0'
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `omp_get_thread_num@OMP_1.0'
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `GOMP_single_start@GOMP_1.0'
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `omp_get_num_threads@OMP_1.0'
      collect2: error: ld returned 1 exit status
      [33/33] : && /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -O3 -DNDEBUG  vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llama-llava-cli.dir/llava-cli.cpp.o -o vendor/llama.cpp/examples/llava/llama-llava-cli  -Wl,-rpath,/tmp/tmpzyo0ge2c/build/vendor/llama.cpp/src:/tmp/tmpzyo0ge2c/build/vendor/llama.cpp/ggml/src:  vendor/llama.cpp/common/libcommon.a  vendor/llama.cpp/src/libllama.so  vendor/llama.cpp/ggml/src/libggml.so && :
      FAILED: vendor/llama.cpp/examples/llava/llama-llava-cli
      : && /usr/bin/g++  -pthread -B /home/hadoop/anaconda3/envs/xinf/compiler_compat -O3 -DNDEBUG  vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/llava.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llava.dir/clip.cpp.o vendor/llama.cpp/examples/llava/CMakeFiles/llama-llava-cli.dir/llava-cli.cpp.o -o vendor/llama.cpp/examples/llava/llama-llava-cli  -Wl,-rpath,/tmp/tmpzyo0ge2c/build/vendor/llama.cpp/src:/tmp/tmpzyo0ge2c/build/vendor/llama.cpp/ggml/src:  vendor/llama.cpp/common/libcommon.a  vendor/llama.cpp/src/libllama.so  vendor/llama.cpp/ggml/src/libggml.so && :
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: warning: libgomp.so.1, needed by vendor/llama.cpp/ggml/src/libggml.so, not found (try using -rpath or -rpath-link)
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `GOMP_barrier@GOMP_1.0'
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `GOMP_parallel@GOMP_4.0'
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `omp_get_thread_num@OMP_1.0'
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `GOMP_single_start@GOMP_1.0'
      /home/hadoop/anaconda3/envs/xinf/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `omp_get_num_threads@OMP_1.0'
      collect2: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed.
      
      *** CMake build failed
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for llama-cpp-python
  Building wheel for controlnet-aux (setup.py) ... done
  Created wheel for controlnet-aux: filename=controlnet_aux-0.0.7-py3-none-any.whl size=274344 sha256=884156eedc589e6da58bb014f58b1a6696dc55513dae1c333b757c64c7b06d6c
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/b8/48/5a/40f876d5090fa47dc844a7e64e9e44b993cd32e5dae5bb387e
  Building wheel for FlagEmbedding (setup.py) ... done
  Created wheel for FlagEmbedding: filename=FlagEmbedding-1.2.11-py3-none-any.whl size=171151 sha256=366606dfd9b5bea58a1a35256c4672952b5236f2268edfbe09502e01f49bfb78
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/7d/82/29/c5ef5f3a3b0099554a0d4b8e95a10d174b23215f38c993f913
  Building wheel for transformers-stream-generator (setup.py) ... done
  Created wheel for transformers-stream-generator: filename=transformers_stream_generator-0.0.5-py3-none-any.whl size=12425 sha256=01b81001467d5139065384125f6d818eeadb1cf10a14a2933f9e6c2dae91c2f5
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/aa/35/b0/01e6dea7c9412d611889040c2d94462ece9e648495b66b3224
  Building wheel for quantile-python (setup.py) ... done
  Created wheel for quantile-python: filename=quantile_python-1.1-py3-none-any.whl size=3445 sha256=9f5834e49e4f9441d70fd9023d2403d7b2c54c074cfebfea67e5676c2a0cd500
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/b2/fe/a0/bcddfbcafcd06347418c455e9f9d9afdc3e63e4acd009dbfa1
  Building wheel for cdifflib (pyproject.toml) ... done
  Created wheel for cdifflib: filename=cdifflib-1.2.6-cp311-cp311-linux_x86_64.whl size=12430 sha256=45c594f8e8c231b7cdd5b25a45b6d3aa137f0f545f24069c69eb7e7d79dd82d5
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/7f/e7/e1/fa7c020df37ce15b5961b31e010c80421f1620d985ab0785ee
  Building wheel for fvcore (setup.py) ... done
  Created wheel for fvcore: filename=fvcore-0.1.5.post20221221-py3-none-any.whl size=61396 sha256=42f1621f19d884111519ff17eee434390adfddc62e37f21c75f07e8ff33ba5c7
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/a9/30/46/b7cb09b198d92063dc624e2a538b4d31eaa0629b56590c791c
  Building wheel for iopath (setup.py) ... done
  Created wheel for iopath: filename=iopath-0.1.10-py3-none-any.whl size=31528 sha256=94e0490bfbfaac591665cb223abe02ad156d32fae5b9caa53b05fe43f75b6001
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/34/08/79/f24d785c5011f876e8c7ae6fc636f91ad789da14b51e719c6a
  Building wheel for jaconv (setup.py) ... done
  Created wheel for jaconv: filename=jaconv-0.4.0-py3-none-any.whl size=18229 sha256=1838802a88ee812a0883fec32ee54f2029a41cee3f0fb6b957ac305a64bdb270
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/31/69/c9/007e2503425ae0be1707690a46ffa4cfb90044af47b94fbbd6
  Building wheel for jieba (setup.py) ... done
  Created wheel for jieba: filename=jieba-0.42.1-py3-none-any.whl size=19314458 sha256=b51d0624be19458ce5278c0d765a4af95b7c5eaa3bb29db27141e6d5bdd3f4f1
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/37/08/79/ea7c0d2ca823affa13f89586a5a9eff8dd6ad589640396e1b5
  Building wheel for oss2 (setup.py) ... done
  Created wheel for oss2: filename=oss2-2.19.0-py3-none-any.whl size=123849 sha256=0f064b00bfa4b053187c1f525e935692ddd684d2f15deef9750d2e45a453f972
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/8a/cd/a0/cf12266f97e0b9916358a816ddefba95019cfb8e4085cc1bc2
  Building wheel for encodec (setup.py) ... done
  Created wheel for encodec: filename=encodec-0.1.1-py3-none-any.whl size=45760 sha256=9d4d558563b4be15d1d64f674f5db555b2d031c8910cbb09591a3d969455b7e6
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/92/85/95/c53fe616b6ff2653005809a5ebd859fc7a77967defc8ae754c
  Building wheel for wget (setup.py) ... done
  Created wheel for wget: filename=wget-3.2-py3-none-any.whl size=9656 sha256=22336dbcd5a66b17bee8abdabf057db57f7c7d01618d78f768a8c61612011b38
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/c3/11/f9/4ddcfcd200e0f275c97416caacedd203430eaa0a813361c4d7
  Building wheel for aliyun-python-sdk-core (setup.py) ... done
  Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.15.2-py3-none-any.whl size=535312 sha256=d04d5af84db21cb68f539fa9b4508eff2eddb7194b03341c209251af575c04dc
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/a6/f6/0c/2ee037faaebb6d3b65c0149bd6e274bac58865b05e613669b7
  Building wheel for crcmod (setup.py) ... done
  Created wheel for crcmod: filename=crcmod-1.7-cp311-cp311-linux_x86_64.whl size=23549 sha256=82a655383f081a38b82d13cf5ad37d676a44971774e57e12c704db97a549204b
  Stored in directory: /work1/home/hadoop/.cache/pip/wheels/47/4c/3b/5666b51fd4c25aec36c428ecf7368ea0a90f1cfcc82d4bd0ba
Successfully built ChatTTS antlr4-python3-runtime controlnet-aux FlagEmbedding transformers-stream-generator quantile-python cdifflib fvcore iopath jaconv jieba oss2 encodec wget aliyun-python-sdk-core crcmod
Failed to build llama-cpp-python
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (llama-cpp-python)

解决办法

通过查找命令 find /usr -name libgomp.so.1
找到内容 
/usr/lib/x86_64-linux-gnu/libgomp.so.1


然后在执行安装命令前, 输入如下命令并回车, 指定 LD_LIBRARY_PATH
 export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH

然后再执行如下命令成功了
pip install "xinference[all]"