Commit Graph

3428 Commits

Author SHA1 Message Date
Ben
e745e31d76 typo 2021-08-11 11:38:56 +01:00
Ben
c113551dbb add ct modulus 2021-08-11 11:26:03 +01:00
Arthur Meyre
e296e9667e chore(tools): use /bin/bash as shell for the Makefile
- tested some commands with an environment which had /bin/sh as default
shell, some did not work, this fixes it
2021-08-11 10:40:00 +02:00
Umut
fe9ab2d21d feat(compilation): create compilation artifacts and provide a way to export them in a textual format 2021-08-11 10:26:54 +03:00
Umut
56556a85e9 feat(representation): create lookup table wrapper to be used during tracing direct table lookups 2021-08-10 12:42:38 +03:00
Umut
c63ad8ac92 fix(debugging): assign a color to ArbitraryFunction nodes 2021-08-10 12:42:38 +03:00
Ben
86ea4d1053 getting there 2021-08-10 10:16:39 +01:00
Ben
90d2550c65 something like this 2021-08-10 09:46:42 +01:00
Ben
f72baa4b0c add data for cppgen 2021-08-10 09:36:01 +01:00
Ben
7e7e8fc07a testing 2021-08-10 09:31:39 +01:00
Ben
15e79a0166 start C++ filegen 2021-08-10 09:17:21 +01:00
Arthur Meyre
c51c4bd17a feat(tracing-astype): add astype method on NPTracer 2021-08-10 10:13:00 +02:00
Arthur Meyre
9ef2154d51 dev(numpy-dtype): add a function to translate numpy types to frontend types 2021-08-10 09:07:30 +02:00
Arthur Meyre
3f53c3320e chore(req): add numpy dependency
- also add numpy typing plugin to mypy
2021-08-10 09:07:30 +02:00
Ben
0c46fcd54e add zama estimator (param-curves branch) 2021-08-09 13:21:39 +01:00
Ben
d13391a401 organise 2021-08-09 13:03:11 +01:00
Ben
89bc36e356 rm old results 2021-08-09 13:02:32 +01:00
Ben
73169e7f03 remove files which are not needed 2021-08-09 13:01:04 +01:00
Ben
cbcc3cc8c9 update 2021-08-09 12:57:26 +01:00
Arthur Meyre
371cdd5e66 fix(ir): make is_equivalent_to abstract
- this allows to make sure each node has a proper implementation
- move op_args and op_kwargs in ArbitraryFunction only
- update BaseTracer accordingly
2021-08-09 13:42:55 +02:00
Benoit Chevallier-Mames
d09f1b90a6 feat: let's be a bit more flexible with pylint
closes #97
2021-08-09 13:32:11 +02:00
Ben
279e3211cf push the data used for the v0 curves 2021-08-09 11:39:40 +01:00
Ben
2eb27eb261 keep local copy on repo 2021-08-09 09:33:29 +01:00
Arthur Meyre
5d9259c000 dev(ir): add the ArbitraryFunction ir node 2021-08-06 18:35:25 +02:00
Arthur Meyre
789a976661 dev(floats): add the possibility to have constant floats in a program
- update ConstantInput to manage floats
- update OPGraph update_values_with_bounds to manage floats
- update test code to manage cases where output could be a float
- add test cases with float inputs
2021-08-06 17:38:13 +02:00
Benoit Chevallier-Mames
6491e47178 feat: adding a compilation api
also, showing data_types in get_printable_graph
refs #86, #87
2021-08-06 17:04:30 +02:00
Benoit Chevallier-Mames
055298daf8 doc: explain what are datasets in eval_op_graph_bounds_on_dataset 2021-08-06 17:04:30 +02:00
Benoit Chevallier-Mames
36e30e81b4 fix: check datasets
closes #91
2021-08-06 17:04:30 +02:00
Benoit Chevallier-Mames
ee832079ba fix: remove the use of map in the code base
closes #90
2021-08-06 16:51:19 +02:00
Umut
b79fd775d0 doc(readme): fix a grammatical mistake 2021-08-06 10:54:32 +03:00
Umut
669cf48ea4 doc(README.md): fix double spacing error 2021-08-06 10:54:32 +03:00
Umut
4b1990e731 doc(getting-started-guide): add getting started guide to sphinx toc and readme.md, fix branch convention, improve wording 2021-08-06 10:54:32 +03:00
Umut
ebce33327d doc(getting-started-guide): rephrase some sentences, fix typos, add leaving the environment section 2021-08-06 10:54:32 +03:00
Umut
43ba1c5296 doc(getting-started-guide): add link to conventional commits documentation 2021-08-06 10:54:32 +03:00
Umut
e0231d9775 doc(getting-started-guide): create terminology section, add section descriptions, improve some commands, fix typos 2021-08-06 10:54:32 +03:00
Umut
7fa67e1e4a doc: create getting started guide 2021-08-06 10:54:32 +03:00
Arthur Meyre
c9c7acf616 dev(floats): update function to mix types to support floats 2021-08-05 18:15:45 +02:00
Arthur Meyre
0c275c5f43 dev(floats): add Float class to represent a floating point value 2021-08-05 15:49:01 +02:00
Ayoub Benaissa
7a2511b3d4 feat(compiler): LowLFHE dialect (#77)
* feat(compiler): low level fhe dialect

* feat(compiler): using generated printer/parser in LowLFHE

* feat(compiler): new types and ops for LowLFHE

* tests(compiler): LowLFHE types and ops

* feat(compiler): fill ops

* cleanup

* summary + description

* tests(compiler): use new CLI args

* formatting
2021-08-05 14:32:46 +01:00
Quentin Bourgerie
6e86082807 test(compiler): Add testing for run-jit (#63) 2021-08-05 13:43:08 +01:00
Quentin Bourgerie
b4e57984b1 feat(compiler): Add passes to lower mlir to mlir llvm ir and run jit and emit llvm code (#63) 2021-08-05 13:43:08 +01:00
youben11
c58abe6565 chore(ci): add python testing 2021-08-05 13:49:29 +02:00
youben11
0aa9f93e20 tests(python): compiler bindings. round_trip func 2021-08-05 13:49:29 +02:00
Benoit Chevallier-Mames
1771bc6e52 fix: fix #80
closes #80
2021-08-05 11:30:45 +02:00
Benoit Chevallier-Mames
1ee8195af0 feat: supporting several outputs in print and draw of graphs
refs #76
2021-08-05 10:59:24 +02:00
Arthur Meyre
078c8dc8f1 fix: conform to more reasonable style to check type of object (#78) 2021-08-04 16:23:26 +01:00
Benoit Chevallier-Mames
6a80b065fc test: testing eval_op_graph_bounds_on_dataset with multiple outputs
refs #74
2021-08-04 16:22:46 +02:00
youben11
30d33ee45f feat(python): compiler api with round_trip func 2021-08-04 14:14:37 +02:00
Quentin Bourgerie
4e6579e019 feat/refactor(compiler): Add --passes options to activate only a subset of passes (#57) 2021-08-04 14:03:05 +02:00
Quentin Bourgerie
1605551f1a feat(compiler): HLFHEToMidLFHE pass (#57) 2021-08-04 14:03:05 +02:00