lance-format / lance-format/lance
Raise exception if index params don't make sense
Open
Nobody has claimed this yet.
A-index
enhancement
- Dominant language
- Rust
- Stars
- 7.1k
- Forks
- 852
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 272
Description
Error
Process finished with exit code 132 (interrupted by signal 4: SIGILL)
Code
table.create_index(num_partitions=256, num_sub_vectors=96)
num vectors is 5K
works with num_partitions=4
(reported by user on M1)
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 by reproducing the Python call table.create_index(num_partitions=256, num_sub_vectors=96) with about 5K vectors on an M1, then compare it with num_partitions=4. Trace the index-creation entry point to find where these parameters can be checked; done means invalid combinations raise a clear exception instead of terminating with SIGILL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- machine-learning, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100