Commit Graph

3113 Commits

Author SHA1 Message Date
Alexandre Péré
083ab1103f chore(compiler): moves EncryptMulToDoubleTLU includes 2023-09-11 10:29:59 +02:00
aPere3
b58821b1d1 chore(compiler): refactor e2e tlu tests to use dynamic lut. 2023-09-11 10:29:59 +02:00
rudy
229bbc2327 fix(compiler): do not optimize llvm twice 2023-09-08 15:26:24 +02:00
rudy
74c4a7eae5 fix(compiler): check minimal lwe size 2023-09-08 14:26:32 +02:00
rudy
dc0a3d8a2e feat(optimizer): levelled circuit, no power of two constraint 2023-09-08 14:26:32 +02:00
rudy
be77fb26b8 feat(compiler): bench, cifar-16 2023-09-08 10:03:42 +02:00
rudy
4907577b1c feat(compiler): bench, llm, big mat mul 2023-09-08 10:03:42 +02:00
rudy
a28a7bf397 feat(compiler): bench, activate levelled ops 2023-09-08 10:03:42 +02:00
Umut
f358a79018 docs(frontend-python): fix issues in comparisons tutorial 2023-09-07 10:17:59 +02:00
rudy
4244ae3b41 fix(compiler): explicit global_p_error disable high error warning 2023-09-07 09:20:37 +02:00
Umut
87d92ff08e fix(frontend-python): use correct path for mlir locations 2023-09-06 11:51:03 +02:00
Umut
fe6d15da34 fix(frontend-python): convert specified insecure key cache to str only if it's a path 2023-09-06 11:51:03 +02:00
Umut
26c3619b2e chore(frontend-python): add pytest-randomly to make random tests reproducible 2023-09-06 11:51:03 +02:00
Umut
c9611c0289 feat(frontend-python): make comparisons multi precision 2023-09-06 11:51:03 +02:00
Umut
afed78a46e fix(frontend-python): force kwargs for configuration options 2023-09-06 11:51:03 +02:00
Umut
1841836a39 fix(frontend-python): parse parameter selection strategy if it's string in the constructor 2023-09-06 11:51:03 +02:00
Umut
7be4dcecb9 refactor(frontend-python): move maximum tlu bit width constant to configuration 2023-09-06 11:51:03 +02:00
Umut
781f003292 chore(frontend-python): add missing trailing comma to trace method of tracer 2023-09-06 11:51:03 +02:00
Umut
b404b5c97c fix(frontend-python): add missing class properties to "assign bit widths" graph processor 2023-09-06 11:51:03 +02:00
Umut
cfb6dfb6ab fix(frontend-python): add missing type hints to "assign bit widths" graph processor constructor 2023-09-06 11:51:03 +02:00
youben11
41e1fdf1f8 refactor(frontend): change location format 2023-09-04 09:22:28 +01:00
youben11
530bacb2e3 refactor(compiler): clean statistic passes 2023-09-04 09:22:28 +01:00
youben11
4e8b9a199c feat(compiler): allow forcing encoding from python 2023-09-01 10:29:08 +01:00
youben11
cba3847c92 feat(compiler): setting v0 parameters from py bindings 2023-09-01 10:29:08 +01:00
youben11
9e8c44ed00 feat(compiler/python): expose memory usage in bindings 2023-08-29 15:47:25 +01:00
youben11
54089186ae refactor(compiler): reorganize passes and add memory usage pass 2023-08-29 15:47:25 +01:00
youben11
d88b2c87ac feat(compiler): compute memory usage per location 2023-08-29 15:47:25 +01:00
rudy
7782f4e967 fix(optimizer): woppbs, cost model, cmux tree size x2 2023-08-28 14:47:54 +02:00
Ayoub Benaissa
c4686c3631 fix(compiler): lower fhe.zero to either scalar or tensor variant based on encoding
When using crt encoding, some fhe.zero op results will be converted to tensors (crt encoded eint), so should be converted to tfhe.zero_tensor operations instead of tfhe.zero
2023-08-11 18:23:29 +01:00
Beka Barbakadze
471ebc080b feat(backend-gpu): implement integer multiplication, including test and benchmark 2023-08-11 12:54:18 -03:00
Umut
6277af57e6 fix(frontend-python): fix flanky dot conversion tests 2023-08-11 11:22:54 +02:00
Umut
73f10e3b8e feat(frontend-python): create hint extension 2023-08-11 11:22:54 +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