当前位置: 首页 > news >正文

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

在安装 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, crcmodBuilding wheel for ChatTTS (setup.py) ... doneCreated wheel for ChatTTS: filename=chattts-0.1.1-py3-none-any.whl size=125022 sha256=e8cfeea7a035821fdd836bbc142a06018fb1914cbda88fc6f7a339a0389dde9fStored in directory: /work1/home/hadoop/.cache/pip/wheels/8b/11/18/f4f963318eb4c564f9d44605ca91cc806170ed7e1b4040165eBuilding wheel for antlr4-python3-runtime (setup.py) ... doneCreated wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144555 sha256=9216c3bd4f523b79593d1a07f042db58120638c7eb139351ff004cdb09786060Stored in directory: /work1/home/hadoop/.cache/pip/wheels/b7/1a/64/f0dc37c50c3c337e906abf4eb29393c3f72add010ab48881b5Building wheel for llama-cpp-python (pyproject.toml) ... errorerror: 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 detectedINSTALL 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 statusninja: 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-pythonBuilding wheel for controlnet-aux (setup.py) ... doneCreated wheel for controlnet-aux: filename=controlnet_aux-0.0.7-py3-none-any.whl size=274344 sha256=884156eedc589e6da58bb014f58b1a6696dc55513dae1c333b757c64c7b06d6cStored in directory: /work1/home/hadoop/.cache/pip/wheels/b8/48/5a/40f876d5090fa47dc844a7e64e9e44b993cd32e5dae5bb387eBuilding wheel for FlagEmbedding (setup.py) ... doneCreated wheel for FlagEmbedding: filename=FlagEmbedding-1.2.11-py3-none-any.whl size=171151 sha256=366606dfd9b5bea58a1a35256c4672952b5236f2268edfbe09502e01f49bfb78Stored in directory: /work1/home/hadoop/.cache/pip/wheels/7d/82/29/c5ef5f3a3b0099554a0d4b8e95a10d174b23215f38c993f913Building wheel for transformers-stream-generator (setup.py) ... doneCreated wheel for transformers-stream-generator: filename=transformers_stream_generator-0.0.5-py3-none-any.whl size=12425 sha256=01b81001467d5139065384125f6d818eeadb1cf10a14a2933f9e6c2dae91c2f5Stored in directory: /work1/home/hadoop/.cache/pip/wheels/aa/35/b0/01e6dea7c9412d611889040c2d94462ece9e648495b66b3224Building wheel for quantile-python (setup.py) ... doneCreated wheel for quantile-python: filename=quantile_python-1.1-py3-none-any.whl size=3445 sha256=9f5834e49e4f9441d70fd9023d2403d7b2c54c074cfebfea67e5676c2a0cd500Stored in directory: /work1/home/hadoop/.cache/pip/wheels/b2/fe/a0/bcddfbcafcd06347418c455e9f9d9afdc3e63e4acd009dbfa1Building wheel for cdifflib (pyproject.toml) ... doneCreated wheel for cdifflib: filename=cdifflib-1.2.6-cp311-cp311-linux_x86_64.whl size=12430 sha256=45c594f8e8c231b7cdd5b25a45b6d3aa137f0f545f24069c69eb7e7d79dd82d5Stored in directory: /work1/home/hadoop/.cache/pip/wheels/7f/e7/e1/fa7c020df37ce15b5961b31e010c80421f1620d985ab0785eeBuilding wheel for fvcore (setup.py) ... doneCreated wheel for fvcore: filename=fvcore-0.1.5.post20221221-py3-none-any.whl size=61396 sha256=42f1621f19d884111519ff17eee434390adfddc62e37f21c75f07e8ff33ba5c7Stored in directory: /work1/home/hadoop/.cache/pip/wheels/a9/30/46/b7cb09b198d92063dc624e2a538b4d31eaa0629b56590c791cBuilding wheel for iopath (setup.py) ... doneCreated wheel for iopath: filename=iopath-0.1.10-py3-none-any.whl size=31528 sha256=94e0490bfbfaac591665cb223abe02ad156d32fae5b9caa53b05fe43f75b6001Stored in directory: /work1/home/hadoop/.cache/pip/wheels/34/08/79/f24d785c5011f876e8c7ae6fc636f91ad789da14b51e719c6aBuilding wheel for jaconv (setup.py) ... doneCreated wheel for jaconv: filename=jaconv-0.4.0-py3-none-any.whl size=18229 sha256=1838802a88ee812a0883fec32ee54f2029a41cee3f0fb6b957ac305a64bdb270Stored in directory: /work1/home/hadoop/.cache/pip/wheels/31/69/c9/007e2503425ae0be1707690a46ffa4cfb90044af47b94fbbd6Building wheel for jieba (setup.py) ... doneCreated wheel for jieba: filename=jieba-0.42.1-py3-none-any.whl size=19314458 sha256=b51d0624be19458ce5278c0d765a4af95b7c5eaa3bb29db27141e6d5bdd3f4f1Stored in directory: /work1/home/hadoop/.cache/pip/wheels/37/08/79/ea7c0d2ca823affa13f89586a5a9eff8dd6ad589640396e1b5Building wheel for oss2 (setup.py) ... doneCreated wheel for oss2: filename=oss2-2.19.0-py3-none-any.whl size=123849 sha256=0f064b00bfa4b053187c1f525e935692ddd684d2f15deef9750d2e45a453f972Stored in directory: /work1/home/hadoop/.cache/pip/wheels/8a/cd/a0/cf12266f97e0b9916358a816ddefba95019cfb8e4085cc1bc2Building wheel for encodec (setup.py) ... doneCreated wheel for encodec: filename=encodec-0.1.1-py3-none-any.whl size=45760 sha256=9d4d558563b4be15d1d64f674f5db555b2d031c8910cbb09591a3d969455b7e6Stored in directory: /work1/home/hadoop/.cache/pip/wheels/92/85/95/c53fe616b6ff2653005809a5ebd859fc7a77967defc8ae754cBuilding wheel for wget (setup.py) ... doneCreated wheel for wget: filename=wget-3.2-py3-none-any.whl size=9656 sha256=22336dbcd5a66b17bee8abdabf057db57f7c7d01618d78f768a8c61612011b38Stored in directory: /work1/home/hadoop/.cache/pip/wheels/c3/11/f9/4ddcfcd200e0f275c97416caacedd203430eaa0a813361c4d7Building wheel for aliyun-python-sdk-core (setup.py) ... doneCreated wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.15.2-py3-none-any.whl size=535312 sha256=d04d5af84db21cb68f539fa9b4508eff2eddb7194b03341c209251af575c04dcStored in directory: /work1/home/hadoop/.cache/pip/wheels/a6/f6/0c/2ee037faaebb6d3b65c0149bd6e274bac58865b05e613669b7Building wheel for crcmod (setup.py) ... doneCreated wheel for crcmod: filename=crcmod-1.7-cp311-cp311-linux_x86_64.whl size=23549 sha256=82a655383f081a38b82d13cf5ad37d676a44971774e57e12c704db97a549204bStored 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_PATHexport LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH然后再执行如下命令成功了
pip install "xinference[all]"

