Commit Graph

612 Commits

Author SHA1 Message Date
Arthur Meyre
bc1926903c chore: fix doc tests after refusing tuples for 1-input function inputsets
- also fix notebooks
2021-12-02 11:59:42 +01:00
Arthur Meyre
48aaed9ee8 refactor: disallow tuple input in inputset for 1-input functions
- handle the case properly once we add tuple support in #772

closes #971
2021-12-02 11:59:42 +01:00
aquint-zama
09e8a97232 docs(deps): update theme to v2.0.5 2021-12-01 17:01:01 +01:00
jfrery
54c0bc6e87 test: disable flaky tests 2021-12-01 10:48:41 +01:00
Umut
1b5785e058 feat(extensions): add and test support for negative direct table lookups 2021-12-01 12:09:10 +03:00
Arthur Meyre
8b0a793cda feat: create torch-like API part deux
- add function to get the FHECircuit

closes #233
2021-12-01 09:36:47 +01:00
Arthur Meyre
faa6dd4403 chore: fix missed changes for docker update 2021-11-30 18:50:16 +01:00
Benoit Chevallier-Mames
3620c6355b chore: update licences. 2021-11-30 18:29:42 +01:00
Benoit Chevallier-Mames
34b3c1b105 chore: fix poetry lock. 2021-11-30 18:29:42 +01:00
Arthur Meyre
8425656d75 chore: use volumes in docker
- allows to have persistent data and much faster access times on non linux
OSes
2021-11-30 18:13:10 +01:00
Benoit Chevallier-Mames
edefde9189 feat: adding a compile_torch_model function
refs #898
2021-11-30 16:24:21 +01:00
Arthur Meyre
e111891a41 test: more signed TLUs cases
closes #1014
2021-11-30 11:45:15 +01:00
jfrery
1625475897 feat: end-to-end compilation of a torch model 2021-11-30 11:30:13 +01:00
Arthur Meyre
13b9ff96f0 feat: create torch-like APIs part 1
- work on generating OPGraph with a torch-like API

refs #233
2021-11-30 11:06:46 +01:00
Umut
ac74e94e13 feat(mlir): implement mlir conversion of constant indexing 2021-11-30 12:40:34 +03:00
Umut
926597c3f6 feat(debugging): implement printing subgraphs within the graph during printing 2021-11-30 12:40:23 +03:00
Benoit Chevallier-Mames
f7fab8b965 feat(deps): add a makefile target to check licences
refs #1003
2021-11-30 10:37:48 +01:00
dependabot[bot]
9ad4941ee2 chore(deps): bump aws-actions/configure-aws-credentials
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1.5.11 to 1.6.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/master/CHANGELOG.md)
- [Commits](0d9a5be0dc...ea7b857d8a)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 09:05:12 +01:00
jfrery
dfc762c2e2 feat: add QuantizedReLU6 as a supported activation function 2021-11-26 16:55:52 +01:00
Arthur Meyre
f53d374d1f feat: support TLUs with signed input
- this is done with an absolute ugly hack

closes #923
refs #1001
2021-11-25 12:01:40 +01:00
Arthur Meyre
7909a4899f refactor: rename get_ordered_inputs_of to be more in line with what it does
- rename to get_ordered_preds_and_inputs_of
2021-11-25 12:01:40 +01:00
Umut
39557720ca refactor(benchmarks): increase error tolerance of some benchmarks 2021-11-25 11:26:03 +03:00
Benoit Chevallier-Mames
39b168dfd5 fix: fix issues for certain form of functions
Table which was created contained too large values, for cells which were never accessed
closes #949
2021-11-24 17:14:59 +01:00
Umut
62475c34cd chore: update daily benchmarks workflow to support multiple machines 2021-11-24 18:08:01 +03:00
Benoit Chevallier-Mames
33064efc06 chore: fix flaky tests
closes #997
2021-11-24 09:48:02 +01:00
Benoit Chevallier-Mames
ec396effb2 chore: seed torch as much as possible
closes #877
2021-11-24 09:47:37 +01:00
Arthur Meyre
60d8079303 feat: add clip support
closes #965
closes #983
closes #984
2021-11-23 17:08:24 +01:00
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