-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Provide docker image for Mac with ARM #434
Comments
@KevinHuSh pls give some instructions to build mac images. |
ragflow/Dockerfile.scratch has every necessary steps to build an image. |
Hi. I tried using Dockerfile.scratch and the image was not built successfully. Would you mind writing detailed instructions on how to set up on Mac with ARM? |
The Dockerfile.scratch file has many issues. For example, it points to the wrong URL for Miniconda3. It should be something like this: https://repo.anaconda.com/miniconda/Miniconda3-py311_24.3.0-0-MacOSX-arm64.sh, instead of the "... latest-Linux-x86_64 ..." used in the script. The latest version of Miniconda3 uses Python3.12, and consequently, some of the libraries included in the requirements are incompatible, as they require Python3.11 at most. |
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. |
it works! |
Excuse me. How to run zhe docker image with the changed files? |
does it support mps on Mac M1 chip? |
Having trouble running ragflow on M3 Silicon Mac or even building the docker: Output:
|
Has the issue been resolved? |
same here,
any idea ? |
We've published multi-arch image |
Fix building on ARM architecture. ### What problem does this PR solve? Fix building on ARM architecture. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) ### Related issues - infiniflow#2137 - infiniflow#610 - infiniflow#434 - infiniflow#253
这个链接失效了 |
Here. |
Is there an existing issue for the same feature request?
Is your feature request related to a problem?
No response
Describe the feature you'd like
There are several builtin models depending on PyTorch, ONNXRuntime,...,etc, which requires extra works for migrating.
Describe implementation you've considered
No response
Documentation, adoption, use case
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: