microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
17.07k stars 1.6k forks source link

[Issue]: poetry init fail when use docker conainer #840

Open galen1980guo opened 1 month ago

galen1980guo commented 1 month ago

Is there an existing issue for this?

Describe the issue

poetry init fail when use docker conainer, and no logs.

because if it success, there will create new folder output/ prompt/ etc.

Steps to reproduce

  1. device: macbook m1 arm64
  2. use docker container: ubuntu 24.04 LTS x86
  3. git pull graphrag source code
  4. pip install poetry
  5. poetry install
  6. poetry run poe index --init --root .

GraphRAG Config Used

# Paste your config here

Logs and screenshots

image

Additional Information

galen1980guo commented 1 month ago

it worked on my macbook & ubuntu server locally. but in docker container not work.

galen1980guo commented 1 month ago

$ python -m graphrag.index --init --root . Illegal instruction

use python package directly also failed, then I think it might be relate with two different architecture between 'M1 MacOS' and 'X86_64 Ubuntu docker image'.

Because I want to create this image can be used on both x86 and arm architecture devices, it seems that there is no good way to compatible with both architectures.