Commit Graph

2908 Commits

Author SHA1 Message Date
Quentin Bourgerie
caee0bae66 fix(compiler): Workaround fallback to Strategy::V0 when solving with Strategy::DAG_MONO
close https://github.com/zama-ai/concrete-internal/issues/297
2023-05-23 04:00:56 -04:00
Quentin Bourgerie
0bdb85b67d refactor(compiler/clientlib): Remove the building of the calling convention in the EncryptedArguments and test serialization in end_to_end_tests 2023-05-22 16:21:33 -04:00
rudy
b3ec478de9 fix(optimizer): optimize partition in reverse order
note: it was initially the case, but it was simplified and we didn't see shortcomings on tests.
2023-05-22 18:22:46 +02:00
Umut
fdfd4760f1 refactor(frontend-python): matmul and dot tests to be consistent with the rest of the tests 2023-05-18 09:15:27 +02:00
Umut
9e73a20d1e fix(frontend-python): accept full range of clear arguments 2023-05-18 09:15:27 +02:00
Umut
01850f68e6 test(frontend-python): increase the number of retries for encrypted matmul and encrypted dot tests 2023-05-18 09:15:27 +02:00
Agnes Leroy
b174f81687 fix(backend-gpu): avoid warp branching in the PBS 2023-05-17 15:01:37 +02:00
rudy
577e7847c6 fix(common): .gitmodules, relative url to stay on ssh or https 2023-05-17 14:15:16 +02:00
Quentin Bourgerie
5df44ad6f8 chore(compiler/build): Remove script to get BUILD_DIR 2023-05-17 13:57:37 +02:00
Umut
b6b6a642d8 test(frontend-python): add edge error tests for encrypted matmul and dot 2023-05-16 15:29:02 +02:00
Umut
fe314b140c fix(frontend-python): add dot to multiplication group during bit-width assignment 2023-05-16 15:29:02 +02:00
Umut
73c1aec7bd chore(frontend-python): fix pylint warnings 2023-05-16 15:29:02 +02:00
Umut
6d16d34b22 fix(frontend-python): add missing error messages on high bit-width encrypted dot and matmul 2023-05-16 15:29:02 +02:00
Umut
52cc0c108a fix(frontend-python): update outdated tests after bit-width optimizations 2023-05-16 15:29:02 +02:00
Umut
d6efc62e5f docs(frontend-python): add missing highlighted_result documentation in graph formatting 2023-05-16 13:16:08 +02:00
Umut
aaf1e60c8c fix(frontend-python): strip generated MLIRs 2023-05-16 13:16:08 +02:00
Andrei Stoian
817ee6b637 feat(compiler): add matmul eint eint op 2023-05-15 11:36:47 +02:00
Mehran Meidani
a5c679f0dc docs(frontend-python): add sha256 tutorial 2023-05-15 09:30:06 +02:00
Mayeul@Zama
74feda147c feat(optimizer): add brute-force optimizer
Co-authored-by: Samuel Tap <samuel.tap@zama.ai>
2023-05-12 11:12:47 +02:00
rudy
e9e097d941 fix(frontend-python): remove FromElementsOp textual workaround
speedup long mlir generation and simplify code
2023-05-12 10:05:19 +02:00
Quentin Bourgerie
d973f068f6 fix(compiler): Fixing extra conversion fixup when producer is not directly a TFHE operator 2023-05-12 09:47:35 +02:00
Quentin Bourgerie
0fa1b4ba1d refactor(compiler): Cleanup TFHECircuitSolutionParametrization and make it less verbose in verbose mode 2023-05-12 09:47:35 +02:00
Umut
ad1d5447e1 fix(frontend-python): link torch openmp to concrete openmp to avoid multiple openmp runtimes 2023-05-11 13:19:55 +02:00
Quentin Bourgerie
462a23b622 fix(compiler/fhe): Allows noop FHE.round operators and fold it 2023-05-11 12:52:38 +02:00
Umut
d99436e098 fix(frontend-python): broadcast tlu input on multi tlus 2023-05-11 11:31:36 +02:00
rudy
4c88557dee feat(frontend-python): prune_useless_nodes, faster and simpler 2023-05-10 18:11:12 +02:00
rudy
417e729c00 fix(frontend-python): explicit multi outputs circuit error 2023-05-10 16:00:54 +02:00
Umut
03c5667600 fix(frontend-python): raise proper error on encrypted multiplication on large bit-widths 2023-05-10 12:44:50 +02:00
Umut
0f726882c9 fix(frontend-python): support axis as a positional argument for np.expand_dims 2023-05-10 12:09:16 +02:00
Georgio Nicolas
5b07f44e74 chore(common): fix broken link to tfhe-rs 2023-05-10 09:56:48 +02:00
Quentin Bourgerie
eff442438b fix(compiler): Do not create dealloc on the bufferization pass as that place all dealloc at the end of the program 2023-05-10 09:18:47 +02:00
Umut
34893eca09 test(frontend-python): increase the number of retries for table lookup tests 2023-05-09 17:22:11 +02:00
Umut
da4fedaabf test(frontend-python): increase tolerance of p_error simulation tests 2023-05-09 17:22:11 +02:00
Pedro Alves
43a58e1820 refactor(backend-gpu): replace the amortized PBS by the new low latency PBS in boolean gates. 2023-05-05 18:15:06 +02:00
Pedro Alves
336709a011 refactor(backend-gpu): replace the amortized PBS by the new low latency PBS in circuit bootstrap 2023-05-05 18:15:06 +02:00
Pedro Alves
dda65a4ac6 refactor(backend-gpu): implement an alternative to the low latency pbs 2023-05-05 18:15:06 +02:00
Beka Barbakadze
d57cbfd705 fix(backend-cuda): modify bit extract to work for batch lwe ciphertexts 2023-05-05 13:01:07 +02:00
aPere3
0d2416fe80 chore(compiler): add code doc on encrypted mul 2023-05-05 12:43:41 +02:00
Ben
3862ddc672 chore(tools): update files for parameter curves 2023-05-05 12:39:13 +02:00
Agnes Leroy
c67c246e02 fix(ci): revert "fix(ci): fix concrete-cuda ci" and fix ci properly
Install nightly Rust instead of stable
Build concrete-cpu with nightly cargo
2023-05-04 15:28:08 +02:00
youben11
d7ecd66387 feat(backend): add concrete-cpu noise-model CAPI 2023-05-04 10:36:25 +01:00
youben11
f6c70ac18e chore(compiler): clean dialect licenses
set dialect licenses to apache 2.0 and keeps the rest following the main
license
2023-05-04 10:28:50 +01:00
Umut
e162c58dfb fix(frontend-python): correctly handle signedness during encrypted multiplication 2023-05-02 09:39:01 +02:00
Umut
eb3aca19ef fix(frontend-python): add missing error messages related to bit-width to some operations 2023-05-02 09:39:01 +02:00
Agnes Leroy
fcec68ea26 fix(ci): fix concrete-cuda ci 2023-04-28 16:51:45 -03:00
Agnes Leroy
4a0c9bdf7d chore(backend-gpu): fix formatting 2023-04-28 16:51:45 -03:00
Mayeul@Zama
ece5408887 fix(optimizer): fix clippy lint 2023-04-27 13:51:29 +02:00
Agnes Leroy
1e8a5b0d14 fix(backend-gpu): fix cmux tree for tau > 1 2023-04-25 10:29:07 +02:00
Pedro Alves
ec5c2c93cd chore(backend-gpu): modifies the benchmark for the low latency pbs kernel to use the correct number of inputs 2023-04-24 20:52:15 +02:00
Mayeul@Zama
3558ba5586 feat(backend-cpu): choose fastest aes implementation at runtime 2023-04-24 15:02:22 +02:00