Skip to content
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

Failed with "from graphrag import index" #413

Open
cheepon opened this issue Jul 7, 2024 · 1 comment
Open

Failed with "from graphrag import index" #413

cheepon opened this issue Jul 7, 2024 · 1 comment

Comments

@cheepon
Copy link

cheepon commented Jul 7, 2024

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.

@jgbradley1
Copy link
Contributor

jgbradley1 commented Jul 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants