当前位置: 首页> 教育> 高考 > 免费二级域名分发系统_创意logo图片大全_优化公司怎么优化网站的_百度seo刷排名软件

免费二级域名分发系统_创意logo图片大全_优化公司怎么优化网站的_百度seo刷排名软件

时间:2025/7/17 14:51:23来源:https://blog.csdn.net/weixin_47782004/article/details/145967524 浏览次数:0次
免费二级域名分发系统_创意logo图片大全_优化公司怎么优化网站的_百度seo刷排名软件

0.问题说明

想要让RAGFLOW利用GPU资源跑起来,可以选择docker-compose-gpu.yml启动。(但是官网启动案例是×86平台的不是NVIDIA GPU的,docker-compose-gpu.yml又是第三方维护,所以稍有问题)

1.问题

docker利用docker-compose-gpu.yml启动RAGFLOW,文档解析出错
报错:

18:10:23 [ERROR][Exception]: NCCL Error 2: unhandled system error (run with NCCL_DEBUG=INFO for details)

报错提示

2.解决方案

(1)修改docker-compose-gpu.yml文件(稍作改动)
修改样例

下面是修改后的完整docker-compose-gpu.yml文件,可以直接复制。

# The RAGFlow team do not actively maintain docker-compose-gpu.yml, so use them at your own risk.
# However, you are welcome to file a pull request to improve it.
include:- ./docker-compose-base.ymlservices:ragflow:depends_on:mysql:condition: service_healthyimage: ${RAGFLOW_IMAGE}container_name: ragflow-serverports:- ${SVR_HTTP_PORT}:9380- 80:80- 443:443volumes:- ./ragflow-logs:/ragflow/logs- ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf- ./nginx/proxy.conf:/etc/nginx/proxy.conf- ./nginx/nginx.conf:/etc/nginx/nginx.confenv_file: .envipc: hostshm_size: 8genvironment:- TZ=${TIMEZONE}- HF_ENDPOINT=${HF_ENDPOINT}- MACOS=${MACOS}- NCCL_DEBUG=INFOnetworks:- ragflowrestart: on-failure# https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration# If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.extra_hosts:- "host.docker.internal:host-gateway"deploy:resources:reservations:devices:- driver: nvidiacount: allcapabilities: [gpu]

参数解释:
ipc: host:允许容器共享主机的IPC命名空间,解决NCCL多卡通信问题
shm_size: 8g:增大共享内存容量(默认64MB不足)

(2)通过docker-compose-gpu.yml重新启动RAGFLOW

docker compose -f docker-compose-gpu.yml up -d

(3)运行ragflow-server服务器

docker logs -f ragflow-server

(4)检查是否成功进行文档解析

成功解析如下结果:
成功解析
到此,问题解决!

关键字:免费二级域名分发系统_创意logo图片大全_优化公司怎么优化网站的_百度seo刷排名软件

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: