ragflow [Feature Request]: Provide docker image for Mac with ARM

q8l4jmvw  于 2个月前  发布在  Docker
关注(0)|答案(8)|浏览(108)

是否存在相同功能请求的现有问题?

  • 我已检查了现有的问题。

您的功能请求是否与问题相关?

  • 无响应*

描述您想要的功能

有几个基于PyTorch、ONNXRuntime等的内置模型,迁移这些模型需要额外的工作。

描述您考虑过的实现方式

  • 无响应*

文档、采纳、使用案例

  • 无响应*

其他信息

  • 无响应*
weylhg0b

weylhg0b1#

请给KevinHuSh提供一些关于构建Mac镜像的说明。

vmdwslir

vmdwslir2#

ragflow/Dockerfile.scratch 包含了构建镜像所需的所有必要步骤。

juud5qan

juud5qan3#

你好。我尝试使用Dockerfile.scratch,但镜像构建不成功。你是否介意提供详细的说明,如何在Mac上设置ARM?

sdnqo3pr

sdnqo3pr4#

Dockerfile.scratch文件存在许多问题。例如,它指向了错误的Miniconda3 URL。正确的格式应该是这样的:https://repo.anaconda.com/miniconda/Miniconda3-py311_24.3.0-0-MacOSX-arm64.sh,而不是脚本中使用的"... latest-Linux-x86_64 ..."。Miniconda3的最新版本使用了Python3.12,因此,其中包含的一些库与要求不兼容,因为它们最多需要Python3.11。

r8xiu3jd

r8xiu3jd5#

我尝试在Oracle的ARM主机上运行并重建docker镜像。我移除了一些在ARM平台上不受支持的软件包,例如Aspose.Slides和N-card。因此,一些功能将不再可用,例如,不再支持Powerpoint文件。已更新requirements.txt和Dockerfile.scratch,附件中包含。

n9vozmp4

n9vozmp46#

我尝试在Oracle的ARM主机上运行并重建Docker镜像。我移除了一些在ARM平台上不受支持的软件包,例如Aspose.Slides和N-card。因此,一些功能将不再可用,例如Powerpoint文件不再受支持。已更新requirements.txt和Dockerfile.scratch。requirements.txtDockerfile.scratch.txt
它可以工作!

fumotvh3

fumotvh37#

I tried to run it on Oracle's ARM host and rebuild docker image. I removed some packages which isn't supported on ARM platform such as Aspose.Slides and N-card. Therefore, Some features won't work any more, for example, Powerpoint file isn't support any more. Updated requirements.txt and Dockerfile.scratch are attached. requirements.txtDockerfile.scratch.txt
Excuse me. How to run zhe docker image with the changed files?
I just known how to use docker compose run the program in the docker folder

ijnw1ujt

ijnw1ujt8#

它是否支持Mac M1芯片上的MPS?

相关问题