Commit Graph

87 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
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
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
Arthur Meyre
21eb2ac739 chore: fix benchmarks script 2021-12-13 16:34:58 +01:00
Benoit Chevallier-Mames
48f0509785 chore: remove dev licenses
closes #1141
2021-12-10 16:19:47 +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
aquint-zama
7585d23396 chore: fix license / licence naming 2021-12-09 14:39:51 +01:00
Benoit Chevallier-Mames
4a7d939bd0 docs: update the documentation
refs #1085
2021-12-08 10:36:05 +01:00
aquint-zama
09e8a97232 docs(deps): update theme to v2.0.5 2021-12-01 17:01:01 +01:00
Arthur Meyre
faa6dd4403 chore: fix missed changes for docker update 2021-11-30 18:50:16 +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
5fed2ad5e1 chore: restore package watcher
- auto review PR to merge if the build goes well
2021-11-22 14:57:40 +01:00
Umut
efde01258c fix(benchmarks): resolve simple errors in some of the benchmarks 2021-11-18 18:41:34 +03:00
Arthur Meyre
76272373a4 chore: fix compiler tag in CI env docker push 2021-11-16 11:05:57 +01:00
Arthur Meyre
1b3f9aa048 chore: use pip package for docker
- comment out package-watcher as it's not compatible with the new docker
waiting on the compiler proper release workflow to update this
- update setup_env target to be docker and bare env friendly (workaround)
- update torch_requirements.txt

refs #809
2021-11-16 10:41:53 +01:00
Umut
d244bcace9 test(scripts): create measurement script tests 2021-11-15 12:45:55 +03:00
Arthur Meyre
8a91760b12 chore: check latest base image is strictly newer
- otherwise we try to open PRs for no good reason (thankfully no diffs
means the PR is not opened)
2021-11-10 11:03:38 +01:00
Arthur Meyre
1dd893e208 chore: select latest env image for timestamp check
- otherwise we can get preflight images
2021-11-10 09:56:58 +01:00
Arthur Meyre
4237b9df32 chore: fix package watcher time check logic
- compare base images timestamps to have more reliable triggers

closes #856
2021-11-09 17:46:22 +01:00
Arthur Meyre
77a379060a chore: update package watcher to open PR instead of triggering rebuild
closes #784
2021-11-09 15:38:57 +01:00
Umut
8e8e777c3d chore(scripts): replace : with colon in measurement script 2021-11-04 17:49:24 +03:00
Umut
7f32cf7965 fix(scripts): properly detect duplicate targets in check mode 2021-11-04 16:13:26 +03:00
Arthur Meyre
eb54cec065 docs(ci): manage versions.html
- create generate_versions_html.py
- update workflow to be able to push pre-releases on preprod server

closes #738
2021-10-29 14:15:34 +02:00
Benoit Chevallier-Mames
f1d28c0fad chore(benchmarks): manage comma and point signs 2021-10-21 16:27:25 +02:00
Umut
7f1222ed37 feat(benchmarks): add a way to check benchmark scripts without running them 2021-10-21 16:03:47 +03:00
Benoit Chevallier-Mames
806d6584e8 feat: let us choose file to benchmark
if needed, eg during development of new benchmarks, we can chose the files to benchmark with calls like:
- poetry run python script/progress_tracker_utils/measure.py benchmarks -f benchmarks/x_matmul_y.py benchmarks/x_plus_y.py
- poetry run python script/progress_tracker_utils/measure.py benchmarks -f benchmarks/x_matmul_y.py

and the classical

- poetry run python script/progress_tracker_utils/measure.py benchmarks

is still usable
2021-10-20 16:18:32 +02:00
Arthur Meyre
c16ac6ada8 chore(ci): add forgotten release template file 2021-10-19 20:40:27 +02:00
Benoit Chevallier-Mames
a8aafcb70a docs: autogenerate the list of supported functions
closes #410
2021-10-18 11:23:04 +02:00
Arthur Meyre
9571ad8e78 chore: add a Makefile target to grep pylintrc notes
- add a small helper python script to parse pylintrc
2021-10-18 10:54:51 +02:00
Umut
67f50fb8ce refactor(benchmarks): use 'bench' header prefix for all benchmark directives 2021-10-14 17:38:01 +03:00
Umut
47f03e427f feat(benchmarks): add support for full and unit targets 2021-10-12 17:47:27 +03:00
Umut
4205e096f4 feat(benchmark): integrate alert system into measurement script 2021-10-12 12:52:49 +03:00
Arthur Meyre
8490f88227 chore: change coverage to have global infos
- have a small hack to dump pytest-cov report
2021-10-11 19:06:37 +02:00
Arthur Meyre
de3a9f9bb3 chore: update release workflow for auto GitHub release creation
- update version_utils.py script to get info about prerelease
- update release template
2021-10-11 16:13:10 +02:00
Umut
2cfb32d2c1 feat(benchmarks): add source code information to benchmarks 2021-10-11 10:07:51 +03:00
Umut
a7f00ec111 fix(benchmarks): replace properties field of the machine information to specs 2021-10-11 10:07:51 +03:00
Umut
f443b41cef docs(benchmarks): explain the module trick used in the measurement script with comments 2021-10-08 14:23:54 +03:00
Umut
57b3be2f6d fix(benchmarks): treat warnings as errors in benchmarks 2021-10-07 18:40:33 +03: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
05e1227269 chore: update env docker to have runtime lib path in LD_PRELOAD
- update the rest of the dockers, script and CI to stop setting LD_PRELOAD
2021-10-07 09:58:23 +02:00
Umut
7e3b0251fc fix(script): use shutil.rmtree instead of os.unlink to remove measurement scripts folder 2021-10-05 12:14:12 +03:00
Umut
2515e9bf8a feat(script): replace '&' with 'and' within benchmark target names 2021-10-05 12:14:12 +03:00
Arthur Meyre
6fc6991839 chore: add __version__ and automated tools to update it
- also add a checker to verify that versions are in sync
2021-10-04 09:40:10 +02:00
Arthur Meyre
10be75f094 chore(build): manage latest tag push for releases
- no push for release candidates
- push as latest if version is the highest
2021-09-29 14:41:37 +02:00
Umut
4ef0a13248 refactor: move measurement scripts to their own directory to avoid pcc errors 2021-09-29 11:51:22 +03:00
Umut
ad95aba053 chore: run extract_machine_info.py before running the benchmark target, fix missing MACHINE_NAME variable exception 2021-09-27 17:59:48 +03:00