Commit Graph

515 Commits

Author SHA1 Message Date
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
IceTDrinker
26688c9a2e chore(deps): bump compiler to 97389a3b06
- fix MLIR operator module change
2021-11-10 09:24:26 +01:00
Umut
ee202a03b3 feat(mlir): implement mlir conversion of basic tensor operations 2021-11-10 10:18:36 +03:00
Arthur Meyre
e20ad467e3 chore: allow to manually run the package watcher to update the env docker 2021-11-09 18:03:18 +01:00
Arthur Meyre
565756810d feat: add neg support to BaseTracer
closes #853
2021-11-09 18:02:59 +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
jfrery
fac7c9c954 feat: conversion from torch.nn.Module to numpy. 2021-11-09 11:02:48 +01:00
Umut
548b755409 fix(fhe_circuit): update type annotations for run method 2021-11-08 16:50:24 +01:00
Umut
f417246ea3 refactor(debugging): rename get_printable_graph to format_operation_graph 2021-11-08 13:20:18 +03:00
dependabot[bot]
6ea46d2cbe chore(deps): bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1e204e9a92...ec3a7ce113)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 09:56:22 +01:00
Umut
d4909a729f feat(benchmarks): add constant indexing benchmarks 2021-11-05 18:26:17 +03:00
Arthur Meyre
b716ddcf76 feat: clear error message when a constant shape is preventing float fusing
- happens when a constant is bigger than the variable input of the
subgraph, would require special handling, hard to write and requires a
concatenation/stacking operator see #587

closes #645
2021-11-04 16:55:14 +01:00
Arthur Meyre
fae89bd452 refactor: add python generic helpers
- move catch and update_and_return_dict there
2021-11-04 16:55:14 +01:00
Umut
39ad5bd894 feat(benchmarks): add dynamic indexing benchmarks 2021-11-04 17:49:24 +03:00
Umut
8e8e777c3d chore(scripts): replace : with colon in measurement script 2021-11-04 17:49:24 +03:00
Arthur Meyre
f530a0b739 refactor: make GenericFunction accept several inputs
- remove baked constants
- manage table generation for the updated node

closes #600
closes #822
2021-11-04 14:47:10 +01:00
Umut
7f32cf7965 fix(scripts): properly detect duplicate targets in check mode 2021-11-04 16:13:26 +03:00
Umut
4e41e3362b feat(benchmarks): add multi tlu benchmark 2021-11-04 16:13:26 +03:00
Arthur Meyre
bff367137e refactor: update GenericFunction to take an iterable as inputs
- also fix some corner cases in memory operations
- some small style changes

refs #600
2021-11-04 09:43:22 +01:00
Arthur Meyre
d2faa90106 refactor: replace UnivariateFunction by GenericFunction
- add an attribute fusable to False for the operations that should not be
explicitely fused from the original addition of GenericFunction
- add op_kind instance attribute to differentiate between TLU and memory
operations for GenericFunction

refs #600
2021-11-03 12:05:02 +01:00
Arthur Meyre
fed3342c5f fix(tracing): fix a corner case for astype on arrays with 1 element 2021-11-03 12:05:02 +01:00
Benoit Chevallier-Mames
50a6b06c37 feat(tracing): support x.reshape as well as np.reshape(x, )
closes #701
2021-11-03 11:01:06 +01:00
Benoit Chevallier-Mames
b1df5c0fbe chore: create a template for our new operators 2021-11-02 17:23:32 +01:00
Benoit Chevallier-Mames
3991ed3b38 chore: np.tranpose, np.reshape and np.ravel don't compile currently. 2021-11-02 16:18:55 +01:00
Benoit Chevallier-Mames
086dba4194 feat: management of reshape
refs #615
closes #786
2021-11-02 14:55:27 +01:00
Umut
39c16038c7 feat(extensions): create multi table lookup extension 2021-11-02 15:45:13 +03:00
Umut
d4e5831a57 fix(representation): add shape equality check to dot product node 2021-11-02 15:32:07 +03:00
Benoit Chevallier-Mames
8123a5ef45 feat: implement a generic node for functions which change shape
and implement np.transpose with it
and implement np.ravel with it

refs #745
2021-11-02 11:20:48 +01:00
Umut
759914dca6 fix(mlir): use arith dialect instead of std during MLIR conversion 2021-11-02 10:35:04 +01:00
Arthur Meyre
9dedf1abc6 chore: allow to stop package watcher with repo secret 2021-11-02 09:26:22 +01:00
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