Commit Graph

50 Commits

Author SHA1 Message Date
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
Umut
3408bba1ed fix: properly ignore measurement scripts during benchmarks 2021-09-27 17:59:48 +03:00
Arthur Meyre
86052fa43d chore(tools): update command line for isort to follow the 100 line length 2021-09-23 14:00:07 +02:00
Arthur Meyre
98bf595324 chore(build): get last completed run to check whether to rebuild docker 2021-09-22 17:54:25 +02:00
Arthur Meyre
2c19cd3122 fix(tools): another fix for format_python.sh after shellcheck changes 2021-09-22 13:55:45 +02:00
Arthur Meyre
468f8aba62 fix: correct a mistake done when fixing shellcheck lints
- we must not exit right away if sourcing fails
- recreate the venv only if the source fails
2021-09-22 10:04:40 +02:00
Arthur Meyre
d6986a0d93 chore: make sure global notification color makes sense 2021-09-22 09:35:24 +02:00
Arthur Meyre
1a340e111e tools: add shell_lint target to lint .sh files
- update docker image to install shellcheck
- fix lint errors in files
2021-09-21 11:16:14 +02:00
Arthur Meyre
aaaaf5fd08 fix(tools): fix badly written shell file 2021-09-21 09:14:42 +02:00
Arthur Meyre
8571d8bfc8 fix(build): check latest env image to decide a rebuild
- we now have preflight images which break the previous logic of checking
the most recent image timestamp, check image tagged with latest
2021-09-20 18:35:19 +02:00
Arthur Meyre
35011bd403 build: test codeblocks in CI 2021-09-20 17:24:16 +02:00
Umut
a7d0b87408 fix: revert check argument of subprocess.run as the return code is already checked below 2021-09-17 10:39:17 +03:00
Umut
7088f234cb chore: set notebook timeout to 3 hours 2021-09-16 17:18:48 +03:00
Arthur Meyre
157dcc44bc tools: add a script to easily upgrade python dependencies 2021-09-16 13:40:07 +02:00
Arthur Meyre
e45916fc50 chore: add missing +x flag on some shell files 2021-09-16 13:40:07 +02:00
Benoit Chevallier-Mames
696e460c27 fix: pylint. 2021-09-16 12:04:32 +02:00
Benoit Chevallier-Mames
af41980f1f fix: pylint
fix: pylint
2021-09-16 12:04:32 +02:00
Benoit Chevallier-Mames
fe03521dc6 fix: python_format 2021-09-16 12:04:32 +02:00
Benoit Chevallier-Mames
ef9200793d fix: flake8 for script 2021-09-16 12:04:32 +02:00
Umut
ae3c179294 chore: disable attaching tty to docker during benchmarks 2021-09-15 12:50:08 +03:00
Umut
c253219277 feat: implement performing and publishing benchmarks with a single make target 2021-09-15 10:08:08 +03:00
Umut
b7a7d3d064 feat: make the inference in examples homomorphic 2021-09-13 17:12:11 +03:00
Arthur Meyre
5041e42978 build: test env docker image before pushing as latest
- also push with an epoch tag
2021-09-09 09:25:52 +02:00
Umut
d02e848fca refactor: update benchmark infrastructure to be compatible with the new progress tracker 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
Arthur Meyre
ad0a65078f tools: remove serialize_targets.sh which is useless
- use make --keep-going instead
2021-09-01 11:51:54 +02:00
Arthur Meyre
3c6969f7f4 tools: updated package watcher with helper script 2021-08-31 16:15:03 +02:00
Arthur Meyre
3541e4ff4e fix(tools): various Makefile improvements
- sync output recursively for make calls
- add a script to get the number of cpus on mac and linux
- Makefile formatting
- update serialize_targets.sh to invoke the proper make binary
- Add instructions to install make
2021-08-26 14:32:18 +02:00
Arthur Meyre
30e00df977 chore(tools): update pylint target to lint dirs separately
- avoids triggering duplicate code detection between hdk tests and
benchmarks
- update helper script serialize_targets.sh to avoid printing dir
2021-08-24 16:00:42 +02:00
Umut
4b3fb772b8 chore: integrate checking whether notebooks are sanitized into the pcc target 2021-08-24 10:56:54 +03:00
Umut
94fef5e202 feat(debugging): provide a way to export the drawn graph as a png file 2021-08-18 17:33:19 +03:00
Arthur Meyre
5d26ad499a fix(build): properly serialize calls to mypy
- add an helper script to serialize make commands
- serialize mypy commands as they may overwrite each others cache
- format coverage command to avoid being ridiculously long
2021-08-18 12:23:53 +02:00
Arthur Meyre
6d14b4b318 fix(build): manage refs for push events 2021-08-18 09:08:49 +02:00
Umut
479176e368 doc(examples): create quantized linear and logistic regression examples 2021-08-16 15:57:18 +03:00
Arthur Meyre
f910f1fa9c chore(tools): add user friendly coverage make command
- add a command allowing to run tests and coverage in one go
2021-07-27 12:14:42 +02:00
Arthur Meyre
94f79f2345 chore(tools): update coverage.sh script 2021-07-22 10:31:51 +02:00
Arthur Meyre
ef78e66241 build(coverage): add comment to PR with diff-cover output
- add script to help format the coverage comment
- manage steps logic

refs #15
2021-07-16 12:25:10 +02:00
Arthur Meyre
58e35136f5 chore(tools): add Makefile, formatting script, pylintrc and dependencies
refs #15
2021-07-15 11:46:19 +02:00