Commit Graph

244 Commits

Author SHA1 Message Date
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
66fd9e09b2 fix(frontend-python): bit extract avoid extra reinterpret_precision 2024-08-02 10:31:19 +02:00
rudy
dd7c05f585 fix(frontend-python): min coverage to 98.9 2024-08-01 17:54:53 +02:00
rudy
16306112ef feat(frontend-python): Makefile working without compiler 2024-08-01 17:05:30 +02:00
Benoit Chevallier-Mames
69ee148d97 fix(frontend): fixing an issue in the string generation
closes #819
2024-07-30 16:41:03 +02:00
Benoit Chevallier-Mames
b98ad39478 docs(frontend): moving tutorials in the same directory 2024-07-30 12:08:36 +02:00
rudy
0379f9a656 fix(frontend-python): fhe.function use staticmethod, disable linter for levenshtein example 2024-07-29 09:45:52 +02:00
Benoit Chevallier-Mames
6e0441ac6d fix(ci): fixing some recent mypy, format and ruff issues 2024-07-23 10:27:28 +02:00
Benoit Chevallier-Mames
aadc3a6929 docs(frontend): adding a levelled case for XOR distance between one encrypted and one clear vectors 2024-07-17 11:40:45 +02:00
Benoit Chevallier-Mames
92ee970a28 docs(frontend): adding a use-case for Levenshtein distance
closes #https://github.com/zama-ai/concrete-internal/issues/750
2024-07-17 11:36:41 +02:00
Umut
4268251152 refactor(frontend): improve sha1 example 2024-07-17 11:26:53 +02:00
Umut
462e3e6051 feat(frontend): benchmark infrastructure 2024-07-12 11:51:41 +02:00
rudy
ec3f05e1a5 chore(frontend-python): Makefile, activation, launching scripts from anywhere 2024-07-04 13:44:45 +02:00
rudy
56ed43ff84 fix(frontend-python): bad signed input tlu padding with extra bitwidth 2024-06-27 14:32:02 +02:00
Umut
2c9455a2e6 feat(frontend-python): fix key value database example 2024-06-25 15:46:25 +03:00
Alexandre Péré
2700f60f0a fix(ci): ensures the numpy version is inferior to 2.0 2024-06-18 13:57:35 +02:00
Alexandre Péré
13253d18f4 fix(frontend): add missing composition serialization 2024-06-18 10:42:00 +02:00
Umut
5f2afc4c24 feat(frontend-python): simulate encrypt run decrypt option 2024-06-14 18:03:19 +03:00
Umut
81b04a3562 fix(compiler): use maxpool strides properly when lowering to linalg 2024-06-11 18:32:02 +03:00
Alexandre Péré
5185940807 feat(frontend): add support for wires to concrete-python 2024-06-11 13:23:03 +02:00
Benoit Chevallier-Mames
bffa98f320 fix(frontend): fixing other pylint issues 2024-06-06 15:22:45 +03:00
Benoit Chevallier-Mames
16a0c6db99 fix(frontend): fixing pylint for SHA1 example
closes #https://github.com/zama-ai/concrete-internal/issues/727
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
Benoit Chevallier-Mames
226ee27f64 docs(frontend): adding a SHA1 tutorial with modules 2024-05-31 16:41:24 +02:00
Alexandre Péré
01824c65a9 chore(frontends): add accessors to client and server for modules 2024-05-30 09:12:28 +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
youben11
a3c855439a feat(frontend): add compatibility with tfhers integer
- add new tfhers types
- add conversion functions between concrete and tfhers types
- support conversion function in the compilation pipeline
2024-05-28 14:44:20 +01:00
youben11
498d6fe326 fix(frontend): update in place to be able to support other int types
this comes from the need of supporting tfhers integers, which would get
erased by this recreation of the dtype, so instead we would update the
dtype inplace
2024-05-28 14:44:20 +01:00
youben11
710d321adc fix(frontend): manage the case of bound measurement using 1 elem 2024-05-28 14:44:20 +01:00
Umut
3f1dc330ad fix(frontend-python): change input bit-width only when tlu is optimized based on original bit-width during table generation 2024-05-27 14:48:55 +02:00
youben11
6637b659db feat(compiler/frontend): add flag to enable/disable overflow detection
in simulation
2024-05-24 07:52:03 +01:00
aquint-zama
3740d38481 chore(frontend-python): update black dev dependency 2024-05-22 17:13:54 +02:00
rudy
ace7f2191c fix(frontend-python): optimize extract bits
lsb and tlu calls were not minimized
2024-05-22 09:03:11 +02:00
youben11
06101e9678 docs(frontend): update installation instructions
make a note about the new Zama PyPI
2024-05-17 09:32:54 +01:00
Umut
8e4d237364 feat(compiler): fancy assignment 2024-05-15 11:21:46 +03:00
Umut
0b161c436f feat(compiler): fancy indexing operation 2024-05-15 11:21:46 +03:00
rudy
b0301483ff chore(frontend-python): requires 99% coverage 2024-05-03 14:09:55 +02:00
Umut
3d338af27f feat(frontend-python): memory usage per location 2024-04-29 11:12:48 +02:00
Luis Montero
5c5f573e5b fix(frontend): remove ResourceWarning from using TemporaryDirectory
We currently have something like `var = TemporaryDirectory`
without explicitly calling the `close` method on `var` thus
raising a `ResourceWarning` when the resource is implicitely cleaned-up.

This could be avoided by using `mkdtemp` instead.
2024-04-25 10:02:47 +03:00
Benoit Chevallier-Mames
46f92ec6ec chore(frontend): clarify XOR-distance example. 2024-04-18 19:14:38 +02:00
Benoit Chevallier-Mames
705fd02d97 docs(compiler): fix a typo 2024-04-18 14:51:33 +02:00
Umut
3d0727b845 feat(frontend-python): add option to configure tlu on original bit width 2024-04-16 16:45:05 +03:00
Alexandre Péré
34de883dd9 chore(frontends): add tests to increase coverage of fhe modules 2024-04-16 10:35:06 +02:00
Benoit Chevallier-Mames
6de9a388d2 docs(compiler): apply a fix by hand since bad link 2024-04-15 09:37:48 +02:00
Miles
5d68424531 fix typos 2024-04-11 14:50:16 +02:00
Alexandre Péré
14cebfc2a4 fix(frontends): add default configuration for fhe modules 2024-04-04 10:45:54 +02:00
rudy
aa3b4fa01f fix(frontend-python): bits with direct circuit, single bit is precision 1 2024-04-03 17:36:55 +02:00