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
Umut
498dbff775
chore(deps): force reinstall compiler packages in setup_env
2021-12-08 14:09:52 +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
d749f80b8e
chore: add beautifulsoup4 as dev dependency to manipulate versions.html
2021-10-29 14:15:34 +02:00
aquint-zama
946f0c07c7
chore: update docs theme to v0.6.2
2021-10-22 13:30:14 +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
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
aquint-zama
a386532c19
docs: update theme
2021-09-24 13:58:33 +02:00
aquint-zama
0e19e1aa44
chore: upgrade sphinx-rtd-theme
2021-09-17 14:57:36 +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
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
Umut
b41029d9c0
refactor(drawing): start using graphviz for visualization
2021-08-25 10:01:20 +03:00
Arthur Meyre
ed66981ccd
chore(reqs): move dev requirements to dev category
2021-08-18 09:36:03 +02:00
Umut
8df212ff49
bench: create the benchmarking infrastructure
2021-08-17 13:17:28 +03:00
Arthur Meyre
8dfed58829
chore(tools): add flake8 linter, flake8-bugbear plugin and fix issues
...
- remove detected `from hdk imports` (use relative imports instead) we ARE
the package
- change the way Float32 and Float64 are defined
2021-08-17 09:22:39 +02:00
Umut
479176e368
doc(examples): create quantized linear and logistic regression examples
2021-08-16 15:57:18 +03:00
Benoit Chevallier-Mames
8f3e461e3b
fix: docstring following google conventions
...
refs #122
2021-08-11 18:11:56 +02:00
Arthur Meyre
3f53c3320e
chore(req): add numpy dependency
...
- also add numpy typing plugin to mypy
2021-08-10 09:07:30 +02:00
Arthur Meyre
c6a2b4b35c
chore(reqs): update requirements
2021-08-03 18:35:12 +02:00
Benoit Chevallier-Mames
1196b00c6b
feat(debugging): implementing draw_graph
...
draw_graph is the function to show on a plot the traced function-to-compile
add edge numbers
refs #38
2021-07-30 11:00:35 +02:00
Arthur Meyre
42e9b8af2c
chore: change requirements to be able to use networkx for graph handling
...
- support only Python >= 3.7, numpy is also dropping support for 3.6
2021-07-26 17:05:53 +02:00
Arthur Meyre
36d93a60d9
chore(tools): add mypy as dev tool but don't check in CI for now
...
- we'll see if the benefits of static typing are worth it or not
2021-07-19 16:25:24 +02:00
Arthur Meyre
a2185af578
tests: add test structure and dependencies
...
- add unique ID generator to hdk and unit test it
refs #15
2021-07-16 12:25:10 +02:00
aquint-zama
ae992e4cdc
docs: move to sphinx
...
relates #15
2021-07-15 16:56:53 +02:00
Arthur Meyre
58e35136f5
chore(tools): add Makefile, formatting script, pylintrc and dependencies
...
refs #15
2021-07-15 11:46:19 +02:00
Arthur Meyre
8c61a12581
chore(tools): setup poetry and bare hdk package
...
refs #15
2021-07-15 11:09:17 +02:00