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
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