Commit Graph

484 Commits

Author SHA1 Message Date
Arthur Meyre
e0e845bb8b chore: bump version to 0.2.0-rc5 2021-10-29 18:21:48 +02:00
Arthur Meyre
2fd9f6c363 chore: automate make set_version some more
- stash before changing version
- commit changed files
- pop stash if anything was saved
2021-10-29 18:21:48 +02:00
Arthur Meyre
267e5b2137 chore(ci): fix missing env variable for versions.html edition
- push versions.html last as it is stateful
2021-10-29 17:40:09 +02:00
Arthur Meyre
00ca11b588 chore: fix versions.html update
- run through poetry to have the required dependencies
2021-10-29 16:19:39 +02:00
Arthur Meyre
c5dfb449f3 chore(ci): disable poetry cache
- fix an issue that started happening out of nowhere, no fix before 1.2 it
seems

- see https://github.com/python-poetry/poetry/issues/4210
2021-10-29 16:09:32 +02: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
Arthur Meyre
d749f80b8e chore: add beautifulsoup4 as dev dependency to manipulate versions.html 2021-10-29 14:15:34 +02:00
Arthur Meyre
d93015836e chore(ci): give the possibility to version cache and clear it
- will help resolve issues with poetry cache
2021-10-29 14:15:34 +02:00
Arthur Meyre
2fa3a8bcbe chore(ci): use aws command line and credentials setup for aws tasks 2021-10-28 16:25:21 +02:00
Arthur Meyre
212dc36382 feat: emit loguru warning with reason for subgraph not fusing
- catches cases with more than one variable input
- catches cases where the shapes are not the same in intermediate nodes

refs #645
2021-10-28 14:36:12 +02:00
aquint-zama
86b6137fcb docs: update docs template to v0.6.3
close #757
2021-10-28 11:11:03 +02:00
Arthur Meyre
ce17767288 test: use triple quoted strings for long message matches
closes #754
2021-10-28 09:13:48 +02:00
Benoit Chevallier-Mames
23d4dead30 chore: remove unnecessary lambda in tests 2021-10-27 18:47:56 +02:00
Umut
eedbe0606b feat(tracing): implement tracing of matmul 2021-10-27 17:11:19 +03:00
Umut
118e6454b7 test(tracing): fix shape mismatch in one of the dot tracing tests 2021-10-27 17:11:19 +03:00
Arthur Meyre
5a54f2e053 chore(ci): fix pylint configuration for protected accesses
- the check was disabled by default in python special functions

closes #752
2021-10-27 10:16:45 +02:00
Arthur Meyre
ecfde7b233 refactor(debugging): accept several highlights per node when printing
refs #645
2021-10-26 17:19:33 +02:00
Umut
70fbac7188 feat(compilation): provide a way to automatically generate a random inputset 2021-10-26 11:44:57 +03:00
Benoit Chevallier-Mames
9459675cfb feat: manage signed constants
closes #688
closes #612
2021-10-26 10:06:15 +02:00
Arthur Meyre
624143106f refactor(compilation): remove unnecessary check in compile.py
refs #645
2021-10-25 17:02:43 +02:00
Umut
c46d96aabf refactor(compilation): improve error messages of indexing 2021-10-25 17:35:36 +03:00
Umut
65af96253b feat(tracing): implement tracing of constant indexing 2021-10-25 13:14:29 +03:00
Arthur Meyre
afb342aec3 chore: update Makefile targets to use && instead of ;
- lets target fail properly

closes #725
2021-10-25 10:01:41 +02:00
dependabot[bot]
5aa87168f6 chore(deps): bump marocchino/sticky-pull-request-comment
Bumps [marocchino/sticky-pull-request-comment](https://github.com/marocchino/sticky-pull-request-comment) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/marocchino/sticky-pull-request-comment/releases)
- [Commits](82e7a0d3c5...39c5b5dc77)

---
updated-dependencies:
- dependency-name: marocchino/sticky-pull-request-comment
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 09:13:27 +02:00
Arthur Meyre
9a41a57be0 fix: report the correct coverage status on exit
closes #719
2021-10-22 18:40:14 +02:00
Benoit Chevallier-Mames
fc908fb3f5 chore(benchmarks): fix the mistake in the change of the benchmark script 2021-10-22 18:39:08 +02:00
Arthur Meyre
fbfaeb2b17 feat: add table deduplication to NPMLIRConverter
closes #560
closes #561
2021-10-22 18:19:44 +02:00
Arthur Meyre
76d6f1e1f1 chore: bump version to 0.2.0-rc4 2021-10-22 18:05:27 +02:00
Benoit Chevallier-Mames
bc90ed37ff chore(debugging): show problems in a clearer way with highlighted_nodes 2021-10-22 14:41:24 +02:00
aquint-zama
0b864afb76 docs: add versions.html template 2021-10-22 13:30:14 +02:00
aquint-zama
946f0c07c7 chore: update docs theme to v0.6.2 2021-10-22 13:30:14 +02:00
Benoit Chevallier-Mames
6edba1e10c chore(benchmarks): add benchmark scripts for more features
refs #700
2021-10-21 16:27:25 +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
jfrery
3a7274c905 docs: alert user on PROJECT_SETUP.md that zama's specific environment is needed 2021-10-21 10:16:26 +02: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
Umut
be453394fb fix(compilation): raise the appropriate error for intermediate signed integers 2021-10-20 17:15:52 +03:00
Arthur Meyre
92de61f485 chore: bump version to 0.2.0-rc3 2021-10-20 10:13:40 +02:00
Arthur Meyre
c16ac6ada8 chore(ci): add forgotten release template file 2021-10-19 20:40:27 +02:00
Arthur Meyre
e707333f36 chore(ci): update release text generation
closes #634
2021-10-19 18:30:05 +02:00
Arthur Meyre
83ddf92bdd chore(ci): update workflow to push doc
- check version and tag match
- push doc as version if not pre-release
- push doc as stable if version is the biggest one, clear cache in that
case

closes #454
2021-10-19 15:37:09 +02:00
Arthur Meyre
ab151091ce chore(scripts): add a target to trigger a release
- check the version coherence before creating the tag

refs #308
2021-10-19 15:37:09 +02:00
Arthur Meyre
a15e31dda4 chore: move pytest-randomly to dev deps 2021-10-19 11:06:42 +02:00
Benoit Chevallier-Mames
7bf2f09615 feat: remove support for np.invert
remove support for np.invert and propose to the user to use bitwise_xor instead, because of impossibilities with float fusing
closes #658
2021-10-19 10:40:23 +02:00
Arthur Meyre
fb0564eea2 docs(ci): change push target for documentation when pushing to main
- use preprod bucket through secrets

refs #454
2021-10-19 09:54:55 +02:00
Arthur Meyre
384026364e test: create default_compilation_configuration fixture
- update test code and use it where appropriate
- remove duplicate tests that lacked correctness verification
2021-10-19 08:51:35 +02:00
Arthur Meyre
82688206f7 refactor(mlir): generate tables before converting nodes to MLIR
- MLIRConverter becomes an abstract base class
- pass the needed informations in an extra dict to MLIR converters
- NPMLIRConverter handles the specifics of numpy tables generation
2021-10-18 18:39: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
dependabot[bot]
42d4a1b873 chore(deps): bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](5a4ac9002d...1e204e9a92)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 10:29:12 +02:00