Commit Graph

731 Commits

Author SHA1 Message Date
Umut
73596b3b7d refactor: use the new python library in benchmarks 2022-01-05 12:13:03 +03:00
Benoit Chevallier-Mames
73d8aebd06 docs: add information about precision and exactness
closes #1273
2022-01-04 19:54:35 +01:00
IceTDrinker
a48f8cb4f1 chore(deps): bump compiler to 2022-01-04T16:08:11Z
- disable PR automerge on compiler update (too risky)
- change init file to be a namespace package
- remove version.py (infos can still be retrieved through package meta)
this avoids potential conflicts with other packages we release
- various fixes for compiler compatibility

closes #1272
2022-01-04 19:18:26 +01:00
Arthur Meyre
fcbf92609f chore: make compiler repo a secret to easily update it as a variable 2022-01-04 17:52:00 +01:00
Arthur Meyre
e522f22ce8 chore: rename package
- poetry lock required to update package name
- related Makefile and licenses update to keep consistency (will be removed
once the PyPi package is available)
- modified compile_torch_model to only accept datasets with one input
mypy error with better numpy typing hints appeared

closes #1252
2022-01-04 09:12:18 +01:00
Benoit Chevallier-Mames
1a66f2c865 chore: update the doc, few things will not be done for Q4
refs #1111
2022-01-03 17:14:27 +01:00
Arthur Meyre
5f043ad3ee chore: fix notebook title which was causing issues in docs
closes #1267
2022-01-03 11:54:16 +01:00
dependabot[bot]
40ea71d0d2 chore(deps): bump docker/login-action from 1.10.0 to 1.12.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 1.12.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](f054a8b539...42d299face)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 10:10:26 +01:00
Arthur Meyre
11c38efa1e test: add dot tests with non program inputs args
- also fix some inputsets which had wrongly shaped inputs
2021-12-24 17:49:30 +01:00
Arthur Meyre
b48165045a fix: change awkward decision tree notebook title 2021-12-24 17:48:21 +01:00
Arthur Meyre
0af91911c3 fix: accept other comparison functions for the new per cell checks in tests 2021-12-24 16:07:44 +01:00
Arthur Meyre
39f099338e feat: decision tree converter to tensors computation
- also fix tests with numpy.isclose by allowing cells check as well
2021-12-24 16:07:44 +01:00
Umut
d6c6c64cdb chore(ci): disable daily benchmarks for the time being 2021-12-24 16:29:29 +03:00
jfrery
9e938ddfff feat: add missing pieces for relu6 2021-12-24 12:30:14 +01:00
jfrery
07e8411b50 feat: update IrisFHE.ipynb with signed weights + add visualization 2021-12-24 10:10:48 +01:00
Arthur Meyre
2c8dbce3e0 chore: fix auto-merged PR 2021-12-24 09:43:41 +01:00
Benoit Chevallier-Mames
25a8d51d2d chore: update discourse link. 2021-12-23 18:13:08 +01:00
IceTDrinker
31ae92a5db chore: test slow compiler
- fix CI scripts for the current compiler releases
- add keycache system
2021-12-23 15:15:22 +01:00
IceTDrinker
ad2cbf4842 chore(deps): bump compiler to 2021-12-22T10:49:30Z 2021-12-23 15:15:22 +01:00
Benoit Chevallier-Mames
671d553d01 chore: no more public repository
closes #1212
2021-12-23 14:56:43 +01:00
Benoit Chevallier-Mames
4ccc4bb751 chore: add a FAQ to link to Discourse. 2021-12-23 14:56:26 +01:00
jfrery
65be1b0818 feat: use signed weights in compile_torch_model 2021-12-23 11:24:02 +01:00
Andrei Stoian
57bbb8feab feat: improve GLM model to support associate blog post (#1234) 2021-12-21 13:29:29 +01:00
Jeremy Bradley-Silverio Donato
69a6c0ec5c chore: update docs
closes #1227
2021-12-21 12:30:19 +01:00
Arthur Meyre
2dc070dd4b fix: correct matmul reshapes for 1D cases
- add tests for these cases with non square 2D matrices
2021-12-21 10:39:16 +01:00
Umut
a87e5ab53c docs: talk about shapes in numpy support 2021-12-21 10:12:39 +03:00
Arthur Meyre
df18d331c2 chore: add pip-audit and schedule step for weekly
closes #1076
2021-12-20 14:18:39 +01:00
Umut
511b6bd6c0 fix(scripts): reset continue state after each code block to avoid combining everything into a single code block 2021-12-20 15:17:41 +03:00
Benoit Chevallier-Mames
532dca78cb chore: update docs
closes #1083
2021-12-20 12:13:23 +01:00
Benoit Chevallier-Mames
d35a183a1e chore: proposal for doc improvement
- add Compiling a Torch Model to the Getting Started
- rename to Compiling and Executing a Numpy Function for more clarity
- changed the FAQ
- removed a .md which is no more needed
2021-12-20 11:53:22 +01:00
Jeremy Bradley-Silverio Donato
f387eaedba docs: English checking and improvement 2021-12-20 11:43:52 +01:00
Arthur Meyre
20c2fffd6d chore: do not run stop-runner if we did not run start-runner 2021-12-20 11:09:22 +01:00
dependabot[bot]
b5b687b576 chore(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](da838ae959...82c141cc51)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:52:25 +01:00
dependabot[bot]
299f21dfc6 chore(deps): bump peter-evans/create-pull-request from 3.11.0 to 3.12.0
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](67df31e08a...dcd5fd746d)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:52:12 +01:00
Umut
4e6c57766a refactor: improve isclose used in quantization tests 2021-12-20 12:19:06 +03:00
jfrery
75d231fada fix: set torch seed in doc 2021-12-20 10:01:56 +01:00
Arthur Meyre
31a3bdcf2e fix: allow signed matmuls
closes #957
2021-12-20 09:32:27 +01:00
jfrery
6697b64147 docs: update compiling_a_torch_model.md 2021-12-17 16:45:11 +01:00
jfrery
6242be7a33 docs: update use_quantization.md 2021-12-17 15:54:41 +01:00
jfrery
25e12530d1 feat: make the last layer over 7 bits 2021-12-17 11:00:47 +01:00
jfrery
bb332861aa docs: add iris tuto and docs 2021-12-16 18:07:51 +01:00
Arthur Meyre
9b940c8a82 docs: update releasing.md
- the file itself does not need to be modified
- I'll update the release issue template if it needs to be modified

