PromtEngineer / PromtEngineer/localGPT
[BUG] Illegal instruction (core dumped) on x86_64 CPU without AVX2 (error 132)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 22.2k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
🐛 Bug Description
I want to run localGPT on my Intel Core i5-2400 CPU, but it doesn't support AVX2 instruction. However, localGTP relies on lancedb, which requires AVX2. This is a known issue: https://github.com/lancedb/lance/issues/2195, https://github.com/lancedb/lancedb/issues/592, https://github.com/lancedb/lancedb/issues/1018, https://github.com/lancedb/lancedb/issues/1437.
🔄 Steps to Reproduce
Try to run system_health_check.py.
✅ Expected Behavior
Make me run localGPT.
❌ Actual Behavior
Illegal instruction (core dumped), returned error 132.
🖥️ Environment Information
Desktop:
- OS: Ubuntu 24.04
- Python Version: 3.12
🤔 Possible Solution
Replace lancedb with another vector database?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with system_health_check.py and reproduce the error on an x86_64 CPU without AVX2. Read the linked LanceDB issues and trace how localGPT loads lancedb before deciding whether a compatible database path is feasible. Done means the health check and localGPT run successfully on the reported CPU without an illegal-instruction crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100