Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
`pylance-cuvs` provides cuVS-backed IVF_PQ training and artifact building for
Lance datasets.

The current release line is `0.1.0b1`.

It covers one narrow part of the indexing pipeline:

1. Train an IVF_PQ model with cuVS.
Expand All @@ -18,7 +20,8 @@ It does **not** create or register a Lance index on your behalf.
- CUDA 12 runtime available on the machine
- cuVS runtime `libcuvs-cu12==26.2.0`
- A matching backend package: `pylance-cuvs-cu12`
- A Lance build that includes the vector-build APIs used by this project
- A Lance build at commit `6112a34bfe38618f07c099217dc3d89fd39ca6bb`
or a descendant that preserves the same vector-build APIs

## Installation

Expand All @@ -29,7 +32,7 @@ same Python environment:
- `pylance-cuvs-cu12`
- `libcuvs-cu12==26.2.0`

Published releases are wheel-only. Source builds are not supported.
Published beta releases are wheel-only. Source distributions are not supported.

If you are working from this repository, the shortest local setup is:

Expand All @@ -38,6 +41,10 @@ just sync-dev
just backend-develop
```

For Lance-side integration, pin Lance to commit
`6112a34bfe38618f07c099217dc3d89fd39ca6bb` first, then validate against this
beta.

The loader chooses the backend from the installed cuVS runtime package. You can
override detection when needed:

Expand Down
2 changes: 1 addition & 1 deletion backends/cuvs_26_02/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backends/cuvs_26_02/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pylance-cuvs-cu12"
version = "0.1.0"
version = "0.1.0-beta.1"
edition = "2024"
authors = ["Lance Devs <dev@lance.org>"]
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions backends/cuvs_26_02/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[project]
name = "pylance-cuvs-cu12"
version = "0.1.0"
version = "0.1.0b1"
description = "CUDA 12 runtime backend for pylance-cuvs"
authors = [{ name = "Lance Devs", email = "dev@lance.org" }]
license = { text = "Apache-2.0" }
requires-python = ">=3.12"
dependencies = ["pyarrow>=14"]
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Rust",
Expand Down
11 changes: 2 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[project]
name = "pylance-cuvs"
version = "0.1.0"
version = "0.1.0b1"
description = "Version-dispatched cuVS backend loader for Lance"
authors = [{ name = "Lance Devs", email = "dev@lance.org" }]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.12"
dependencies = ["pyarrow>=14"]
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
]
Expand All @@ -29,12 +29,5 @@ dev = [
[tool.hatch.build.targets.wheel]
packages = ["python/lance_cuvs"]

[tool.hatch.build.targets.sdist]
include = [
"python/lance_cuvs",
"README.md",
"LICENSE",
]

[tool.pytest.ini_options]
markers = ["gpu: tests that require a CUDA-capable GPU"]
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading