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
Arthur Meyre
e13347affc
fix(build): fix curl data and gha statuses/expressions
2021-09-09 11:15:30 +02:00
Arthur Meyre
fcaa141d2e
chore: update release issue template
...
- indicate where to update the python package version
2021-09-09 11:14:55 +02:00
Benoit Chevallier-Mames
bcc146bd6e
doc: let's agree on a plan
...
closes #305
2021-09-09 09:46:04 +02: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
Arthur Meyre
a8e7f0e237
tools: create Docker release image, helper build script and requirements
...
- also create Documentation and issue template
2021-09-08 18:16:30 +02:00
Arthur Meyre
1e58dde1fa
tools: improve docker env image size a little by removing apt lists
...
- also update and upgrade packages
2021-09-08 18:16:30 +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
b3f266c1c0
fix: fix new pylint warnings after version update
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
Benoit Chevallier-Mames
567a382632
doc: let's reorganise markdowns and documentation
...
closes #291
2021-09-08 11:27:02 +02:00
Benoit Chevallier-Mames
4778dc503b
doc: use the imperative mode in docstring
...
closes #230
2021-09-08 11:11:16 +02:00
Arthur Meyre
24c0735490
fix(build): do not mark job as failing if slack notification fails
2021-09-07 17:34:57 +02:00
Arthur Meyre
ff69f7424b
chore: rename secrets
2021-09-07 16:33:06 +02:00
Arthur Meyre
98c25c5d8b
chore: rename packages for concretefhe
2021-09-07 10:05:28 +02:00
Arthur Meyre
959328e0f5
chore: rename hdk to concrete first pass
2021-09-06 18:43:49 +02:00
Benoit Chevallier-Mames
b924ffa61a
chore: add a PR template
...
closes #293
2021-09-06 18:38:54 +02:00
Benoit Chevallier-Mames
150d33ba48
feat: make get_printable_graph give correct info for np.dot
...
closes #204
2021-09-06 11:57:45 +02:00
Benoit Chevallier-Mames
6b6aa7ee4e
doc: add info from Rand about external PR
...
closes #289
2021-09-06 10:29:28 +02:00
Arthur Meyre
00228e2817
chore: add BSD3 License
2021-09-03 17:07:01 +02:00
aquint-zama
3e7644d4d5
chore(issues): update bug issue template
...
add artifacts instructions
close #129
2021-09-03 14:24:19 +02:00
Arthur Meyre
97ce55447f
refactor: modify the imports to have everything in numpy
...
- allows users to do import hdk.numpy as hnp and use hnp for everything
- update notebooks and docs
2021-09-03 09:58:00 +02:00
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