Files
qdrant/lib/quantization/Cargo.toml
Ivan Pleshkov 9ec813e0da P-Square one pass quantile estimation method (#7520)
* p square one pass method

* are you happy fmt

* fix n=9 case

* marker struct

* refactor

* proper tests

* add bench

* better namings

* are you happy clippy

* are you happy clippy

* fix additional markers order

* use ArrayVec instead of SmallVec

* use orderer float to sort f64

* Update lib/quantization/src/p_square.rs

Co-authored-by: xzfc <5121426+xzfc@users.noreply.github.com>

* Update lib/quantization/src/p_square.rs

Co-authored-by: xzfc <5121426+xzfc@users.noreply.github.com>

* mispelling

* review remarks

* fix typo

* change float checks order

---------

Co-authored-by: xzfc <5121426+xzfc@users.noreply.github.com>
2025-11-25 11:15:51 +01:00

59 lines
1.1 KiB
TOML

[package]
name = "quantization"
version = "0.1.0"
authors = [
"Andrey Vasnetsov <vasnetsov93@gmail.com>",
"Qdrant Team <info@qdrant.tech>",
]
license = "Apache-2.0"
edition = "2024"
[lints]
workspace = true
[features]
testing = ["common/testing"]
[build-dependencies]
cc = "1.0"
[dependencies]
fs-err = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
permutation_iterator = "0.1.2"
rand = { workspace = true }
rayon = { workspace = true }
num-traits = { workspace = true }
memory = { path = "../common/memory" }
common = { path = "../common/common" }
io = { path = "../common/io" }
strum = { workspace = true }
bytemuck = { workspace = true }
parking_lot = { workspace = true }
ordered-float = { workspace = true }
arrayvec = "0.7.6"
[dev-dependencies]
quantization = { path = ".", features = ["testing"] }
criterion = { workspace = true }
num_threads = "0.1.6"
rand_distr = { workspace = true }
tempfile = { workspace = true }
[[bench]]
name = "encode"
harness = false
[[bench]]
name = "pq"
harness = false
[[bench]]
name = "binary"
harness = false
[[bench]]
name = "p_square"
harness = false