PromtEngineer / PromtEngineer/localGPT

[BUG] Illegal instruction (core dumped) on x86_64 CPU without AVX2 (error 132)

Open
#921 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.