#closes 1080
2021-12-16 17:54:29 +01:00
Arthur Meyre
0565815d5f docs: re-organize installing.md to have package as first option
- remove references to ghcr.io and internal release image

refs #1080
2021-12-16 17:54:24 +01:00
Andrei Stoian
66b9d35095 docs: Remove Machine Learning Tools Page (#1203)
Closes #1201
2021-12-16 17:40:01 +01:00
Arthur Meyre
eecf6c689d docs: update project setup
refs #1080
2021-12-16 17:19:01 +01:00
Andrei Stoian
5551669e88 docs: improve low precision functions and lower accuracy info (#1196) 2021-12-16 17:11:44 +01:00
Arthur Meyre
b23b4f90c6 chore: add pygraphviz as optional package
- full installation can be done with `pip install concretefhe[full]`

closes #896
refs #1080
2021-12-16 16:23:01 +01:00
Umut
85a8927f5e docs: improve working with tensors tutorial 2021-12-16 16:08:30 +03:00
Arthur Meyre
760a0af39b chore: add torch as a proper requirement for the package
- we forgot to do that and it seems poetry chose versions of torch for all
OSes so should be good
- removed torchvision as we apparently never really used it
- make it work on linux and macOS
2021-12-15 17:59:16 +01:00
Benoit Chevallier-Mames
5e62cfcc42 chore: authorize python 3.8, 3.9 and 3.10, as compiler team. 2021-12-15 16:52:25 +01:00