Commit Graph

3729 Commits

Author SHA1 Message Date
Umut
82f6befd7d feat(frontend): refactor key value database example to use modules, test and benchmark it 2024-08-19 12:53:42 +03:00
Umut
7f31f6d1cc fix(frontend): get coverage back to 100 percent nightly-2024.08.17 nightly-2024.08.16 2024-08-15 11:07:20 +02:00
youben11
a9da40c1f5 chore(optimizer): revert 89ef8d344e
There was a reason for this hadcoded value. See https://github.com/zama-ai/concrete/actions/runs/10385798019/job/28755712025
2024-08-15 08:41:09 +01:00
Ayoub Benaissa
89ef8d344e fix(optimizer): remove hardcoded processing unit nightly-2024.08.15 nightly-2024.08.14 2024-08-13 13:51:34 +02:00
Umut
bb52dbb48a feat(frontend): accept clear arguments in server.run nightly-2024.08.13 2024-08-12 17:20:08 +02:00
dependabot[bot]
c511bd88b5 chore(ci): bump tj-actions/changed-files from 44.5.5 to 44.5.7
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 44.5.5 to 44.5.7.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](cc733854b1...c65cd88342)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 15:12:23 +02:00
dependabot[bot]
bde92bc0a0 chore(ci): bump docker/login-action from 3.2.0 to 3.3.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](0d4c9c5ea7...9780b0c442)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 14:56:40 +02:00
dependabot[bot]
3d757eee7a chore(ci): bump actions/upload-artifact from 4.3.4 to 4.3.6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b2256b8c0...834a144ee9)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 14:41:50 +02:00
youben11
5e701eea6a test(optimizer): mix tfhers and low_precision partitions nightly-2024.08.10 2024-08-09 17:21:31 +01:00
youben11
901ce0419f refactor(optimizer): move external partition during change_part creation 2024-08-09 17:21:31 +01:00
youben11
72d5b7bbb4 feat(optimizer): constrain optimizer with external max_variance 2024-08-09 17:21:31 +01:00
youben11
a1398fda9f feat(optimizer): block macro parameters in external partitions
we block them by reducing the search space to a single set of parameters
which is provided by the external partition
2024-08-09 17:21:31 +01:00
youben11
67e18abd11 feat(optimizer): partition with external partitions 2024-08-09 17:21:31 +01:00
youben11
c3c0976214 feat(optimizer): add change_partition operator 2024-08-09 17:21:31 +01:00
Benoit Chevallier-Mames
38dd2f73b3 docs(compiler): adding a tutorial with floats
closes https://github.com/zama-ai/concrete-internal/issues/744
nightly-2024.08.09
2024-08-08 16:44:40 +02:00
rudy
38600f8b82 fix(frontend-python): test_matmul.test_constant_matmul, randomly failing test 2024-08-08 15:14:54 +02:00
Umut
46c115ab35 feat(frontend): support configuration overrides for Server.load when via_mlir is used 2024-08-08 15:11:29 +02:00
Benoit Chevallier-Mames
79fdb8dbbf docs(compiler): update apidocs for CP 2.7
closes #https://github.com/zama-ai/concrete-internal/issues/678
2024-08-08 14:28:47 +02:00
rudy
bd380cc3c1 fix(frontend-python): test_modules with more reasonnable p_error 2024-08-08 14:21:32 +02:00
dependabot[bot]
733fa659ab chore(ci): bump zama-ai/slab-github-runner
Bumps [zama-ai/slab-github-runner](https://github.com/zama-ai/slab-github-runner) from 9e939a10db25c698cddf0da0f4f015bd47bb6838 to 447a2d0fd2d1a9d647aa0d0723a6e9255372f261.
- [Commits](9e939a10db...447a2d0fd2)

---
updated-dependencies:
- dependency-name: zama-ai/slab-github-runner
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 14:15:48 +02:00
dependabot[bot]
9c0f763839 chore(ci): bump actions/setup-python from 5.1.0 to 5.1.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](82c7e631bb...39cd14951b)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 14:08:58 +02:00
rudy
31726d83cf fix(frontend-python): disable coverage for optimal graphviz functionality 2024-08-08 13:49:58 +02:00
Ayoub Benaissa
d89af27a68 docs(compiler): fix link 2024-08-08 12:31:31 +01:00
Ayoub Benaissa
9c226f1769 docs(compiler): add note for building CP wheel in the compiler 2024-08-08 12:31:31 +01:00
Umut
a3cc2f144a fix(frontend): use proper inputsets in key value database example nightly-2024.08.08 nightly-2024.08.07 2024-08-06 12:15:50 +03:00
Alexandre Péré
941d78b1d1 feat(optimizer): improve errors for non-composable functions nightly-2024.08.06 2024-08-05 16:11:39 +02:00
rudy
2345f69d90 fix(frontend-python): fhe.refresh, similar to identity, but used as noise reducer 2024-08-05 11:27:58 +02:00
Umut
8230261ba0 docs(frontend-python): update workaround to refer to new features nightly-2024.08.03 2024-08-02 16:20:12 +02:00
rudy
ee19ffe01c fix(frontend-python): test_matmul, formatting error 2024-08-02 15:12:20 +02:00
rudy
89553858dd feat(frontend-python): release GIL on run, encrypt, decrypt 2024-08-02 11:35:08 +02:00
rudy
513e7dd3be fix(frontend-python): test_matmul.test_matmul, randomly failing test 2024-08-02 11:34:41 +02:00
Umut
2968e8070f docs(frontend): add performance tips section 2024-08-02 11:17:24 +02:00
dependabot[bot]
dfaf987e8c chore(ci): bump actions/download-artifact from 4.1.7 to 4.1.8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](65a9edc588...fa0a91b85d)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 11:05:59 +02:00
dependabot[bot]
81315ad101 chore(ci): bump actions/upload-artifact from 4.3.3 to 4.3.4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65462800fd...0b2256b8c0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 11:05:15 +02:00
dependabot[bot]
1f231627f5 chore(ci): bump docker/login-action from 3.1.0 to 3.2.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](e92390c5fb...0d4c9c5ea7)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 10:32:49 +02:00
rudy
66fd9e09b2 fix(frontend-python): bit extract avoid extra reinterpret_precision 2024-08-02 10:31:19 +02:00
rudy
dd7c05f585 fix(frontend-python): min coverage to 98.9 nightly-2024.08.02 2024-08-01 17:54:53 +02:00
Roman Bredehoft
eccc3f13b0 chore(ci): fix test_cml script 2024-08-01 17:20:47 +02:00
rudy
16306112ef feat(frontend-python): Makefile working without compiler 2024-08-01 17:05:30 +02:00
rudy
3adf658a97 fix(compiler): levelledOP conversion to dot like for optimizer
note: this cannot be done as before in the optimizer since the latter had more information.
here we assumed each input contribute equally to the resulting noise.

