Commit Graph

237 Commits

Author SHA1 Message Date
youben11
8d0ee4d438 test(frontend): backward compatibility for ClientSpecs 2025-03-21 07:46:53 +01:00
youben11
098d9b65bc fix(frontend): make sure tfhers_spec is present in diff save/load cases
f
2025-03-20 11:49:48 +01:00
youben11
76ebd79d1a feat(frontend): extend bridge to work with Client
this is needed in a deployment usecase where we don't have a circuit or
module
2025-03-07 09:31:20 +01:00
youben11
2625ffd22c feat(frontend): add flag to optim LSBs with LUT 2025-02-27 10:00:28 +01:00
youben11
ff62daaf57 feat(frontend): support signed integers with arbitrary bitwidth output 2025-02-26 12:10:33 +01:00
youben11
4aac0f8d25 chore(frontend): move concrete-rust to frontends 2025-02-24 12:36:31 +01:00
youben11
554c9b7087 test(frontend): run circuit with Rust keygen 2025-02-24 12:33:06 +01:00
Andrei Stoian
e718712700 feat(frontend): add load tfhers params from dict 2025-01-23 09:40:58 +01:00
Alexandre Péré
6159c065a9 docs(frontend): document parameter restrictions 2024-12-20 09:11:42 +01:00
youben11
559b0fb987 test(frontend): TFHE-rs bridge with modules 2024-12-19 10:56:06 +01:00
youben11
813874a713 test(frontend): test TFHE-rs ML example 2024-12-18 10:44:53 +01:00
youben11
b20e5ae37e feat(frontend): use shapes in tfhers-utils 2024-12-18 10:44:53 +01:00
youben11
b64e6f71e3 docs(frontend): TFHE-rs interop example using ML model
Co-authored-by: jfrery <jordan.frery@zama.ai>
2024-12-18 10:44:47 +01:00
Quentin Bourgerie
e00ccea54b Merge pull request #1174 from zama-ai/alex/update_security_curves
chore(common): add 132 bits security curves
2024-12-16 16:05:43 +01:00
youben11
0fdb51bdb0 feat(backend/frontend): use safe_serialization for secret keys 2024-12-16 14:34:23 +01:00
youben11
e7fbb0cae8 chore(backend/frontend): update TFHE-rs to 0.10.0 2024-12-16 14:34:23 +01:00
Alexandre Péré
4d6afba9dd chore(common): add 132 bits security curves 2024-12-16 11:24:04 +01:00
youben11
d056758c3c perf(frontend/compiler): support ser keyset using path
reduce memory usage by avoiding unecessary copy
2024-12-10 11:51:53 +01:00
rudy
c292a8b2df feat(frontend-python): module run are scheduled and parallelized in a worker pool 2024-12-06 09:52:04 +01:00
Alexandre Péré
85f16436fc Merge pull request #1155 from zama-ai/fix/test_modules_precedence_2
fix(frontend-python): correct operator precedence
2024-12-02 17:59:05 +01:00
Alexandre Péré
27e56f02ca fix(frontend-python): correct operator precedence 2024-12-02 16:10:34 +01:00
Alexandre Péré
819e6da503 Merge pull request #1145 from zama-ai/alex/optimizer_keyset_generation
feat(optimizer): add generic keyset info generation
2024-12-02 11:01:21 +01:00
Quentin Bourgerie
175b568e91 chore(frontend-python): Run minimal tests on macos and gpu 2024-11-29 14:35:15 +01:00
Alexandre Péré
af46cf4696 feat(optimizer): add virtual keyset info generation 2024-11-22 10:28:16 +01:00
Alexandre Péré
f70a18bb0a feat(compiler): search space restriction 2024-11-14 14:44:27 +01:00
youben11
3f52db55eb feat(frontend): load TFHE-rs integer type from saved params (JSON) 2024-11-14 11:56:40 +01:00
youben11
e5d073a0eb fix(frontend): support higher bitwidth computation when using TFHE-rs 2024-11-14 08:45:05 +01:00
youben11
05585a3292 chore(frontend): remove duplicate test 2024-11-07 10:25:05 +01:00
youben11
f7881021e8 feat(frontend/backend): support TFHErs tensors 2024-11-07 10:25:01 +01:00
youben11
67895a1ccb chore(backend/frontend): update TFHE-rs 2024-11-04 11:43:04 +01:00
youben11
b0e7c085ea fix(frontend): consider padding bit during to_native conversion 2024-10-25 09:43:21 +01:00
youben11
e5c643ec14 fix(frontend): use esint when tfhers type is signed 2024-10-25 09:43:21 +01:00
youben11
6c7291cd57 feat(frontend/compiler): support TFHErs fheint8 2024-10-25 09:43:18 +01:00
Bourgerie Quentin
c4f0a43b4d fix(backend-cpu): Use safe serialization for TFHE-rs interoperability 2024-10-18 10:01:20 +02:00
Alexandre Péré
a9e03e242e fix(frontend): remove compat.h 2024-10-14 14:27:47 +02:00
Alexandre Péré
7402219247 fix(frontend): use python-3.8 compatible syntax 2024-10-07 08:45:33 +02:00
youben11
c3e21fe92b chore(frontend): update tfhers in tfhers test utils 2024-10-03 10:42:34 +01:00
Bourgerie Quentin
11bf8d9066 fix(frontend-python): Fixing default circuit name in tfhe-rs bridge 2024-09-26 10:43:06 +02:00
youben11
1ecaa5b033 test(frontend): test TFHE-rs example 2024-09-26 10:43:06 +02:00
youben11
d63ff516af refactor(frontend): remove the need to pass the in/out types in Bridge 2024-09-26 10:43:06 +02:00
youben11
eb72bbc53c refactor(frontend): renaming for consistency and clarity 2024-09-26 10:43:06 +02:00
youben11
a7cf7791d4 feat(compiler/front/backend): use LWE keys inst of GLWE with TFHErs comp 2024-09-26 10:43:06 +02:00
youben11
6ce66139d1 test(frontend): add e2e test doing TFHErs keygen from Concrete SK
this also does computation on both ends
2024-09-26 10:43:06 +02:00
youben11
1d6d9527ec test(frontend): support TFHErs keygen from Concrete SK 2024-09-26 10:43:06 +02:00
youben11
50ddee27e2 test(frontend): add e2e for computing on both sides TFHErs and Concrete
with TFHErs keygen first, and Concrete using TFHErs secret key to keygen
2024-09-26 10:43:06 +02:00
youben11
ff8f6bf0de test(frontend): support summing ciphertext in tfhers utility 2024-09-26 10:43:06 +02:00
youben11
e50388788a test(frontend): add keygen to tfhers test utility
also support different types of keys now
2024-09-26 10:43:06 +02:00
youben11
e50544c9de fix(frontend): specify encoding in open 2024-09-26 10:43:06 +02:00
Alexandre Péré
d9b34f13d0 refactor(frontends): unify circuits and modules 2024-09-24 14:37:37 +02:00
Alexandre Péré
4d2eb7327b fix(frontends): forbid clear nodes in composition rules 2024-09-20 10:12:22 +02:00