Commit Graph

3083 Commits

Author SHA1 Message Date
aquint-zama
7aff9af8f4 docs(frontend): fix broken links 2024-06-22 11:42:47 +02:00
aquint-zama
e441839dd9 docs(frontend): fix gitbook link error 2024-06-21 11:53:55 +02:00
Benoit Chevallier-Mames
3a884f5c9b test(frontend): add a --patch option to ML tests
to test the removal of workarounds, or the use of new Concrete features

closes #442
v2.2.0
2023-08-08 16:50:37 +02:00
Pedro Alves
37b3782ff5 chore(backend-gpu): add missing include in utils.cpp 2023-08-08 09:02:44 -03:00
Pedro Alves
3f46d946b6 chore(backend-gpu): changes the mutability of some parameters in the rust api 2023-08-08 09:02:44 -03:00
Bourgerie Quentin
245836b8ba fix(compiler): Fix conv2d with bias equals to zero in multi parameters
The zero bias was folded and lead to empty loops, i.e. loops with copy only and make the TFHE parametrization fail
2023-08-08 11:01:29 +02:00
Umut
1c24d8f6aa docs(frontend-python): update for multi precision and multi parameters by default 2023-08-08 11:01:29 +02:00
Umut
f2880d6026 feat(frontend-python): enable multi precision and multi parameters by default 2023-08-08 11:01:29 +02:00
Roman Bredehoft
fa66f99c84 chore(frontend): update cml test script to ignore all flaky tests 2023-08-07 11:26:04 +02:00
Umut
4475d6cf57 chore(compiler): install dependencies when testing cml 2023-08-04 13:17:14 +02:00
Umut
46f3de63cc refactor(frontend-python): re-write bit width assignment 2023-08-04 13:17:14 +02:00
Umut
9a5b08938e feat(compiler): support multi precision encrypted multiplications 2023-08-04 13:17:14 +02:00
Umut
cce0cd882f feat(frontend-python): implement len for tracers
This makes fhe.array extension work with tensors as well!
2023-08-03 10:10:29 +02:00
Bourgerie Quentin
894ed9ec9f test(frontend-python): Remove the high p_error in graph evaluation tests 2023-08-02 15:07:21 +02:00
rudy
2c348f6a3d chore(optimizer): update for nightly rust 2023-08-02 14:14:58 +02:00
youben11
62ad2eb75f fix(ci): install poetry before running ML test script 2023-08-02 11:27:49 +01:00
Bourgerie Quentin
8e8b2dd8ed fix(compiler/tests): Fixing the generation of dot/matmul signed tests v2.1.0 2023-08-01 19:03:57 +02:00
Bourgerie Quentin
bd4540102c fix(compiler/multi-parameters): Fixing encrypted dot and encrypted matmul with multi-parameters 2023-08-01 19:03:57 +02:00
Bourgerie Quentin
ea65637796 fix(compiler/tests): Fixing some skipped tests laucnhed with gtest parallel
The gtest-parallel tools first list test names then launch in parallel the end_to_end_test tool with the gtest_filter=<test_name>,
so if in the test_name a - appears it skip it due the gtest filtering that treat the string after - as an exlude pattern
2023-08-01 19:03:57 +02:00
Umut
ade83d5335 feat(compiler): add more detailed statistics 2023-08-01 18:40:08 +02:00
Umut
dae31f0f26 chore(frontend-python): fix pylint issues 2023-08-01 18:40:08 +02:00
youben11
4d9101b1e2 feat(ci): add workflow to run ML tests with latest CP 2023-08-01 16:12:16 +01:00
youben11
c3e4cf66da feat(ci): add option to support install CP from wheel in ML test script 2023-08-01 16:12:16 +01:00
rudy
8ff9158424 fix(optimizer): multi-parameters, levelled only circuit 2023-08-01 17:01:30 +02:00
Umut
976ce6e481 docs(frontend-python): update simulation related configuration docs 2023-08-01 10:13:06 +02:00
youben11
f6599a91c6 refactor(compiler): add func to populate RTOps type conversion 2023-07-31 16:57:53 +01:00
Andi Drebes
66d9c6eee4 fix(compiler): Do not print type mnenomic in custom printers for RT types
Printing the mnenomic in the custom printers for RT types leads to a
repetition, since the mnenomic is already printed by the
infrastructure invoking the custom printer (e.g., instead of
RT.future<...>, the printed type is `RT.futurefuture<...>`).

