mirror of
https://github.com/qdrant/qdrant.git
synced 2026-07-30 22:51:00 -05:00
* [ai + manual] Implement Hadamard rotation # Conflicts: # lib/quantization/src/turboquant/mod.rs * [ai + manual] Defer normalization and reduce iterations * Test improvements + Clippy * [AI] Don't use fixed-size chunks * [AI + Manual] Extract permutations and add more tests * Add normalization + Remove signs2 * Remove signs2 too and improve chunk size function * [ai] Improve code * [ai] use reversible LCG for O(1) memory shuffle * Bench fixes + Remove constant in seed * [ai] Review Remarks * [ai] Review remarks * [ai + manual] In-Place rotations
63 lines
1.2 KiB
TOML
63 lines
1.2 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 = { workspace = true }
|
|
|
|
[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 }
|
|
common = { path = "../common/common" }
|
|
strum = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
ordered-float = { workspace = true }
|
|
arrayvec = "0.7.6"
|
|
|
|
[dev-dependencies]
|
|
fs-err = { workspace = true, features = ["debug"] }
|
|
quantization = { path = ".", features = ["testing"] }
|
|
criterion = { workspace = true }
|
|
num_threads = "0.1.7"
|
|
rand_distr = { workspace = true }
|
|
rstest = { 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
|
|
|
|
[[bench]]
|
|
name = "hadamard"
|
|
harness = false
|