https://blog.csdn.net/JISIC/article/details/145993322

taskset f0 ./llm_demo ~/ds.rkllm 4096 4096

g++ -std=c++17 rkllm_server.cpp -o rkllm_server -lrkllmrt -pthread -I/usr/local/include -L/usr/local/lib

g++ -std=c++17 rkllm_server.cpp -o rkllm_server -lrkllmrt -lcpp-httplib -pthread -lssl -lcrypto -lz -I/usr/include -L/usr/lib/aarch64-linux-gnu

orangepi@orangepi5b:~/ws/xiaozhi-esp32-server$ ./docker-setup.sh
开始安装小智服务端...
创建目录结构...
下载语音识别模型...
% Total % Received % Xferd Average Speed Time Time Time Current

                             Dload  Upload   Total   Spent    Left  Speed

100 334 100 334 0 0 863 0 --:--:-- --:--:-- --:--:-- 865
100 892M 100 892M 0 0 18.5M 0 0:00:48 0:00:48 --:--:-- 16.0M
下载配置文件...
% Total % Received % Xferd Average Speed Time Time Time Current

                             Dload  Upload   Total   Spent    Left  Speed

100 607 100 607 0 0 998 0 --:--:-- --:--:-- --:--:-- 998
% Total % Received % Xferd Average Speed Time Time Time Current

                             Dload  Upload   Total   Spent    Left  Speed

100 29783 100 29783 0 0 42278 0 --:--:-- --:--:-- --:--:-- 42305
检查文件完整性...
文件下载完成!
请编辑 data/.config.yaml 文件配置你的API密钥。
配置完成后,运行以下命令启动服务:
docker-compose up -d
查看日志请运行:
docker logs -f xiaozhi-esp32-server

重要提示:

  1. 请确保编辑 data/.config.yaml 文件,配置必要的API密钥
  2. 特别是 ChatGLM 和 mem0ai 的密钥必须配置
  3. 配置完成后再启动 docker 服务

https://github.com/xinnan-tech/xiaozhi-esp32-server/blob/main/docs/Deployment.md#%E9%85%8D%E7%BD%AE%E9%A1%B9%E7%9B%AE

https://github.com/ronz03130815/xiaozhi-esp32-server

Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
run the following command when conda is activated:

conda config --set auto_activate_base false

You can undo this by running conda init --reverse $SHELL? [yes|no]
[no] >>>

You have chosen to not have conda modify your shell scripts at all.
To activate conda's base environment in your current shell session:

eval "$(/home/orangepi/anaconda3/bin/conda shell.YOUR_SHELL_NAME hook)"

To install conda's shell functions for easier access, first activate, then:

conda init

Thank you for installing Anaconda3!

标签: none

评论已关闭