lance-format/lance

GPU-enabled index training

Open

#1,080 opened on Jul 20, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (695 forks)github user discovery
A-pythonPyTorchgood first issue

Repository metrics

Stars
 (6,582 stars)
PR merge metrics
 (Avg merge 6d 1h) (219 merged PRs in 30d)

Description

Currently the index training time is dominated by kmeans training, which can be sped up significantly via hardware acceleration.

Recently we added an API to take externally trained IVF centroids. So we could have an optional feature where the centroids are trained using pytorch or rapids then set the centroids explicitly.

Examples:

https://github.com/lancedb/lance/blob/main/python/python/lance/dataset.py#L481

Contributor guide