Commit Graph

525 Commits

Author SHA1 Message Date
Benoit Chevallier-Mames
e7e7a02425 test(execution): add tests with negative values
closes #844
2021-11-15 10:15:49 +01:00
Benoit Chevallier-Mames
1394dd6db5 chore: clarify these tests a bit 2021-11-15 10:10:58 +01:00
Arthur Meyre
93820e1588 feat: add support for __floordiv__
closes #871
closes #872
2021-11-11 09:42:02 +01:00
jfrery
c5952cd09f feat: add quantization utilities 2021-11-10 18:25:31 +01:00
IceTDrinker
5af498cb60 chore(deps): bump compiler to 3bf493e83c 2021-11-10 18:21:27 +01:00
IceTDrinker
49dd0f57c1 chore(deps): bump compiler to a888a6b329
- disable buildx as it seems to be failing a lot
2021-11-10 17:48:10 +01:00
Benoit Chevallier-Mames
1aad4d23d1 chore: be more verbose in this assert
closes #729
2021-11-10 17:31:08 +01:00
Arthur Meyre
955470fb89 feat: add support for __truediv__
- cannot use the standard binary op workflow as we don't have an op for div

closes #866
closes #867
2021-11-10 15:07:59 +01:00
IceTDrinker
e316c1b3ba chore(deps): bump compiler to 47cb4b0e70 2021-11-10 14:30:22 +01:00
Arthur Meyre
8a91760b12 chore: check latest base image is strictly newer
- otherwise we try to open PRs for no good reason (thankfully no diffs
means the PR is not opened)
2021-11-10 11:03:38 +01:00
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