Skip to content

Commit 22dcdef

Browse files
committed
Rename pqk to clostera
1 parent 0fbade1 commit 22dcdef

42 files changed

Lines changed: 1157 additions & 1152 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
runs-on: ubuntu-24.04
134134
environment:
135135
name: pypi
136-
url: https://pypi.org/p/pqk
136+
url: https://pypi.org/p/clostera
137137
steps:
138138
- uses: actions/download-artifact@v4
139139
with:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/.benchmarks
44
/.venv
55
/.pytest_cache
6-
/python/pqk/__pycache__
6+
/python/clostera/__pycache__
77
**/__pycache__/
88
*.pyc
99
*.pyo

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cargo bench --bench core_bench
2222
```bash
2323
python scripts/benchmark_suite.py \
2424
--output-dir .artifacts/benchmark-suite \
25-
--baseline-python .artifacts/pqk-baseline/.artifacts/venv-baseline313/bin/python \
25+
--baseline-python .artifacts/clostera-baseline/.artifacts/venv-baseline313/bin/python \
2626
--original-python "$(which python)" \
2727
--enhanced-python "$(which python)" \
2828
--blas-threads 1 \

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "pqk"
2+
name = "clostera"
33
version = "1.0.0"
44
edition = "2024"
55

@@ -10,7 +10,7 @@ openblas-static = ["ndarray-linalg/openblas-static"]
1010
python = ["dep:numpy", "dep:pyo3", "pyo3/extension-module"]
1111

1212
[lib]
13-
name = "_pqk"
13+
name = "_clostera"
1414
crate-type = ["cdylib", "rlib"]
1515

1616
[dependencies]

README.md

Lines changed: 59 additions & 59 deletions
Large diffs are not rendered by default.

benches/core_bench.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use _pqk::{PqKMeans, ProductQuantizer};
1+
use _clostera::{PqKMeans, ProductQuantizer};
22
use criterion::{BenchmarkId, Criterion, criterion_group, criterion_main};
33
use ndarray::Array2;
44

@@ -75,7 +75,7 @@ fn mixed_vectors(
7575
}
7676

7777
fn criterion_benchmark(criterion: &mut Criterion) {
78-
let mut group = criterion.benchmark_group("pqk");
78+
let mut group = criterion.benchmark_group("clostera");
7979
for rows in [8_000usize, 20_000usize] {
8080
let vectors = synthetic_vectors(8, rows / 8, 64);
8181
let train = vectors.slice(ndarray::s![..4_096, ..]).to_owned();
9.9 KB
Loading

docs/assets/benchmark_hero.png

362 KB
Loading

docs/assets/benchmark_k_sweep.png

10.8 KB
Loading

0 commit comments

Comments
 (0)