ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: MacOS M1/M2/M3/M4 support RAGFlow

Open chao-eng1 opened this issue 11 months ago • 11 comments

Describe your problem

xgboost 1.5.0 mac 系统苹果芯片 是无法安装编译的 导致安装环境报错 需要改成 xgboost 1.6.0 希望pyproject.toml 更改下 然后呢 还需要安装unixodbc 才行 启动教程里可以更新下

chao-eng1 avatar Feb 19 '25 03:02 chao-eng1

已经成功运行 遇到问题的 自行更改就好

chao-eng1 avatar Feb 19 '25 03:02 chao-eng1

What is the error message you encounter?

KevinHuSh avatar Feb 19 '25 05:02 KevinHuSh

是这样  xgboost v1.5.0 版本 无法使用arm 架构,需要升级到 xgboost v1.6.0 才可以使用! 

和尚ゝ @.***

 

------------------ 原始邮件 ------------------ 发件人: "Kevin @.>; 发送时间: 2025年2月19日(星期三) 中午1:52 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [infiniflow/ragflow] [Question]: mac M1M2M3M4芯片从源码启动RAGFlow (Issue #5114)

What is the error message you encounter?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> KevinHuSh left a comment (infiniflow/ragflow#5114)

What is the error message you encounter?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

chao-eng1 avatar Feb 19 '25 06:02 chao-eng1

Describe your problem

xgboost 1.5.0 mac 系统苹果芯片 是无法安装编译的 导致安装环境报错 需要改成 xgboost 1.6.0 希望pyproject.toml 更改下 然后呢 还需要安装unixodbc 才行 启动教程里可以更新下

大佬能细说一下吗? 还有ragflow-es-01这个不断重启怎么解决

weigeloveu avatar Feb 19 '25 09:02 weigeloveu

我不清楚啊  我的好的 

和尚ゝ @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2025年2月19日(星期三) 下午5:51 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [infiniflow/ragflow] [Question]: MacOS M1/M2/M3/M4 support RAGFlow (Issue #5114)

Describe your problem

xgboost 1.5.0 mac 系统苹果芯片 是无法安装编译的 导致安装环境报错 需要改成 xgboost 1.6.0 希望pyproject.toml 更改下 然后呢 还需要安装unixodbc 才行 启动教程里可以更新下

大佬能细说一下吗? 还有ragflow-es-01这个不断重启怎么解决

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> weigeloveu left a comment (infiniflow/ragflow#5114)

Describe your problem

xgboost 1.5.0 mac 系统苹果芯片 是无法安装编译的 导致安装环境报错 需要改成 xgboost 1.6.0 希望pyproject.toml 更改下 然后呢 还需要安装unixodbc 才行 启动教程里可以更新下

大佬能细说一下吗? 还有ragflow-es-01这个不断重启怎么解决

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

chao-eng1 avatar Feb 19 '25 09:02 chao-eng1

大佬小白没太看懂,您说的“还需要安装unixodbc”这个怎么操作 直接在brew里边安装吗还是修改哪个配置文件在容器里安装?

weigeloveu avatar Feb 19 '25 09:02 weigeloveu

有提示就要安装  没提示就算了 brew 里安装就好  

和尚ゝ @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2025年2月19日(星期三) 下午5:59 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [infiniflow/ragflow] [Question]: MacOS M1/M2/M3/M4 support RAGFlow (Issue #5114)

大佬小白没太看懂,您说的“还需要安装unixodbc”这个怎么操作 直接在brew里边安装吗还是修改哪个配置文件在容器里安装?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> weigeloveu left a comment (infiniflow/ragflow#5114)

大佬小白没太看懂,您说的“还需要安装unixodbc”这个怎么操作 直接在brew里边安装吗还是修改哪个配置文件在容器里安装?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

chao-eng1 avatar Feb 19 '25 10:02 chao-eng1

I met with the same issue and fixed it total successfully with the solution which @chao-eng1 provided.

  1. In file pyproject.toml, modify the version of xgboost from 1.5.0 to 1.6.0
  2. Install unixodbc through brew install unixodbc

Thx!

snowffer avatar Feb 24 '25 09:02 snowffer

多谢 解决了我的问题 m3 air

ac3225020 avatar Mar 31 '25 02:03 ac3225020

m4 成功解决,特此回来答谢👍🏻

LiangMiSan avatar Mar 31 '25 07:03 LiangMiSan

m1 pro 解决了,多谢

Han-YLun avatar Apr 03 '25 08:04 Han-YLun

M2 air ,docker compose -f docker-compose-macos.yml up -d

报错: [+] Building 4.6s (3/3) FINISHED docker:desktop-linux => [ragflow internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 8.53kB 0.0s => ERROR [ragflow internal] load metadata for docker.io/infiniflow/ragflow_deps:latest 4.5s => CANCELED [ragflow internal] load metadata for docker.io/library/ubuntu:22.04 4.5s

[ragflow internal] load metadata for docker.io/infiniflow/ragflow_deps:latest:


failed to solve: infiniflow/ragflow_deps:latest: failed to resolve source metadata for docker.io/infiniflow/ragflow_deps:latest: no match for platform in manifest: not found

我直接查找,文件是存在的 :

docker pull infiniflow/ragflow_deps:latest latest: Pulling from infiniflow/ragflow_deps latest: Pulling from infiniflow/ragflow_deps latest: Pulling from infiniflow/ragflow_deps latest: Pulling from infiniflow/ragflow_deps latest: Pulling from infiniflow/ragflow_deps latest: Pulling from infiniflow/ragflow_deps latest: Pulling from infiniflow/ragflow_deps no matching manifest for linux/arm64/v8 in the manifest list entries

怎么办呢?

jianbingzheng avatar Apr 27 '25 16:04 jianbingzheng