This commit removes the mnenomics from the custom printers and thus
causes them to emit the correct textual representation of types.
2023-07-31 14:09:33 +02:00
rudy
019d10e0bf fix(compiler): main, detection for v0 + global p_error 2023-07-31 12:24:57 +02:00
Benoit Chevallier-Mames
fa55dd065a test(frontend): add a script to launch tests with CML
- clone CML
- replace CP by a chosen one (either a X.Y.Z or the last weekly or the CP which corresponds to the current Concrete branch)
- install
- launch their test

refs #430
2023-07-27 16:49:32 +02:00
youben11
bea973e895 feat(frontend): add options to enable verbose/debug mode of the compiler 2023-07-26 18:22:20 +01:00
youben11
761bc5f62d feat(compiler/python): support enabling verbose/debug 2023-07-26 18:22:20 +01:00
Pedro Alves
b91a736cd6 fix(backend-gpu): minor fixes to the rust API 2023-07-26 10:43:43 -03:00
Umut
79b38a72ec feat(compiler): provide circuit statistics 2023-07-26 11:08:15 +02:00
Umut
5936ff5dbe feat(frontend-python): extract statistics from simulation backend if it's available 2023-07-26 11:08:15 +02:00
Umut
d1b004c87d fix(compiler): move simulation before batching 2023-07-26 11:08:15 +02:00
Umut
e49c16873c refactor(frontend-python): use @fhe.compiler instead of importing it and doing @compiler 2023-07-26 11:08:15 +02:00
rudy
885d25424d fix(compiler): revert Workaround fallback to Strategy::V0 when solving with Strategy::DAG_MONO
This reverts commit caee0bae66.
2023-07-24 18:07:59 +02:00
youben11
545bda979d fix(compiler): use dyn sized tensors in CAPI func definitions 2023-07-21 16:53:32 +01:00
youben11
7e138bf278 feat(frontend): compile using in-memory module 2023-07-21 14:14:55 +01:00
youben11
022b1879a1 feat(compiler): support compiling in-memory module 2023-07-21 14:14:55 +01:00
Ayoub Benaissa
67ca4e10b9 fix(compiler): add conversion of tensor.from_elements in simulation 2023-07-21 09:23:31 +01:00
Antoniu Pop
5082cea110 fix(compiler): disable dataflow parallelization when the optimiser strategy is dag-multi. Currently the two don't work well together because dataflow task outlining obfuscates the code early on in the compilation pipeline. 2023-07-20 14:39:28 +01:00
Umut
4aa4f82f97 feat(frontend-python): add location to MLIR 2023-07-20 07:28:24 +01:00
Umut
9c4dc343f0 feat(frontend-python): add version to fhe module 2023-07-19 11:50:42 +02:00
aquint-zama
b9a747cceb chore(common): update UPGRADING notes 2023-07-17 10:39:00 +02:00
aquint-zama
900d25c952 docs(compiler): fix dialect links 2023-07-13 14:53:25 +02:00
aquint-zama
b0b74ee81f chore(compiler): doc edit 2023-07-13 14:33:54 +02:00
aquint-zama
654f0de81f chore(common): rearrange docs structure 2023-07-13 14:33:54 +02:00
aquint-zama
502fcfdbe6 chore(compiler): fix typos 2023-07-13 14:33:54 +02:00
Ben
96ae2df13e docs(common): documentation edits 2023-07-13 14:33:54 +02:00