Skip to content

feat: fallback to CPU if GPU accelerating is unavailable#5407

Merged
BubbleCal merged 1 commit intomainfrom
gpu-index-fallback
Dec 5, 2025
Merged

feat: fallback to CPU if GPU accelerating is unavailable#5407
BubbleCal merged 1 commit intomainfrom
gpu-index-fallback

Conversation

@BubbleCal
Copy link
Copy Markdown
Contributor

@BubbleCal BubbleCal commented Dec 4, 2025

fix #5061

Summary

  • fallback to CPU when an accelerator is passed to non-IVF_PQ indices
  • document the limitation and add a warning-log regression test

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot added the python label Dec 4, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 4, 2025

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@BubbleCal BubbleCal changed the title Add GPU fallback for unsupported vector indices feat: fallback to CPU if GPU accelerating is unavailable Dec 4, 2025
@github-actions github-actions Bot added the enhancement New feature or request label Dec 4, 2025
@BubbleCal BubbleCal merged commit 3e6ea14 into main Dec 5, 2025
13 of 18 checks passed
@BubbleCal BubbleCal deleted the gpu-index-fallback branch December 5, 2025 06:30
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
…t#5407)

fix lance-format#5061 

## Summary
- fallback to CPU when an accelerator is passed to non-IVF_PQ indices
- document the limitation and add a warning-log regression test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] cannot create IVF_HNSW_SQ index (on cuda device)

2 participants