Arthur Meyre
286dda79b2
fix: correct pytest command in Makefile
2021-10-12 11:18:00 +02:00
aquint-zama
53efda71cf
chore: update doc theme to v0.4.1
2021-10-12 11:04:02 +02:00
Arthur Meyre
1dbc961dbb
fix: disable pip version warning during environment scan
...
- made some tests fail if pip is not the latest version
2021-10-12 10:54:12 +02:00
Arthur Meyre
fd40a8b951
chore: fix release workflow
...
- globs don't expand in quoted strings to the contrary of variables
2021-10-12 10:40:39 +02:00
Benoit Chevallier-Mames
ea7e117815
chore: let's try to check optional scopes
...
refs #583
2021-10-12 10:36:41 +02:00
Arthur Meyre
3c85d63603
chore: fix release workflow dependencies install
...
- graphviz is required for the whole project, we don't have dependencies
groups yet (waiting for poetry 1.2) so we need to install it
2021-10-11 19:06:51 +02:00
Arthur Meyre
8490f88227
chore: change coverage to have global infos
...
- have a small hack to dump pytest-cov report
2021-10-11 19:06:37 +02:00
Arthur Meyre
de3a9f9bb3
chore: update release workflow for auto GitHub release creation
...
- update version_utils.py script to get info about prerelease
- update release template
2021-10-11 16:13:10 +02:00
Benoit Chevallier-Mames
e8b8869ae8
feat: write %2 = Add(%0, %1) instead of %2 = Add(0, 1)
...
refs #601
2021-10-11 14:34:49 +02:00
Arthur Meyre
00916bcfdb
refactor: rename ArbitraryFunction to UnivariateFunction
...
- the naming has always been confusing and recent changes to the code make
this rename necessary for things to be clearer
2021-10-11 11:36:35 +02:00
Arthur Meyre
44016cc80c
feat: manage float fusing for tensors
...
- add op_attributes on ArbitraryFunction
- this works if all constants are smaller than the input tensor
- otherwise it requires more advanced code and a concatenate operator which
currently does not exist
2021-10-11 10:42:20 +02:00
Arthur Meyre
fb9cc79128
chore: make sure xfail test cases are strict
2021-10-11 10:42:20 +02:00
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