相关文章:

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

在安装 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 t…...

wsl(3) -- USB使用

1. 简介 WSL1中可以直接使用Windows的串口&#xff0c;其对应关系就是COMx对应WSL的/dev/ttySx&#xff0c;例如COM2对应WSL的/dev/ttyS2。WSL2是不支持USB设备的&#xff0c;但可以通过usbipd-win程序将windows上的usb设备映射到wsl2中&#xff0c;参考微软官方文档连接 USB …...

从原理到代码:如何通过 FGSM 生成对抗样本并进行攻击

从原理到代码&#xff1a;如何通过 FGSM 生成对抗样本并进行攻击 简介 在机器学习领域&#xff0c;深度神经网络的强大表现令人印象深刻&#xff0c;尤其是在图像分类等任务上。然而&#xff0c;随着对深度学习的深入研究&#xff0c;研究人员发现了神经网络的一个脆弱性&…...

从零开始学习OMNeT++系列第一弹——OMNeT++的介绍与安装

最近由于由于工作上的需求&#xff0c;接了一个网络仿真的任务。于是开始调研各个仿真平台&#xff0c;然后根据目前的需求和网络上公开资料的多少&#xff0c;决定使用omnet这个网络仿真平台。现在也是刚开始学习&#xff0c;所以决定记录一下从零开始的这个学习过程。因为虽然…...

Cluster Explanation via Polyhedral Descriptions

通过多面体描述进行聚类解释 本文关注聚类描述问题&#xff0c;即在给定数据集及其聚类划分的情况下&#xff0c;解释这些聚类的任务。我们提出了一种新的聚类解释方法&#xff0c;通过在每个聚类周围构建一个多面体&#xff0c;同时最小化最终多面体的复杂性或用于描述的特征…...

爬虫设计思考之一

爬虫设计思考之一 经常做爬虫的人对于技术比较的执着&#xff0c;尤其是本身从事的擅长的技术领域&#xff0c;从而容易忽视与之相近或者相似的技术。因此我建议大家在遇到此类问题的时候&#xff0c;可以采用对比分析的方式来理解。 本次的思考是基于国内最大的中文搜索引擎百…...

解决centos 删除文件后但空间没有释放

