Commit Graph

64 Commits

Author SHA1 Message Date
Arthur Meyre
e2fc523596 chore: rename package 2022-01-05 14:12:23 +01:00
Umut
73596b3b7d refactor: use the new python library in benchmarks 2022-01-05 12:13:03 +03: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
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
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
Arthur Meyre
df18d331c2 chore: add pip-audit and schedule step for weekly
closes #1076
2021-12-20 14:18:39 +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
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
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
Benoit Chevallier-Mames
97efeaae7a docs: show the source of concretefhe in our docs
closes #451
2021-12-14 09:52:13 +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
aquint-zama
9be72a0ace docs: fix nbsphinx and GA incompatibility 2021-12-09 14:39:51 +01:00
Benoit Chevallier-Mames
ce07e828d3 chore: remove useless targets in makefile
closes #1091
2021-12-09 10:02:55 +01:00
aquint-zama
09e8a97232 docs(deps): update theme to v2.0.5 2021-12-01 17:01:01 +01:00
Benoit Chevallier-Mames
34b3c1b105 chore: fix poetry lock. 2021-11-30 18:29:42 +01:00
Benoit Chevallier-Mames
f7fab8b965 feat(deps): add a makefile target to check licences
refs #1003
2021-11-30 10:37:48 +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
e0e845bb8b chore: bump version to 0.2.0-rc5 2021-10-29 18:21:48 +02:00
Arthur Meyre
d749f80b8e chore: add beautifulsoup4 as dev dependency to manipulate versions.html 2021-10-29 14:15:34 +02:00
Arthur Meyre
76d6f1e1f1 chore: bump version to 0.2.0-rc4 2021-10-22 18:05:27 +02:00
aquint-zama
946f0c07c7 chore: update docs theme to v0.6.2 2021-10-22 13:30:14 +02:00
Arthur Meyre
92de61f485 chore: bump version to 0.2.0-rc3 2021-10-20 10:13:40 +02:00
Arthur Meyre
a15e31dda4 chore: move pytest-randomly to dev deps 2021-10-19 11:06:42 +02:00
Arthur Meyre
2a1eb40bf2 test: use xdist to speed-up testing 2021-10-15 14:17:26 +02:00
Benoit Chevallier-Mames
17704da169 test: make our tests reproducible
by seeding random generators in python random or in numpy random
closes #546
2021-10-13 13:58:36 +02:00
Arthur Meyre
636da7808a chore: update version to 0.2.0-rc2 2021-10-12 16:11:55 +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
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
Arthur Meyre
9a29f4613c chore: bump version to 0.2.0rc1
- main is now the current version dev branch
2021-09-27 16:59:30 +02:00
Arthur Meyre
55bcc576dc chore: bump version to 0.1.1rc1 2021-09-24 15:42:44 +02:00
Benoit Chevallier-Mames
270253975e feat: let's release the Concrete framework v0.1.0 2021-09-24 14:57:06 +02:00
aquint-zama
a386532c19 docs: update theme 2021-09-24 13:58:33 +02:00
Arthur Meyre
a0c2e67c1c chore: bump version to v0.1.0rc3 2021-09-21 12:34:36 +02:00
aquint-zama
0e19e1aa44 chore: upgrade sphinx-rtd-theme 2021-09-17 14:57:36 +02:00
Benoit Chevallier-Mames
e5ea30b689 test: and now, we can remove an ignore
closes #280
2021-09-17 10:00:31 +02:00
Arthur Meyre
a69975742f docs: move notebooks to docs and use nbsphinx to include them in the html
- update env image to install pandoc required by nbsphinx
2021-09-15 18:01:30 +02:00
Umut
c253219277 feat: implement performing and publishing benchmarks with a single make target 2021-09-15 10:08:08 +03:00
Benoit Chevallier-Mames
3d715b210f release: increment the version 2021-09-13 16:41:13 +02:00
Benoit Chevallier-Mames
17822a5417 release: update the version
refs #318
2021-09-10 14:38:05 +02:00
Benoit Chevallier-Mames
f9854b5b79 doc: update pyproject.toml
to reflect what does the package and who are the authors
closes #334.
refs #318
2021-09-10 14:38:05 +02:00
Arthur Meyre
6fe809aece dev: add code to have the proper data type when getting an AF table
- update BaseDataType to store the underlying type constructor e.g. int
- add helper functions to get the type constructor for constant data
- update operator graph to fill the type constructor during bounds update
- add loguru as logger
- use type constructor in ArbitraryFunction.get_table, log an info if the
type_constructor of the input was None and default to int
2021-09-09 11:16:49 +02:00
Arthur Meyre
269ce01db3 chore(req): force python version to 3.8
- compiler bindings only support 3.8
- update requirements
2021-09-09 11:16:49 +02:00
Umut
d02e848fca refactor: update benchmark infrastructure to be compatible with the new progress tracker 2021-09-08 12:31:32 +03:00
Umut
231a146171 chore: remove pytest-benchmark as a new benchmark architecture is on the way 2021-09-08 12:31:32 +03:00
Arthur Meyre
959328e0f5 chore: rename hdk to concrete first pass 2021-09-06 18:43:49 +02:00
Benoit Chevallier-Mames
cfe48cca15 test: add correctness tests for all supported ufunc's
closes #263
2021-09-02 16:00:33 +02:00
Umut
b41029d9c0 refactor(drawing): start using graphviz for visualization 2021-08-25 10:01:20 +03:00