【求助帖】43-24.12.3-实战:实时网页信息爬取+RAG的问答系统搭建及发布 #419
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#419
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
安装 xinference失败,日志如下:
ml/src: vendor/llama.cpp/common/libcommon.a vendor/llama.cpp/src/libllama.so vendor/llama.cpp/ggml/src/libggml.so vendor/llama.cpp/ggml/src/libggml-cpu.so vendor/llama.cpp/ggml/src/libggml-base.so && :
FAILED: vendor/llama.cpp/examples/llava/llama-minicpmv-cli
: && /usr/bin/g++ -pthread -B /home/tkc/.conda/envs/xinference/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/tmp4x01o59x/build/vendor/llama.cpp/src:/tmp/tmp4x01o59x/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 vendor/llama.cpp/ggml/src/libggml-cpu.so vendor/llama.cpp/ggml/src/libggml-base.so && :
/home/tkc/.conda/envs/xinference/compiler_compat/ld: warning: libdl.so.2, needed by vendor/llama.cpp/ggml/src/libggml.so, not found (try using -rpath or -rpath-link)
/home/tkc/.conda/envs/xinference/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to
dlsym@GLIBC_2.2.5' /home/tkc/.conda/envs/xinference/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to
dlclose@GLIBC_2.2.5'/home/tkc/.conda/envs/xinference/compiler_compat/ld: vendor/llama.cpp/ggml/src/libggml.so: undefined reference to `dlopen@GLIBC_2.2.5'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for llama-cpp-python
Failed to build llama-cpp-python
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (llama-cpp-python)
wget http://ftp.gnu.org/gnu/glibc/glibc-2.2.5.tar.gz
tar -zxvf glibc-2.2.5.tar.gz && cd glibc-2.2.5 && mkdir build && cd build
../configure --prefix=/opt/glibc-2.2.5
make -j4
make all
make install
vim ~/.bashrc
将export LD_LIBRARY_PATH=/opt/glibc-2.2.5/lib:$LD_LIBRARY_PATH添加到文件最后
source ~/.bashrc