graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

Failed with "from graphrag import index"

Open cheepon opened this issue 1 year ago • 1 comments

I got illegal instruction error when "from graphrag import index" which from "import lancedb as lancedb". I found the issue: https://github.com/lancedb/lance/issues/2195

Is "lancedb" a necessary one for graphrag? It may cause graphrag confront with this issue too.

cheepon avatar Jul 07 '24 15:07 cheepon

At this time, lancedb is a necessary package. graphrag uses lancedb as the preferred choice for a local vector database at query time. There are a couple of issues/PR’s open looking at using other vector DB’s. When those have been vetted, we can look at marking lancedb as an extra’s package or provide a way to skip lancedb in favor of other options.

Based on the issue you linked, it sounds like you may be using an intel CPU that is > 10 years old. Even if the lancedb requirement is removed, consider the possibility that other vector db options may not work well on your system either.

Qdrant and milvus are the two vector databases that we have open PR’s for right now. You may want to test whether either of those options will work on your system.

jgbradley1 avatar Jul 07 '24 17:07 jgbradley1

Just did quick sanity. Both Qdrant and milvus run on my 10 years old intel CPU - "Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz"

sam-bercovici avatar Jul 20 '24 15:07 sam-bercovici