Arthur Meyre
468686a92f
tools: add pytest_nb target to easily test notebooks
2021-09-03 09:58:00 +02:00
Arthur Meyre
b71664e38f
tools: ignore imports for code similarity in pylint
2021-09-03 09:58:00 +02:00
youben11
0fde0ae836
fix(tests): wasn't expecting bits to be update to max
2021-09-03 08:57:07 +01:00
youben11
2e459a344c
refactor(dtype_helpers): homogenize functions
2021-09-03 08:57:07 +01:00
youben11
31c1787af2
feat(mlir): conversion of dot node into MLIR
2021-09-03 08:57:07 +01:00
youben11
f686ca535a
feat(mlir): convert TensorValue inputs to MLIR
...
factorized the input type conversion of scalar values
2021-09-03 08:57:07 +01:00
Benoit Chevallier-Mames
cfe48cca15
test: add correctness tests for all supported ufunc's
...
closes #263
2021-09-02 16:00:33 +02:00
Arthur Meyre
9ffe9b667a
refacto: fix missed renaming after bad merge
2021-09-02 14:27:19 +02:00
Arthur Meyre
bf2585ba0a
refacto: rename hnumpy to numpy as requested for the package imports
2021-09-02 12:20:01 +02:00
Benoit Chevallier-Mames
e9c5ce27bb
feat: factorize the ufunc management and add lot of ufunc's
...
refs #126
2021-09-02 10:46:31 +02:00
Arthur Meyre
b582e68cd0
dev: add OPGraphs to compilation artifacts during float fusing
2021-09-01 15:25:33 +02:00
Umut
1e8debfb57
refactor: rename ClearValue/EncryptedValue to ClearScalar/EncryptedScalar
2021-09-01 15:33:19 +03:00
Arthur Meyre
95f683f37c
refacto: do not convert to int in get_table from ArbitraryFunc
...
- this assumption only holds for compiler v0 and there are checks in the
MLIR converter to verify that the ArbitraryFunction yields integers
2021-09-01 13:42:35 +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
914fb19ebb
tools: adapt UTC timezone for package watcher to match Paris Time
2021-09-01 10:38:50 +02:00
Arthur Meyre
3b339b1e88
tools: make sphinx-build warnings errors
...
- add -W and --keep-going for SPHINXOPTS
- use $(MAKE) for make invocations
- build the docs in the conformance phase as the sphinx build has checks
2021-09-01 10:31:33 +02:00
Benoit Chevallier-Mames
2badcecd0d
feat: append \n instead of prepending it in get_printable_graph
...
closes #222
2021-09-01 10:23:14 +02:00
Umut
3b3714893b
fix(getting-started-document): fix the invalid highlighting that cause sphinx warnings
2021-09-01 10:57:07 +03:00
Umut
a9ccba60ef
docs: create compilation pipeline in depth document
2021-09-01 10:57:07 +03:00
Umut
a7eb2973a6
chore(Makefile): run clean_docs before running docs to prevent obsolete warnings
2021-09-01 10:57:07 +03:00
Umut
1fa049d914
feat: dump compilation artifacts automatically on compilation failures
2021-08-31 18:40:40 +03:00
Umut
02fbbfeaf7
test(drawing): crate test for saving the drawing
2021-08-31 18:40:40 +03:00
Benoit Chevallier-Mames
0d84f8c5f5
feat: adding exp functions in the managed operators
...
refs #126
closes #260
2021-08-31 17:24:30 +02:00
Benoit Chevallier-Mames
e90df9c0b7
feat: adding arcsin, arccos, arctan in the managed operators
...
refs #126
closes #257
2021-08-31 16:39:17 +02:00
Benoit Chevallier-Mames
4c77f08854
feat: adding tan in the managed operators
...
refs #126
closes #255
2021-08-31 16:39:17 +02:00
Arthur Meyre
3c6969f7f4
tools: updated package watcher with helper script
2021-08-31 16:15:03 +02:00
Arthur Meyre
135805a1b9
tools: make matplotlib work inside the dev docker
...
- use special DNS from docker
- install tkinter
- use proper matplotlib backend
- add instructions to install xserver in docs/dev/GETTING-STARTED.md
2021-08-31 14:57:20 +02:00
Benoit Chevallier-Mames
802f7943b1
feat: adding cos in the managed operators
...
refs #126
closes #235
2021-08-31 12:25:24 +02:00
Arthur Meyre
758a5727dc
fix: disable the package watcher for now
...
- I used the wrong date value, will update in a further PR
2021-08-31 11:43:32 +02:00
youben11
e408b292d3
ci: pulling latest image when building docker img
2021-08-31 10:12:10 +01:00
Arthur Meyre
b9fd9b7b9b
fix: bad workflow format
2021-08-31 10:36:42 +02:00
Arthur Meyre
0f2b7f7d2a
build: allow docker base image build triggered by API call
...
- add a polling script to check packages versions regularly and rebuild if
the compiler image is more recent
2021-08-31 10:14:55 +02:00
youben11
784158741e
feat(mlir): TLU conversion
2021-08-31 09:04:24 +01:00
Arthur Meyre
dbda93639b
dev(ir): add get_table function to ArbitraryFunction node
2021-08-31 09:04:24 +01:00
Arthur Meyre
74f0c9600e
fix: update LD_PRELOAD in docker image and workflows
2021-08-30 18:13:55 +02:00
Arthur Meyre
c907cd0470
docs: float fusing explanation
2021-08-30 18:02:58 +02:00
Benoit Chevallier-Mames
809ce28b38
feat: an option to show MLIR
...
closes #224
2021-08-27 18:48:59 +02:00
Arthur Meyre
61daa49e9d
fix(tools): update Makefile targets to allow make binary path with spaces
...
- avoids issues if the make binary path contains spaces
2021-08-26 15:31:58 +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
1b489b281c
refactor: move is_equivalent to conftest.py for tests
2021-08-26 14:15:30 +02:00
Arthur Meyre
31259e556c
refactor: remove the content= when adding nodes to a graph
...
- required by tests but can be done by the testing function itself
2021-08-26 11:25:55 +02:00
Benoit Chevallier-Mames
9a3e15e89a
test: add tests of np.dot with compile_numpy_function_into_op_graph
...
closes #201
2021-08-26 09:37:31 +02:00
Arthur Meyre
1ebbd3ea91
fix(build): only allow one Docker image build per ref/branch
2021-08-25 16:22:46 +02:00
aquint-zama
0f7f5a302a
chore(templates): update issue templates
...
refers #129
2021-08-25 14:28:52 +02:00
Arthur Meyre
202dffb4a5
Build/env dev docker 127 ( #196 )
...
build: add workflow to create HDK env Docker Image
- make bot username a secret
- update Makefile to pull the HDK image
- have a separate Makefile for the dev specific Docker Image needs
2021-08-25 14:09:54 +02:00
Arthur Meyre
ff260b2cd2
feat(nptracer): add dot tracing abilities
...
- remove no cover from Dot.label
- small refactor of BaseTracer to make _sanitize a class method
- small refactor of get_ufunc_numpy_output_dtype to manage funcs and ufuncs
- add function routing to NPTracer
- add dot tracing to NPTracer
- small refactor to get tracing functions for numpy funcs and ufuncs
2021-08-25 11:00:36 +02:00
Arthur Meyre
6d663ef63d
dev(ir): add Dot IntermediateNode
2021-08-25 10:51:03 +02:00
Arthur Meyre
4655bea987
fix: register IR nodes to check when nodes are missing debug draw colors
2021-08-25 10:51:03 +02:00
Umut
b41029d9c0
refactor(drawing): start using graphviz for visualization
2021-08-25 10:01:20 +03:00
youben11
2585eb7ed8
tests: result correctness of the compiled function
2021-08-24 16:12:44 +01:00