Commit Graph

705 Commits

Author SHA1 Message Date
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
Umut
2e02c39a97 docs: create tensor operations tutorial 2021-12-15 18:00:19 +03:00
Andrei Stoian
b34984d44c fix: benchmarks for regression (#1188)
Wrong variable names for measures in linear regression and missing one in logistic

Closes #1187
2021-12-15 11:04:30 +01:00
Andrei Stoian
2ef8b6c43b fix: notebook cell output color in docs (#1190)
The cell background was too light and the test was light as well

Closes #1189
2021-12-15 10:35:18 +01:00
Arthur Meyre
94b9d83cbb feat: support 1D vectors in MatMul
closes #948
2021-12-15 09:47:50 +01:00
Arthur Meyre
214eebb458 chore: start runner only if necessary 2021-12-14 15:04:29 +01:00
Andrei Stoian
2b81fc0599 fix: typo in linear regression notebook (#1177) 2021-12-14 14:03:05 +01:00
Andrei Stoian
f1ba37891a feat: Update regression benchmarks and examples (#1163)
Use our quantization API, improve datasets, metrics and quantization precisions

Closes #972
2021-12-14 13:14:03 +01:00
Arthur Meyre
bac4c8b549 chore: use all cpus for pytest 2021-12-14 12:08:08 +01:00
Arthur Meyre
d7f820ffb2 chore: fix pcc target to use all CPUs, unescaped $ may cause issues 2021-12-14 11:35:27 +01:00
Umut
c8ec2a2340 feat(mlir): implement mlir conversion of reshape and flatten 2021-12-14 12:54:24 +03:00
jfrery
7fcab62cd5 docs: update use_quantization.md part 1 2021-12-14 10:40:44 +01:00
Benoit Chevallier-Mames
97efeaae7a docs: show the source of concretefhe in our docs
closes #451
2021-12-14 09:52:13 +01:00
Arthur Meyre
21eb2ac739 chore: fix benchmarks script 2021-12-13 16:34:58 +01:00
Umut
ce48a757c6 feat: create a method in the new interface to compile using an inputset in one go 2021-12-13 18:34:53 +03:00
Arthur Meyre
1bfcea7540 chore: fix docker build typo 2021-12-13 13:49:49 +01:00
Umut
fb5e8f9492 chore(ci): increase ssh timeout of daily benchmarks 2021-12-13 15:33:02 +03:00
Arthur Meyre
df417b1aff chore: fix dev docker build on macOS
closes #1161
2021-12-13 11:31:26 +01:00
Arthur Meyre
64bcf30be0 chore: update dev dockerfile to have a user with the host uid and gid
closes #1149
2021-12-13 09:43:34 +01:00
dependabot[bot]
8b7eebfc8a chore(deps): bump actions/download-artifact from 2.0.10 to 2.1.0
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2.0.10 to 2.1.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](3be87be14a...f023be2c48)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-12 09:51:00 +01:00
dependabot[bot]
47a97ed2a3 chore(deps): bump actions/upload-artifact from 2.2.4 to 2.3.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](27121b0bdf...da838ae959)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-12 09:50:56 +01:00
Andrei Stoian
93076e162f feat: add GLM example and benchmark, improve quantization (#1115)
Starting from sklearn tutorial on PoissonRegression, quantize the regressor
and compile to FHE

Closes #979, #599, #1132
2021-12-10 20:01:41 +01:00
Benoit Chevallier-Mames
b44956952b chore: sphinx doesn't support \mathsc. 2021-12-10 19:22:29 +01:00
Benoit Chevallier-Mames
8ceecec334 chore: update docs
closes #1136
2021-12-10 17:47:57 +01:00
Benoit Chevallier-Mames
48f0509785 chore: remove dev licenses
closes #1141
2021-12-10 16:19:47 +01:00
jfrery
20fe843a49 docs: update quantization.md 2021-12-10 15:30:36 +01:00
Arthur Meyre
9ec3a0d4de chore: do not fail if there are no assets in a compiler release
closes #1145
2021-12-10 13:47:50 +01:00