109 Commits

Author SHA1 Message Date
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
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
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
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
Umut
cc7830186f feat(frontend): refactor game of life example, test and benchmark it 2024-09-18 11:12:10 +03:00
Umut
a839e01b02 fix(frontend-python): remove an invalid reinterpret when converting bit extraction 2024-09-18 11:12:10 +03:00
rudy
736e1fe410 fix(frontend-python): simulation error rate test, increase tolerance 2024-09-11 10:52:41 +02:00
Umut
edaa208733 test(frontend-python): enable coverage back 2024-09-09 15:44:03 +03:00
rudy
f19f071e7b fix(frontend-python): approx rounding test regression due to simulation fix 2024-09-09 11:09:07 +02:00
Umut
d3dfdcd699 feat(frontend): add support for np.min and np.max 2024-09-06 09:39:02 +03:00
Umut
532000f8be feat(frontend): refactor levenshtein distance example, test and benchmark it 2024-09-05 16:12:04 +03:00
Umut
d3c5d64c54 feat(frontend): refactor key value database example to use modules, test and benchmark it 2024-09-05 16:12:04 +03:00
Benoit Chevallier-Mames
8477f95dc3 feat(ci): update ruff 2024-09-05 13:18:42 +02:00
youben11
a9517896ed refactor(frontend): rename tfhers.Context to tfhers.Bridge 2024-09-03 14:05:06 +01:00
youben11
c28ac82b32 test(frontend): add e2e tfhers compatibility tests (concrete keygen)
Concrete doing the keygen, while TFHErs doing enc/dec
2024-09-03 14:05:06 +01:00
youben11
a750545269 feat(frontend): TFHErs Context 2024-09-03 14:05:06 +01:00
youben11
5784fe0f10 refactor(frontend): finalize tfhers parameters API 2024-09-03 14:05:06 +01:00
youben11
99daeff8c2 fix(frontend): make tfhers ciphertext lsb first
this is done to have the same format as tfhers
2024-09-03 14:05:06 +01:00
Bourgerie Quentin
bea18cf6df test(frontend-python): Fixing tfhers compatibility tests 2024-08-28 14:45:23 +02:00
youben11
3e42d69640 test(frontend): make tfhers test pass again
there was an issue while rebasing to main
2024-08-23 17:29:05 +01:00
Bourgerie Quentin
96cff21ec4 test(compiler/clientlib): Add test of decryption of a freshly compressed ciphertext 2024-08-23 17:42:23 +02:00
youben11
2e90f53fbd test(frontend): run only in multi instead of changing config
as test runs two times, once in mono, and once in multi, we can just
skip the test unless we are in multi
2024-08-22 16:38:24 +01:00
youben11
8051a14ff5 test(frontend): more tests and coverage for tfhers 2024-08-22 16:38:24 +01:00
youben11
24493a322d test(frontend): check input/output match tfhers params 2024-08-22 16:38:24 +01:00
youben11
af4a735b0c refactor(compiler): plug with change_partition support of optimizer 2024-08-22 16:38:24 +01:00
youben11
40edb4fe45 feat(frontend): parametrize tfhers integers 2024-08-22 16:38:24 +01:00
youben11
3ac02f423c fix(frontend): support tfhers int with multi-param only 2024-08-22 16:38:24 +01:00
rudy
b6f6d41ada fix(compiler): simulation, confusion between variance and std dev 2024-08-19 16:38:52 +02:00
Umut
7f31f6d1cc fix(frontend): get coverage back to 100 percent 2024-08-15 11:07:20 +02:00
rudy
38600f8b82 fix(frontend-python): test_matmul.test_constant_matmul, randomly failing test 2024-08-08 15:14:54 +02:00
rudy
2345f69d90 fix(frontend-python): fhe.refresh, similar to identity, but used as noise reducer 2024-08-05 11:27:58 +02:00
rudy
ee19ffe01c fix(frontend-python): test_matmul, formatting error 2024-08-02 15:12:20 +02:00
rudy
513e7dd3be fix(frontend-python): test_matmul.test_matmul, randomly failing test 2024-08-02 11:34:41 +02:00
rudy
56ed43ff84 fix(frontend-python): bad signed input tlu padding with extra bitwidth 2024-06-27 14:32:02 +02:00
Umut
81b04a3562 fix(compiler): use maxpool strides properly when lowering to linalg 2024-06-11 18:32:02 +03:00
Benoit Chevallier-Mames
bffa98f320 fix(frontend): fixing other pylint issues 2024-06-06 15:22:45 +03:00
Umut
14334f56ed feat(frontend-python): dynamic assignment 2024-06-05 12:44:42 +03:00
Bourgerie Quentin
db2c7550f5 fix(compiler): Allow uncompressed ciphertext in compressed gate to fix composition + compression 2024-06-04 16:12:18 +02:00
Umut
c677f83af7 feat(frontend-python): dynamic indexing 2024-05-29 18:21:46 +03:00
youben11
6f35a8be81 test(frontend): test tfhers integers 2024-05-28 14:44:20 +01:00
rudy
ace7f2191c fix(frontend-python): optimize extract bits
lsb and tlu calls were not minimized
2024-05-22 09:03:11 +02:00
Umut
8e4d237364 feat(compiler): fancy assignment 2024-05-15 11:21:46 +03:00
Umut
3d0727b845 feat(frontend-python): add option to configure tlu on original bit width 2024-04-16 16:45:05 +03:00
Miles
5d68424531 fix typos 2024-04-11 14:50:16 +02:00
Umut
a98feed824 fix(frontend-python): keep negative values inside tlus as is instead of converting them to unsigned 2024-03-29 14:03:18 +03:00
Umut
29e131a6ef fix(frontend-python): always increase the clear bit width by one to avoid sign extension issues 2024-03-26 17:20:31 +03:00