A better fix could be to provide the linear relation of inputs instead of manp and smanp.
2024-08-01 15:32:52 +02:00
Andi Drebes
9b034d9441 test(compiler): Ensure that ForLoopToParallelPass does not trigger for scf.for with parallel = false
This ensures that the regression fixed by
3cd3dff92a is not reintroduced, which
caused the compiler to abort in `ForLoopToParallelPass` for `scf.for`
loops with iteration arguments, even if these were marked with the
attribute `parallel` set to `false`.
nightly-2024.08.01 nightly-2024.07.31
2024-07-30 17:52:36 +02:00
Benoit Chevallier-Mames
bda9199573 fix(frontend): fix a broken link 2024-07-30 16:41:03 +02:00
Benoit Chevallier-Mames
69ee148d97 fix(frontend): fixing an issue in the string generation
closes #819
2024-07-30 16:41:03 +02:00
Benoit Chevallier-Mames
b98ad39478 docs(frontend): moving tutorials in the same directory 2024-07-30 12:08:36 +02:00
Andi Drebes
3cd3dff92a fix(compiler): Convert scf.for to scf.parallel only if parallel attribute is true
The pattern converting `scf.for` operations to `scf.parallel`
operations from `lib/Transforms/ForLoopToParallel.cpp` contains an
assertion that ensures that the source operation does not have any
iteration arguments in order to keep the conversion as simple as
possible.

However, if the attribute `parallel` of the source operation is
`false`, the operation is replaced with an identical clone and the
conversion could be treated as a no-op.

This change modifies the pattern, such that it simply fails if
`parallel` is `false`, making the check for the absence of iteration
arguments unnecessary and avoiding unnecessary bailouts by the
compiler.
2024-07-29 15:52:02 +02:00
rudy
0379f9a656 fix(frontend-python): fhe.function use staticmethod, disable linter for levenshtein example nightly-2024.07.30 2024-07-29 09:45:52 +02:00
Benoit Chevallier-Mames
cabe4e8fe2 docs(frontend): massive modifications in the documentation
part 4
nightly-2024.07.27 nightly-2024.07.26
2024-07-25 17:51:28 +02:00
Benoit Chevallier-Mames
d8e36c3627 docs(frontend): massive modifications in the documentation
refs #812
2024-07-25 10:18:55 +02:00
Benoit Chevallier-Mames
c777b4c225 docs(frontend): massive modifications in the documentation
refs #812
nightly-2024.07.25
2024-07-24 11:41:26 +02:00
Antoniu Pop
4bb7c21739 fix(compiler): [GPU runtime] enable dependence re-split when dependence is used in multiple subgraphs. nightly-2024.07.24 2024-07-23 18:52:01 +01:00