Commit Graph

225 Commits

Author SHA1 Message Date
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
rudy
9717ec583e fix(frontend-python): round_bit_pattern, prevent exactness argument misuse 2024-04-02 13:51:55 +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
Umut
79b72dbe4a feat(frontend-python): relax bit-width assignment of clear values 2024-03-21 13:17:14 +03:00
Umut
2471b374a2 test(frontend-python): make sure tlu fusing is enabled by default 2024-03-21 13:17:14 +03:00
Alexandre Péré
170002ff20 feat(frontend-python): add support for multi-circuits 2024-03-19 14:13:18 +01:00
Umut
d13b283f98 feat(frontend-python): disable and print tlu fusing 2024-03-19 09:39:06 +01:00
Umut
7eefc6c053 feat(frontend-python): tlu on original bit width 2024-03-15 12:39:57 +03:00
Bourgerie Quentin
9dcf1c4b6f feat(frontend-python): Expose compress_input_ciphertexts as a compilation options and tests 2024-03-12 17:58:40 +01:00
Yuxi Zhao
a0195cf315 docs(frontend): update new structure and landing page 2024-03-11 18:55:50 +01:00
Bourgerie Quentin
ce74903c1d fix(frontends): Fixing tests which rely on cmdline not on configuration 2024-03-11 16:51:05 +01:00
Bourgerie Quentin
23a521e5d1 chore(ci): Test default configuration on python CI tests 2024-03-11 16:51:05 +01:00
Umut
aad659f160 feat(frontend-python): random inputset generator 2024-03-11 09:05:27 +01:00
Andi Drebes
32199292bb test(frontend-python): Re-enable min / max tests for multi-parameter optimization 2024-03-07 15:42:26 +01:00
rudy
d3e70c483f chore(frontend-python): use compression for tests to solve the missing space issue 2024-03-06 14:43:40 +01:00
Umut
760e5ef02a feat(frontend-python): support additional pre and post processors instead of just post processors 2024-03-06 12:27:08 +01:00
Umut
bf548b0738 feat(frontend-python): expose integer dtype from the main module 2024-03-06 12:27:08 +01:00
Benoit Chevallier-Mames
68cada3963 docs(frontend): add a tutorial about XOR distance 2024-03-04 16:14:14 +01:00
rudy
05bd8cc5f2 feat(frontend-python): approximate mode for round_bit_pattern 2024-03-01 16:04:11 +01:00