Commit Graph

386 Commits

Author SHA1 Message Date
Umut
2cfb32d2c1 feat(benchmarks): add source code information to benchmarks 2021-10-11 10:07:51 +03:00
Umut
a7f00ec111 fix(benchmarks): replace properties field of the machine information to specs 2021-10-11 10:07:51 +03:00
Arthur Meyre
92ca061da9 chore: fix release workflow
- new tool to evaluate latest tag depends on some python packages
- for now install the whole environment again
- when poetry 1.2 is available use groups and only install required deps
2021-10-08 15:59:51 +02:00
Benoit Chevallier-Mames
e8114cc470 feat: add management of boolean binary operators with a const scalar
refs #126
refs #529
2021-10-08 15:31:04 +02:00
Umut
f443b41cef docs(benchmarks): explain the module trick used in the measurement script with comments 2021-10-08 14:23:54 +03:00
Arthur Meyre
f2c08571a3 chore: add changelog generation and artifact upload for release 2021-10-07 18:35:09 +02:00
Umut
57b3be2f6d fix(benchmarks): treat warnings as errors in benchmarks 2021-10-07 18:40:33 +03:00
Umut
6affa54473 feat(configuration): add option to treat warnings as errors 2021-10-07 18:40:33 +03:00
Arthur Meyre
1cc7502251 chore: use Config for docker labels
- some configs are duplicated but old ones may not be populated
2021-10-07 17:02:45 +02:00
Arthur Meyre
a595139448 chore: add changelog_helper to generate changelogs using semantic-release
- freeze semantic-release to specific version to keep internal APIs stable
- add gitpyhton for changelog_helper
- add a target to very easily create a changelog
2021-10-07 16:49:00 +02:00
Arthur Meyre
b363db6700 chore(tools): centralize all versions related utils in a single script
- update version to be semver compliant with the new tools
- update make targets and CI workflow to use the new version tool
- update release issue template
2021-10-07 16:49:00 +02:00
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