chore: bring concrete-fft as tfhe-fft in the repo

This commit is contained in:
Arthur Meyre
2024-11-08 18:08:40 +01:00
parent 9fbd96f016
commit 6a161fef0a
67 changed files with 19908 additions and 56 deletions

View File

@@ -59,15 +59,18 @@ concrete-csprng = { version = "0.4.1", path = "../concrete-csprng", features = [
"parallel",
] }
lazy_static = { version = "1.4.0", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde = { workspace = true, features = ["default", "derive"] }
rayon = { version = "1.5.0" }
bincode = "1.3.3"
concrete-fft = { version = "0.5.1", features = ["serde", "fft128"] }
tfhe-fft = { version = "0.6.0", path = "../tfhe-fft", features = [
"serde",
"fft128",
] }
concrete-ntt = { version = "0.2.0" }
pulp = "0.18.22"
pulp = { workspace = true, features = ["default"] }
tfhe-cuda-backend = { version = "0.6.0", path = "../backends/tfhe-cuda-backend", optional = true }
aligned-vec = { version = "0.5", features = ["serde"] }
dyn-stack = { version = "0.10" }
aligned-vec = { workspace = true, features = ["default", "serde"] }
dyn-stack = { workspace = true, features = ["default"] }
paste = "1.0.7"
fs2 = { version = "0.4.3", optional = true }
# Used for OPRF in shortint
@@ -79,7 +82,7 @@ tfhe-zk-pok = { version = "0.3.1", path = "../tfhe-zk-pok", optional = true }
tfhe-versionable = { version = "0.3.2", path = "../utils/tfhe-versionable" }
# wasm deps
wasm-bindgen = { version = ">=0.2.86,<0.2.94", features = [
wasm-bindgen = { workspace = true, features = [
"serde-serialize",
], optional = true }
wasm-bindgen-rayon = { version = "1.0", optional = true }
@@ -87,7 +90,7 @@ js-sys = { version = "0.3", optional = true }
console_error_panic_hook = { version = "0.1.7", optional = true }
serde-wasm-bindgen = { version = "0.6.0", optional = true }
getrandom = { version = "0.2.8", optional = true }
bytemuck = "1.14.3"
bytemuck = { workspace = true }
[features]
boolean = []
@@ -126,11 +129,7 @@ integer-client-js-wasm-api = ["integer", "__wasm_api"]
high-level-client-js-wasm-api = ["boolean", "shortint", "integer", "__wasm_api"]
parallel-wasm-api = ["dep:wasm-bindgen-rayon"]
nightly-avx512 = [
"concrete-fft/nightly",
"concrete-ntt/nightly",
"pulp/nightly",
]
nightly-avx512 = ["tfhe-fft/nightly", "concrete-ntt/nightly", "pulp/nightly"]
# Enable the x86_64 specific accelerated implementation of the random generator for the default
# backend