Arthur Meyre
f1ed07d580
refactor(tracing): add generic tracing functions for generic functions
...
- remove nearly duplicated code when tracing GenericFunction for unary and
binary operators
refs #965
2021-11-23 13:55:37 +01:00
Arthur Meyre
ba6207e71e
refactor: remove workaround for scalar and tensors operations in tests
...
- add Float16 for ldexp which sometimes returns float16 in numpy
closes #908
2021-11-23 12:25:53 +01:00
Arthur Meyre
82798fb683
chore: remove merge-method on action which does not need it
2021-11-23 12:25:53 +01:00
Benoit Chevallier-Mames
0a87c26b64
refactor: move the deepcopy under the hood
...
closes #914
2021-11-23 10:37:31 +01:00
Benoit Chevallier-Mames
fe90b35392
fix: fix benchmark script
...
closes #969
2021-11-23 09:20:29 +01:00
Benoit Chevallier-Mames
446dfaf834
chore: let us use dtype=np.uint8 if we want
...
closes #986
2021-11-23 09:20:05 +01:00
Umut
4921ebadf8
chore(mlir): leave a note about the tensor-scalar workaround
2021-11-23 10:22:17 +03:00
Umut
7e65af3906
fix(representation): set correct output type for dot product
2021-11-23 10:22:17 +03:00
Umut
1d77816aa3
refactor(mlir): implement support for operations between tensors and scalars using string processing hacks
2021-11-23 10:22:17 +03:00
Arthur Meyre
a85e4e591a
chore: auto-delete branch when package watcher PR is closed
2021-11-22 17:41:46 +01:00
Arthur Meyre
73a83c4dc9
chore: change conditions for approving and enabling automerge pkg watcher
2021-11-22 17:23:25 +01:00
IceTDrinker
22da4fa840
chore(deps): bump compiler to 2021-11-17T13:33:13Z
2021-11-22 16:59:59 +01:00
Arthur Meyre
1d3cfb62b8
chore: use rebase method for auto PR
2021-11-22 16:43:55 +01:00
Arthur Meyre
cb367436b9
chore: use rebase method for auto PR
2021-11-22 16:41:05 +01:00
Arthur Meyre
d83146c191
chore: fix package watcher approve PR with repo token
2021-11-22 16:37:36 +01:00
Arthur Meyre
09eb6eae10
chore: choose the master version of the auto approve action
...
- only the master supports approving a PR by PR number
2021-11-22 16:16:10 +01:00
Arthur Meyre
7193050d49
chore: fix pylintrc unable to find some functions from package.so
...
- add packages to whitelist to allow loading .so
2021-11-22 14:57:40 +01:00
Arthur Meyre
5fed2ad5e1
chore: restore package watcher
...
- auto review PR to merge if the build goes well
2021-11-22 14:57:40 +01:00
Arthur Meyre
a77c369daf
feat: accept non tuple inputs ininputset for 1-parameter functions
...
closes #952
2021-11-22 13:38:17 +01:00
dependabot[bot]
8164ce3946
chore(deps): bump softprops/action-gh-release from 0.1.13 to 1
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 0.1.13 to 1.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](6034af24fb...1e07f43987 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-22 09:47:12 +01:00
dependabot[bot]
66abd3f024
chore(deps): bump actions/setup-python from 2.2.2 to 2.3.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](dc73133d4d...0066b88440 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-22 09:47:07 +01:00
Benoit Chevallier-Mames
0fd8da8789
chore: fix a test
...
refs #885
2021-11-19 15:08:50 +01:00
Arthur Meyre
69a36b6255
chore: fix dockerignore which prevents build from getting file in pkg
2021-11-19 13:07:05 +01:00
Benoit Chevallier-Mames
247327b277
chore: fix #951 by making sure the dot product is never too large.
...
closes #951
2021-11-19 10:17:27 +01:00
Arthur Meyre
8a27525a64
refactor: separate some compilation steps to prepare torch-like API work
...
refs #233
2021-11-19 10:06:07 +01:00
Arthur Meyre
e4063d79da
chore: remove now useless dockerignore file for concretefhe-env
...
- trigger build only if the env Dockerfile itself is modified (match line
end to be sure we don't match something else)
- add missing build-args for docker prefligth build
2021-11-19 10:06:07 +01:00
Umut
4bb81f7363
chore(ci): increase daily benchmark timeout from 60 minutes to 90 minutes
2021-11-19 11:42:38 +03:00
jfrery
aa60d8ace6
fix: test_quantized_layer
2021-11-18 19:23:27 +01:00
Benoit Chevallier-Mames
2fdf22bf4e
test(execution): add correctness tests of ndarray operators
...
closes #931
2021-11-18 18:16:33 +01:00
jfrery
a5b1d6232e
feat: add signed intergers quantization
2021-11-18 17:21:28 +01:00
Umut
efde01258c
fix(benchmarks): resolve simple errors in some of the benchmarks
2021-11-18 18:41:34 +03:00
Benoit Chevallier-Mames
4c6e1661ec
feat(tracing): add support for more arithmetic operators, when one input is a constant
...
refs #218
refs #751
2021-11-18 13:46:14 +01:00
Arthur Meyre
507ccd05c5
feat: static post training quantization and quantization module
2021-11-18 10:31:45 +01:00
Benoit Chevallier-Mames
bfa309a455
test: add tests with dot and negative tensors
...
refs #891
2021-11-18 09:55:22 +01:00
Arthur Meyre
f6aadd37e9
test: add tests for bivariate functions with tensor and multi TLU
...
closes #558
closes #567
closes #665
2021-11-18 09:08:55 +01:00
Arthur Meyre
ff03bc2220
feat(optimization): support more fusing topologies
...
- corrected docstring that was mistaken on what was returned
- updated pyproject.toml to ignore warnings that happened naturally in
networkx and that was blocking proper test execution (no way around that
this is code from networkx that triggered the warning)
- add a test case for the newly supported fusing topology
closes #499
2021-11-18 09:08:50 +01:00
Arthur Meyre
bc145e21e1
feat: allow tracing __eq__ while keeping hashing when not tracing
...
closes #936
2021-11-18 09:08:43 +01:00
jfrery
c978107124
feat: remove transpose from layers
2021-11-17 14:54:16 +01:00
Arthur Meyre
b9c52947f6
refactor(optimization): refactor code to prepare new topologies fusing
...
refs #499
2021-11-17 14:10:33 +01:00
Benoit Chevallier-Mames
a712b0573c
feat: add support for comparators when one input is a constant
...
closes #932
refs #751
2021-11-17 13:50:18 +01:00
Umut
c733daa78c
feat(mlir): implement MLIR conversion of MatMul
2021-11-17 15:01:29 +03:00
Benoit Chevallier-Mames
05cacc8744
feat(tracing): let's trace k<<x and k>>x
...
closes #915
2021-11-17 12:50:59 +01:00
Umut
1d691f232b
feat(mlir): implement MLIR conversion of multi lookup tables
2021-11-17 14:27:47 +03:00
Benoit Chevallier-Mames
78f82fb9a1
chore: remove useless variables that make pcc didn't see
2021-11-17 11:01:57 +01:00
jfrery
fac0479465
feat: separate matmul from the floating points and zero points values
2021-11-17 10:11:47 +01:00
Benoit Chevallier-Mames
5448669e83
chore: split test_tracing
...
closes #913
2021-11-17 10:10:05 +01:00
Arthur Meyre
55a39d4c26
test: run single lut conformance on tensors
...
closes #574
refs #558
refs #665
2021-11-17 09:11:46 +01:00
Benoit Chevallier-Mames
482d2d4aa0
chore: reduce a bit the strength of duplicate-code in pylint
2021-11-16 18:36:14 +01:00
Benoit Chevallier-Mames
a2a61a079f
feat(tracing): add support for ndarray functions
...
ndarray.flatten
ndarray.__abs__
ndarray.__neg__, __pos__ and __invert__
ndarray.__rshift__ and __lshift_
refs #751
refs #218
2021-11-16 18:36:14 +01:00
Arthur Meyre
baa8a97e98
chore: remove package watcher workflow for now
...
- causes some errors in github actions
2021-11-16 12:31:21 +01:00