NVIDIA / NVIDIA/cuvs

[BUG] Throw a better error when `from_cagra` is called with out-of-core built CAGRA index

Open
#758 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Cuda
Stars
854
Forks
236
Avg merge
3d 3h
Merged PRs (30d)
62

Description

As the name suggests, we should catch this case early and throw a descriptive error.

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 at the from_cagra entry point and inspect how it handles indexes built out of core. Reproduce the call with an out-of-core CAGRA index, then make the failure descriptive and verify that the early error distinguishes this case from supported indexes.

Written by the indexing model from the issue text.

Assessment

Domain
search
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.