Commit Graph

84 Commits

Author SHA1 Message Date
youben11
bea973e895 feat(frontend): add options to enable verbose/debug mode of the compiler 2023-07-26 18:22:20 +01: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
e49c16873c refactor(frontend-python): use @fhe.compiler instead of importing it and doing @compiler 2023-07-26 11:08:15 +02:00
youben11
7e138bf278 feat(frontend): compile using in-memory module 2023-07-21 14:14:55 +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
Umut
e64ded61e4 feat(frontend-python): add fhe.zeros_like(x) and fhe.ones_like(x) extensions 2023-07-10 09:51:22 +02:00
Umut
8031f8b59e feat(frontend-python): allow single element tuple inputsets for single argument functions 2023-07-07 14:34:57 +02:00
Umut
9ef1229c51 fix(frontend-python): mimic summing like numpy exactly 2023-07-07 14:34:57 +02:00
Umut
1215a57752 fix(frontend-python): mimic reshaping like numpy exactly 2023-07-07 14:34:57 +02:00
Umut
ee5fc138ab feat(frontend-python): lazily enable simulation and execution when needed 2023-06-30 16:08:28 +02:00
youben11
094583e32b test(frontend): disable JIT in helper test config 2023-06-27 14:21:42 +01:00
youben11
9f54184375 feat(frontend): simulate execution using the compiler 2023-06-27 14:21:42 +01:00
Umut
c98b8f0241 fix(frontend-python): manually abort on ctrl+c 2023-06-27 15:11:21 +02:00
Umut
a13ab5f314 fix(frontend-python): move atexit register for printing ctrl+c message to keyboard interrupt handler 2023-06-26 12:49:07 +02:00
Umut
45e69798aa feat(frontend-python): support ctrl+c during compilation and key generation 2023-06-26 12:37:52 +02:00
Umut
87d460e9ec feat(frontend-python): support ctrl+c during fhe execution 2023-06-26 11:09:38 +02:00
Umut
21474cc75d fix(frontend-python): resolve pcc issues 2023-06-23 11:17:10 +02:00
Umut
a3ae3ed86c fix(frontend-python): raise error when dataflow is enabled in macOS instead of crashing 2023-06-23 11:17:10 +02:00
Umut
f2929df39d fix(frontend-python): support concatenating signed and unsigned tensors together 2023-06-20 14:57:23 +02:00
Umut
3456978c24 feat(frontend-python): add support for np.copy 2023-06-15 14:40:46 +02:00
Umut
8b33f13b76 fix(frontend-python): use correct shift amount in optimized bitwise operations 2023-06-13 15:30:45 +02:00
Umut
0845921f3a refactor(compiler-bindings): rename create to new in python bindings 2023-06-09 17:41:41 +02:00
Umut
b0f83ebe97 refactor(frontend-python): rename Data to Value 2023-06-09 17:41:41 +02:00
Umut
8a3e24d204 refactor(frontend-python): rename Value to ValueDescription 2023-06-09 17:41:41 +02:00
Umut
c8cc8a811d feat(frontend-python): separate arguments 2023-06-09 13:01:27 +02:00
Umut
71d511756a chore(frontend-python): fix local test failures on ANSI terminals 2023-06-09 13:01:27 +02:00
rudy
07d97f266d feat(frontend-python): display progress during fhe execution 2023-05-26 15:56:23 +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
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
rudy
e9e097d941 fix(frontend-python): remove FromElementsOp textual workaround
speedup long mlir generation and simplify code
2023-05-12 10:05:19 +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
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
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