一、问题描述&#xff1a;磁盘空间不足&#xff0c;清理完垃圾日志以后磁盘空间还是没有释放 查看磁盘空间 [rootxwj-qt-65-44 ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 0 1.9G …...

微软SCCM:企业级系统管理的核心工具

目录 摘要 1. 引言 2. SCCM的基本概念 2.1 什么是SCCM? 2.2 SCCM的历史 3. SCCM的架构 3.1 中心服务器 3.2 数据库 3.3 管理点(Management Point) 3.4 分发点(Distribution Point) 3.5 客户端代理 3.6 报告服务 4. SCCM的核心功能 4.1 软件部署与管理 4.2 操…...

RTSP作为客户端 推流 拉流的过程分析

之前写过一个 rtsp server 作为服务端的简单demo 这次分析下 rtsp作为客户端 推流和拉流时候的过 A.作为客户端拉流 TCP方式 1.Client发送OPTIONS方法 Server回应告诉支持的方法 2.Client发送DESCRIPE方法 这里是从海康摄像机拉流并且设置了用户名密码 Server回复未认证 3.客…...

【MySQL 07】内置函数

目录 1.日期函数 日期函数使用场景&#xff1a; 2.字符串函数 字符串函数使用场景&#xff1a; 3.数学函数 4.控制流函数 1.日期函数 函数示例&#xff1a; 1.在日期的基础上加日期 在该日期下&#xff0c;加上10天。 2.在日期的基础上减去时间 在该日期下减去2天 3.计算两…...

《深度学习》OpenCV 背景建模 原理及案例解析

目录 一、背景建模 1、什么是背景建模 2、背景建模的方法 1&#xff09;帧差法(backgroundSubtractor) 2&#xff09;基于K近邻的背景/前景分割算法BackgroundSubtractorKNN 3&#xff09;基于高斯混合的背景/前景分割算法BackgroundSubtractorMOG2 3、步骤 1&#xff09;初…...

机器学习(1):机器学习的概念

1. 机器学习的定义和相关概念 机器学习之父 Arthur Samuel 对机器学习的定义是&#xff1a;在没有明确设置的情况下&#xff0c;使计算机具有学习能力的研究领域。 国际机器学习大会的创始人之一 Tom Mitchell 对机器学习的定义是&#xff1a;计算机程序从经验 E 中学习&#…...

0. Pixel3 在Ubuntu22下Android12源码拉取 + 编译

0. Pixel3 在Ubuntu22下Android12源码拉取 编译 原文地址: http://www.androidcrack.com/index.php/archives/3/ 1. 前言 这是一个非常悲伤的故事, 因为一个意外, 不小心把之前镜像的源码搞坏了. 也没做版本管理,恢复不了了. 那么只能说是重新做一次. 再者以前的镜像太老旧…...

ip经过多个服务器转发会网速变慢吗

会的&#xff0c;IP经过多个服务器转发时&#xff0c;网速通常会变慢&#xff0c;主要原因包括&#xff1a; 增加的延迟&#xff1a; 每经过一个服务器&#xff0c;数据包就需要额外的时间进行处理和转发。这种处理时间和网络延迟会累积&#xff0c;导致整体延迟增加。 带宽限制…...

mongodb通过mongoimport导入JSON文件数据

目录 一、概念 二、mongoimport导入工具 三、导入命令 一、概念 MongoDB是一个流行的开源文档数据库&#xff0c;它支持JSON格式的文档&#xff0c;非常适合存储和处理大量的非结构化数据。在实际应用中&#xff0c;我们经常需要将大量的数据批量导入到MongoDB中。mongoimpo…...

【Qt】控件概述 (1)

控件概述 1. QWidget核心属性1.1核心属性概述1.2 enable1.3 geometry——窗口坐标1.4 window frame的影响1.4 windowTitle——窗口标题1.5 windowIcon——窗口图标1.6 windowOpacity——透明度设置1.7 cursor——光标设置1.8 font——字体设置1.9 toolTip——鼠标悬停提示设置1…...

ping基本使用详解

在网络中ping是一个十分强大的TCP/IP工具。它的作用主要为&#xff1a; 用来检测网络的连通情况和分析网络速度根据域名得到服务器 IP根据 ping 返回的 TTL 值来判断对方所使用的操作系统及数据包经过路由器数量。我们通常会用它来直接 ping ip 地址&#xff0c;来测试网络的连…...

Win10之解决:设置静态IP后,为什么自动获取动态IP问题(七十八)

简介&#xff1a; CSDN博客专家、《Android系统多媒体进阶实战》一书作者 新书发布&#xff1a;《Android系统多媒体进阶实战》&#x1f680; 优质专栏&#xff1a; Audio工程师进阶系列【原创干货持续更新中……】&#x1f680; 优质专栏&#xff1a; 多媒体系统工程师系列【…...

