Commit Graph

398 Commits

Author SHA1 Message Date
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
Alexandre Péré
2c2f149dc5 fix(frontends): allow runtime_library to be overriden 2024-09-05 10:35:48 +02:00
youben11
a9517896ed refactor(frontend): rename tfhers.Context to tfhers.Bridge 2024-09-03 14:05:06 +01:00
youben11
feac6e89d4 refactor(compiler): get fheint description from type instead of buffer
we were doing a deserialization previously to get the fheint
description, but we will now construct it from the type instead. It's
still possible for the user to get the description from the buffer and
use it for import (using the Compiler API).
2024-09-03 14:05:06 +01:00
youben11
159e8e296b feat(frontend/compiler): set correct value for noise and degree 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
4216479df3 test(frontend): add utility to enc/dec TFHErs encrypted integers
this will be used to test Concrete <> TFHErs compatibility
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
Alexandre Péré
26dd90311c chore(optimizer): enhance optimizer errors 2024-09-02 17:19:53 +02:00
Alexandre Péré
165746d406 chore(frontends): enable simultaneous execution and simulation in modules 2024-09-02 17:12:27 +02:00
Bourgerie Quentin
b2ced570fd perf(compiler): Do not instantiate csprng each time for woppbs simulation 2024-09-02 17:06:35 +02:00
Umut
f8de9e1ed7 test(frontend-python): introduce previously large memory usage test 2024-09-02 13:00:27 +02:00
Alexandre Péré
e675a75285 feat(frontend): wire tracing 2024-09-02 10:50:27 +02:00
Bourgerie Quentin
bea18cf6df test(frontend-python): Fixing tfhers compatibility tests 2024-08-28 14:45:23 +02:00
aquint-zama
12d79cc0de docs(frontend): add Inventory Matching System tutorial 2024-08-26 14:45:43 +02:00
Bourgerie Quentin
5a2eea029a chore(frontend-python): Enable coverage only on linux 2024-08-26 10:03:37 +02:00
rudy
4a2f549c17 fix(frontend-python): disable coverage, only used to draw with graphviz 2024-08-26 10:03:37 +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
Bourgerie Quentin
477b502f58 test(frontend-python): Fix default value and option for the optimizatio strategy to test 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
dc8bb598d2 chore(frontend): format 2024-08-22 16:38:24 +01:00
youben11
6b26bf3d08 refactor(frontend): move tfhers/params check to converter
we are checking if the selected parameter selection can handle tfhers
integers
2024-08-22 16:38:24 +01:00
youben11
d9ee2d2c25 feat(frontend): forward tfhers params in change_partition op 2024-08-22 16:38:24 +01:00
youben11
33abefa5c2 feat(compiler): add partition attr to change partition to/from it 2024-08-22 16:38:24 +01:00
youben11
40edb4fe45 feat(frontend): parametrize tfhers integers 2024-08-22 16:38:24 +01:00
youben11
c42c016172 feat(compiler/frontend): change partition operation 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
youben11
cae8542af4 chore(frontend): remove mypy warning about imported func
mypy was complaining hint was a module
2024-08-22 16:38:24 +01:00
Bourgerie Quentin
3188b50c0e chore(common): Merge remote-tracking branch 'origin/main' into backport_release/2.7.x 2024-08-22 14:28:32 +02:00
Benoit Chevallier-Mames
439cb94b77 chore(ci): adding local link checks 2024-08-21 11:40:14 +02:00
Benoit Chevallier-Mames
956a3df9e4 docs(frontend): adding a use-case for fuzzy encrypted name comparison 2024-08-21 10:10:08 +02: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
Bourgerie Quentin
5a98041d13 chore(common): Merge branch 'main' into release/2.7.x 2024-08-13 14:12:19 +02:00
Umut
bb52dbb48a feat(frontend): accept clear arguments in server.run 2024-08-12 17:20:08 +02:00
Benoit Chevallier-Mames
38dd2f73b3 docs(compiler): adding a tutorial with floats
closes https://github.com/zama-ai/concrete-internal/issues/744
2024-08-08 16:44:40 +02:00
rudy
38600f8b82 fix(frontend-python): test_matmul.test_constant_matmul, randomly failing test 2024-08-08 15:14:54 +02:00
Umut
46c115ab35 feat(frontend): support configuration overrides for Server.load when via_mlir is used 2024-08-08 15:11:29 +02:00
rudy
bd380cc3c1 fix(frontend-python): test_modules with more reasonnable p_error 2024-08-08 14:21:32 +02:00
rudy
31726d83cf fix(frontend-python): disable coverage for optimal graphviz functionality 2024-08-08 13:49:58 +02:00
Umut
a3cc2f144a fix(frontend): use proper inputsets in key value database example 2024-08-06 12:15:50 +03:00