ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: ragflow The requested image's platform (linux/amd64)

Open kurtisjuwensx opened this issue 1 year ago • 5 comments

Is there an existing issue for the same bug?

  • [X] I have checked the existing issues.

Branch name

main

Commit ID

no

Other environment information

Hardware parameters:Mac M1
OS type:13.5

Actual behavior

ragflow The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Expected behavior

normally run

Steps to reproduce

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

Additional information

image

No response

kurtisjuwensx avatar Apr 29 '24 16:04 kurtisjuwensx

Your machine is arm64 based which is not supported by our current docker images. We're working on it.

KevinHuSh avatar Apr 30 '24 01:04 KevinHuSh

@KevinHuSh
When do you expect the arm64 update to be released?

1of13 avatar May 17 '24 18:05 1of13

+1. I wish the documentation would note that it wouldn't work on Mac M1 at this moment. I spent an entire day setting it up on my mac M1 and finally got the stack running up. tried to parse a plain text file several times and always stuck at around 3%. when searching around why it did not parse, and found it here. I think I know why it wouldn't work now.

sprklinginfo avatar Jun 22 '24 16:06 sprklinginfo

Having trouble running ragflow on M3 Silicon Mac or even building the docker: docker build --no-cache -t infiniflow/ragflow:dev -f Dockerfile.arm .

Output:

Dockerfile.arm:7
--------------------
   6 |     COPY requirements_arm.txt /ragflow/requirements.txt
   7 | >>> RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&\
   8 | >>> python -c "import nltk;nltk.download('punkt');nltk.download('wordnet')"
   9 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&python -c \"import nltk;nltk.download('punkt');nltk.download('wordnet')\"" did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/fvay1k2wtt4fzbb2yijrj0r2t

FellowTraveler avatar Aug 01 '24 07:08 FellowTraveler

@FellowTraveler Same for me.

dorhunova avatar Aug 19 '24 11:08 dorhunova

https://github.com/infiniflow/ragflow/blob/main/docs/guides/develop/build_docker_image.md

yuzhichang avatar Sep 28 '24 09:09 yuzhichang