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
github-actions
1c030ac10b
chore: update LLVM to f1e9ecea4
2021-10-11 01:45:15 +00:00
github-actions
e682394a6d
chore: update LLVM to 02ac5e5cf
2021-10-09 11:44:46 +01:00
youben11
952968567b
ci: update msg of LLVM auto-update commit
2021-10-09 11:44:46 +01:00
youben11
b30e09546b
test: use 6bits only for LUT tests
2021-10-08 16:37:43 +01: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
youben11
5a308ddc75
fix(python): add missing import
...
Also added a test to catch future similar failure. Mainly, we didn't
have tests that imported and used the HLFHE dialect from the python
bindings
2021-10-08 14:21:45 +01:00
github-actions
86c127d198
Commit from GitHub Actions (LLVM Compatibility)
2021-10-08 13:13:28 +00:00
youben11
50236f4f18
ci: auto-update llvm 1/week if no breaking changes
2021-10-08 12:28:10 +01:00
Umut
f443b41cef
docs(benchmarks): explain the module trick used in the measurement script with comments
2021-10-08 14:23:54 +03:00
youben11
ebdc95f827
chore: update llvm and fix API breaks
2021-10-08 12:11:34 +01: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
youben11
34f114cda9
ci: fix compatibility checks
2021-10-07 16:33:00 +01: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
youben11
8535ab797e
ci: compatibility check workflows concretelib/llvm
2021-10-07 14:38:50 +01:00
youben11
bfc763144c
ci: new unified build system
2021-10-07 14:38:50 +01:00
youben11
2972fa4403
refactor(python): rework the bindings with latest MLIR version
...
- Go through CAPI for python bindings
- Consuming LLVM errors in CAPI: fixes previous issue which made this
impossible in the python bindings
2021-10-07 14:38:50 +01:00
youben11
3406b322d5
fix: prefix builtin ops w/ builtin.
2021-10-07 14:38:50 +01:00
youben11
09ad814e95
fix: use ref to PatternRewriter in NativeCodeCall
2021-10-07 14:38:50 +01:00
youben11
7a48900fae
chore: build zamacompiler as an LLVM external proj
2021-10-07 14:38:50 +01:00
youben11
450925b7bf
chore(python test): clean test case by adding ids
2021-10-07 14:38:50 +01: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