Commit Graph

3703 Commits

Author SHA1 Message Date
Bourgerie Quentin
bf2ec9ea13 chore(ci): Reenable GOU benchmark 2024-08-02 17:48:10 +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
Antoniu Pop
2d5d15f0b0 fix(compiler): [GPU runtime] prevent early deallocation of on-device data when multiple processes use the same input. 2024-07-23 18:52:01 +01:00
Antoniu Pop
cf32638264 fix(compiler): [GPU+DFR runtime] add sanity check to prevent both dataflow parallelization and GPU offload to be activated jointly as this is not yet supported. 2024-07-23 18:52:01 +01:00
Antoniu Pop
1ff6e8468f chore(ci): shitch GPU python wheel test profile AMI. 2024-07-23 18:52:01 +01:00
Benoit Chevallier-Mames
d00d4e54ac docs(frontend): more info on where to find wheels
closes #https://github.com/zama-ai/concrete-internal/issues/770
2024-07-23 18:37:20 +02:00
Benoit Chevallier-Mames
166fa77dc2 fix(ci): update Pandas files on CML side before running the tests 2024-07-23 17:22:08 +02:00
Ayoub Benaissa
d61f455c4f fix(ci): add leading 'v' in docker image tag 2024-07-23 14:37:50 +01:00
Benoit Chevallier-Mames
6e0441ac6d fix(ci): fixing some recent mypy, format and ruff issues 2024-07-23 10:27:28 +02:00
Alexandre Péré
2aeec5c82a fix(optimizer): fix leveled noise propagation 2024-07-23 09:40:12 +02:00
Alexandre Péré
c5051665fc docs(frontend): module keygen 2024-07-23 09:33:49 +02:00
Benoit Chevallier-Mames
aadc3a6929 docs(frontend): adding a levelled case for XOR distance between one encrypted and one clear vectors nightly-2024.07.23 nightly-2024.07.20 nightly-2024.07.19 nightly-2024.07.18 2024-07-17 11:40:45 +02:00
Benoit Chevallier-Mames
92ee970a28 docs(frontend): adding a use-case for Levenshtein distance
closes #https://github.com/zama-ai/concrete-internal/issues/750
2024-07-17 11:36:41 +02:00
Umut
4268251152 refactor(frontend): improve sha1 example 2024-07-17 11:26:53 +02:00
Alexandre Péré
bd3f36101f fix(compiler): segfault in tests nightly-2024.07.17 2024-07-16 11:55:31 +02:00
Antoniu Pop
4d7fe18613 chore(frontend): [GPU release] enable compilation with timing support by default and use runtime environment variable to activate as required. nightly-2024.07.16 2024-07-14 07:27:58 +01:00
Antoniu Pop
0bc933ab20 feat(compiler): [GPU runtime] add timing logs. 2024-07-14 07:27:58 +01:00
Antoniu Pop
2ffe60a108 feat(compiler): [GPU runtime] reduce copies in merge operations by merging SDFG batch outputs in place. 2024-07-14 07:27:58 +01:00
Antoniu Pop
c82cbf0b33 feat(compiler): add a pass to transfer ownership of data buffers to the SDFG runtime on Put operations. This allows to avoid an extra copy of the data for use in asynchronous operations. 2024-07-14 07:27:58 +01:00
Antoniu Pop
fe27cbb212 feat(compiler): Add counter and accumulator timers for time logging. Add environment variable CONCRETELANG_TIMING_ENABLED as prerequisite to activation of timing logs. 2024-07-14 07:27:58 +01:00
Antoniu Pop
71c29d0d02 fix(compiler): [GPU backend] restrict the direct lowering of operators to the GPU backend when already lowering through the SDFG dialect. Otherwise this forces GPU offload even for very fine granularity operations, bypassing SDFG and Batching. 2024-07-14 07:27:58 +01:00
Antoniu Pop
7bac6cb8b9 fix(compiler): [GPU runtime] remove now unnecessary assert restrictions on multiple keys in KS/BS operations for GPU. 2024-07-14 07:27:58 +01:00
Antoniu Pop
095db7d25e fix(backend): add error messages for unsuppoted polynomial sizes in switch defaults. 2024-07-14 07:27:58 +01:00
Antoniu Pop
1153dd2785 fix(ci): remove ssh mount in docker image build as not needed. 2024-07-13 19:29:48 +01:00
Antoniu Pop
88e9c9057d fix(ci): generate docker images without setting the CUDA user mode driver based on the compilation CUDA toolkit as this needs to be brought in by the CUDA container toolkit from the execution machine. 2024-07-13 19:29:48 +01:00
Antoniu Pop
6cd8fc6548 fix(ci): update the GPU compiler test and python wheel test AMI from Ubuntu 18.04 to Ubuntu 22.04. 2024-07-13 19:29:48 +01:00
Antoniu Pop
f39df55f60 fix(compiler): [GPU runtime] when GPU offload is not available set number of devices to 0 to avoid conflicts. 2024-07-13 19:29:48 +01:00
Umut
ace58cd5cf chore(ci): use correct slab structure nightly-2024.07.13 2024-07-12 12:44:58 +02:00