Commit Graph

375 Commits

Author SHA1 Message Date
Arthur Meyre
e451afc283 chore: add semver and semantic-release dev dependencies
- add __init__.py in tests to fix new pylint error
2021-10-07 16:49:00 +02:00
Benoit Chevallier-Mames
2da3895f1a feat: add more bivariate operations
which are supported if one of the operands is a constant
refs #126
2021-10-07 16:14:07 +02:00
Arthur Meyre
ab1f0f3c4a chore: update env-docker tagging with compiler and concretefhe sha1
- also save the concretefhe sha1 in the container labels
2021-10-07 15:42:27 +02:00
Umut
5fce0d2920 feat(compilation): implement MLIR conversion of constant arrays 2021-10-07 16:17:48 +03:00
Arthur Meyre
674b86cf62 chore: do not fail on PR coverage comment
- had the case for whatever reason. Let's harden our workflow some more
2021-10-07 15:09:03 +02:00
Arthur Meyre
0317dd49ea feat: manage sanitization properly for numpy functions
- allows to use dot with constant inputs
2021-10-07 13:54:58 +02:00
Arthur Meyre
4a77d0515a feat(tracing): add test for extra args passed to ufuncs
- add comment to explain why sanitizing all args is safe for ufuncs
2021-10-07 12:01:44 +02:00
Arthur Meyre
05e1227269 chore: update env docker to have runtime lib path in LD_PRELOAD
- update the rest of the dockers, script and CI to stop setting LD_PRELOAD
2021-10-07 09:58:23 +02:00
Benoit Chevallier-Mames
56e0ed4a11 feat: manage binary op where one input is constant
feat #126
2021-10-06 17:53:52 +02:00
Umut
83ea485fe1 feat(tracing): enable implicit broadcasting for binary operations 2021-10-06 10:33:12 +03:00
Umut
ceb23f93d5 feat(tracing): implement and test tracing of basic operations for tensors 2021-10-05 15:25:53 +03:00
Umut
61458e89b4 fix(debugging): improve printing of constants in the operation graph 2021-10-05 15:25:53 +03:00
Arthur Meyre
1fc9a36ab6 chore: upgrade nbmake to version without pathlib
- it breaks poetry installs with a deprecated dependency
- opened PR to solve: https://github.com/treebeardtech/nbmake/pull/48
- upgrade dependencies at the same time
- re-order installation steps for make setup_env to first install pip
2021-10-05 13:34:58 +02:00
Umut
43743ffdbc feat(benchmarks): add basic tensor operation benchmarks 2021-10-05 12:14:12 +03:00
Umut
7e3b0251fc fix(script): use shutil.rmtree instead of os.unlink to remove measurement scripts folder 2021-10-05 12:14:12 +03:00
Umut
2515e9bf8a feat(script): replace '&' with 'and' within benchmark target names 2021-10-05 12:14:12 +03:00
Umut
b93e916b1c docs(user): create printing and drawing howto 2021-10-04 12:23:37 +03:00
Umut
003bad581a feat(fhe_circuit): create FHECircuit class to combine operation graph and compiler engine 2021-10-04 12:23:37 +03:00
Arthur Meyre
6fc6991839 chore: add __version__ and automated tools to update it
- also add a checker to verify that versions are in sync
2021-10-04 09:40:10 +02:00
Umut
edcbc0cffd fix: select correct parameters for dequantization after evaluation in logistic regression benchmark 2021-09-30 12:52:48 +03:00
Arthur Meyre
a9d44f4758 feat(float_fusing): restrict to scalars before supporting tensors 2021-09-30 10:57:00 +02:00
Benoit Chevallier-Mames
42d5b66b69 fix: better test. 2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
3d6baf4101 fix: fix the type 2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
7ea39fb77d fix: clear comments 2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
e67e19ab4f fix: comments. 2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
2b7fe094d2 feat: adding management of numpy.sign and numpy.signbit
refs #126
2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
406043575a feat: adding management of numpy.reciprocal
refs #126
2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
c52032c285 feat: adding management of numpy.positive
refs #126
2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
2638ba59ac feat: adding management of numpy.negative
refs #126
2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
4adb0eb18e feat: adding management of numpy.isfinite, numpy.isinf, numpy.isnan
refs #126
2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
ab7cf24285 fix: pylint. 2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
ddf08eb273 feat: adding management of numpy.square
refs #126
2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
2351730cee feat: adding management of numpy.absolute
refs #126
2021-09-30 10:47:27 +02:00
Benoit Chevallier-Mames
0a758ed672 test: change a bit the way we test
to prepare modifications for more ufunc
refs #126
2021-09-30 10:47:27 +02:00
Umut
bd95714c23 feat: add more metrics to linear regression benchmark 2021-09-29 17:56:19 +03:00
Umut
c47dac833b refactor: replace scalars with () shaped tensors, disable python list support in inputset 2021-09-29 17:55:58 +03:00
Arthur Meyre
f97682bd23 fix(build): convert string to boolean to avoid bug in workflow 2021-09-29 15:02:52 +02:00
Arthur Meyre
10be75f094 chore(build): manage latest tag push for releases
- no push for release candidates
- push as latest if version is the highest
2021-09-29 14:41:37 +02:00
Arthur Meyre
456df69f0b fix(build): change commit conformance check
- action fails if the even is not of a supported type, only check for PR
2021-09-29 14:04:56 +02:00
Umut
4ef0a13248 refactor: move measurement scripts to their own directory to avoid pcc errors 2021-09-29 11:51:22 +03:00
Umut
bc80f0de10 refactor: fix new pylint warnings 2021-09-29 11:51:08 +03:00
Umut
36d732b0ae refactor: rename 'data_type' field of 'BaseValue' to 'dtype' 2021-09-29 11:51:08 +03:00
Umut
77690fed84 fix: generalize error message for unsupported functions 2021-09-29 11:51:08 +03:00
Umut
c0fa302708 fix: remove double assignment on mlir converter 2021-09-29 11:51:08 +03:00
Umut
e6bdd52f4d fix: remove additional newline on exported graph descriptions 2021-09-29 11:51:08 +03:00
Arthur Meyre
13ccf7a046 chore(build): add commit format checks
- refactor the way conformance is done
- run all conformance checks and aggregate the results in a single step
2021-09-28 14:15:25 +02:00
Benoit Chevallier-Mames
95c6bcc6a3 test: add x * y in benchmark, does not compile
refs #471
2021-09-28 10:24:28 +02:00
Benoit Chevallier-Mames
b3ffb45a1d test: add x * 7 in benchmark, compiles
refs #471
2021-09-28 10:24:28 +02:00
Benoit Chevallier-Mames
312a30a4b5 test: add 124 - x in benchmark, compiles
refs #471
2021-09-28 10:24:28 +02:00
Benoit Chevallier-Mames
b94c0e7959 test: add x - y in benchmark, doesn't compile
refs #471
2021-09-28 10:24:28 +02:00