#921·localGPT

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

Author: niutechCreated Sep 5, 2025Updated Sep 12, 2025
Labelsbug

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?