【AI论文精读1】针对知识密集型NLP任务的检索增强生成(RAG原始论文)

目录 一、简介一句话简介作者、引用数、时间论文地址开源代码地址 二、摘要三、引言四、整体架构&#xff08;用一个例子来阐明&#xff09;场景例子&#xff1a;核心点&#xff1a; 五、方法 &#xff08;架构各部分详解&#xff09;5.1 模型1. RAG-Sequence Model2. RAG-Toke…...

踩坑spring cloud gateway /actuator/gateway/refresh不生效

版本 java version: 17 spring boot: 3.2.x spring cloud: 2023.0.3 现象 参考Spring Cloud Gateway -> Actuator API -> Refreshing the Route Cache 说明&#xff0c;先修改routes配置再调用/actuator/gateway/refresh&#xff0c;接口返回200 status&#xff0c;但…...

Linux应用开发之网络套接字编程(实例篇)

服务端与客户端单连接 服务端代码 #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <arpa/inet.h> #include <pthread.h> …...

C++初阶-list的底层

目录 1.std::list实现的所有代码 2.list的简单介绍 2.1实现list的类 2.2_list_iterator的实现 2.2.1_list_iterator实现的原因和好处 2.2.2_list_iterator实现 2.3_list_node的实现 2.3.1. 避免递归的模板依赖 2.3.2. 内存布局一致性 2.3.3. 类型安全的替代方案 2.3.…...

java_网络服务相关_gateway_nacos_feign区别联系

1. spring-cloud-starter-gateway 作用&#xff1a;作为微服务架构的网关&#xff0c;统一入口&#xff0c;处理所有外部请求。 核心能力&#xff1a; 路由转发&#xff08;基于路径、服务名等&#xff09;过滤器&#xff08;鉴权、限流、日志、Header 处理&#xff09;支持负…...

DAY 47

三、通道注意力 3.1 通道注意力的定义 # 新增&#xff1a;通道注意力模块&#xff08;SE模块&#xff09; class ChannelAttention(nn.Module):"""通道注意力模块(Squeeze-and-Excitation)"""def __init__(self, in_channels, reduction_rat…...

【磁盘】每天掌握一个Linux命令 - iostat

目录 【磁盘】每天掌握一个Linux命令 - iostat工具概述安装方式核心功能基础用法进阶操作实战案例面试题场景生产场景 注意事项 【磁盘】每天掌握一个Linux命令 - iostat 工具概述 iostat&#xff08;I/O Statistics&#xff09;是Linux系统下用于监视系统输入输出设备和CPU使…...

linux 错误码总结

1,错误码的概念与作用 在Linux系统中,错误码是系统调用或库函数在执行失败时返回的特定数值,用于指示具体的错误类型。这些错误码通过全局变量errno来存储和传递,errno由操作系统维护,保存最近一次发生的错误信息。值得注意的是,errno的值在每次系统调用或函数调用失败时…...

使用van-uploader 的UI组件,结合vue2如何实现图片上传组件的封装

以下是基于 vant-ui&#xff08;适配 Vue2 版本 &#xff09;实现截图中照片上传预览、删除功能&#xff0c;并封装成可复用组件的完整代码&#xff0c;包含样式和逻辑实现&#xff0c;可直接在 Vue2 项目中使用&#xff1a; 1. 封装的图片上传组件 ImageUploader.vue <te…...

Keil 中设置 STM32 Flash 和 RAM 地址详解

文章目录 Keil 中设置 STM32 Flash 和 RAM 地址详解一、Flash 和 RAM 配置界面(Target 选项卡)1. IROM1(用于配置 Flash)2. IRAM1(用于配置 RAM)二、链接器设置界面(Linker 选项卡)1. 勾选“Use Memory Layout from Target Dialog”2. 查看链接器参数(如果没有勾选上面…...

【2025年】解决Burpsuite抓不到https包的问题

环境&#xff1a;windows11 burpsuite:2025.5 在抓取https网站时&#xff0c;burpsuite抓取不到https数据包&#xff0c;只显示&#xff1a; 解决该问题只需如下三个步骤&#xff1a; 1、浏览器中访问 http://burp 2、下载 CA certificate 证书 3、在设置--隐私与安全--…...

Linux云原生安全:零信任架构与机密计算

Linux云原生安全&#xff1a;零信任架构与机密计算 构建坚不可摧的云原生防御体系 引言&#xff1a;云原生安全的范式革命 随着云原生技术的普及&#xff0c;安全边界正在从传统的网络边界向工作负载内部转移。Gartner预测&#xff0c;到2025年&#xff0c;零信任架构将成为超…...