Commit Graph

606 Commits

Author SHA1 Message Date
Antoniu Pop
7c59c64564 fix(ci): [distributed CI] fix workflow and move build/test outside docker (needed to run on multiple nodes). 2024-04-12 09:56:30 +02:00
dependabot[bot]
10bec8e492 chore(ci): bump tj-actions/changed-files from 43 to 44
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 43 to 44.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Commits](https://github.com/tj-actions/changed-files/compare/v43...v44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 16:15:02 +02:00
dependabot[bot]
d701845cf1 chore(ci): bump docker/login-action from 2.1.0 to 3.1.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](f4ef78c080...e92390c5fb)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 15:57:44 +02:00
Bourgerie Quentin
8132a8a14b fix(ci): Download all artifacts to the wheels directory 2024-03-19 11:28:06 +01:00
dependabot[bot]
983631f6de chore(ci): bump tj-actions/changed-files from 41 to 43
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 43.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Commits](https://github.com/tj-actions/changed-files/compare/v41...v43)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 09:41:21 +01:00
Antoniu Pop
312f505063 feat(ci): add distributed CI test run target 2024-03-18 13:39:03 +00:00
David Testé
c52893f465 chore(ci): add distributed cpu build and tests workflow 2024-03-18 13:39:03 +00:00
Bourgerie Quentin
9ce4ffa9aa fix(ci): Separate build and test release 2024-03-15 09:39:38 +01:00
Benoit Chevallier-Mames
e37a840e7e docs(compiler): adding API doc 2024-03-13 17:10:00 +01:00
Bourgerie Quentin
11f1935119 fix(ci): Update path of auto-generated dialect documentation 2024-03-12 16:43:13 +01:00
Bourgerie Quentin
23a521e5d1 chore(ci): Test default configuration on python CI tests 2024-03-11 16:51:05 +01:00
rudy
2f7d3ff2cc chore(frontend-python): private release tests 2024-02-21 17:11:15 +01:00
rudy
da2134337e fix(frontend-python): package test should not install graphviz on macos 2024-02-21 17:08:58 +01:00
rudy
de0af6638c fix(frontend-python): package test should install extra requires on linux 2024-02-21 14:07:47 +01:00
rudy
e1d7be02c6 fix(frontend-python): macos os tests without graphviz 2024-02-20 17:23:58 +01:00
Bourgerie Quentin
22bbdec086 fix(ci/compiler): Remove KeySetCache directory on mac os CI to avoid space disk issues 2024-02-20 09:17:13 +01:00
Bourgerie Quentin
a654e68eab chore(ci): Update cuda version 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
1545779e6a chore(ci): Cleanup main jobs dispatch 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
bdc1151356 chore(compiler): Update dockers base image 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
dd62426320 chore(ci): Cleanup host tmp dir even if tests fails 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
aa5d7edfbc chore(ci): Fix package name for testing wheel 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
f9e3cb0735 chore(ci): Fix tag filtering 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
5687bce9e3 chore(frontend-python): Fix hack for multiple omp library in macos tests 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
7c3e4388aa chore(ci): Use a stable version of the nightly rust toolchain for concrete-cpu build 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
b29aa78a1f chore(optimizer): Remove nightly check as it randomy fail because of the unstable version 2024-02-13 17:02:46 +01:00
Bourgerie Quentin
5b3ab5f4b3 chore(ci): Trigger main jobs on push on release branches 2024-02-13 17:02:46 +01:00
Umut
965f5d2780 chore(ci): run apt update before apt install during python release 2024-02-06 08:59:37 +01:00
Umut
4999c1ebfe chore(ci): use apt instead of dnf when testing python frontend when releasing 2024-01-25 12:42:08 +03:00
Umut
037600112d feat(frontend-python): drawing 2024-01-23 11:42:26 +03:00
rudy
6db7c5c1fe fix(common): version tag major.minor.revision(-whatever)? 2024-01-11 17:40:00 +01:00
Antoniu Pop
6eed9a8e9e fix(ci): restrict run of CP GPU tests to push on main only due to length. 2024-01-05 13:15:12 +00:00
aPere3
6691c8f107 feat(frontend): add support for gpu in concrete-python 2024-01-05 13:15:12 +00:00
Bourgerie Quentin
f58c0396e5 chore(compiler): Remove automatic compiler gpu benchmark on merge 2024-01-02 19:23:38 +01:00
Bourgerie Quentin
06509bb5d7 chore(ci): Fix file changed 2024-01-02 19:23:38 +01:00
dependabot[bot]
8879c4b376 chore(ci): bump tj-actions/changed-files from 32 to 41
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 32 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Commits](https://github.com/tj-actions/changed-files/compare/v32...v41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 14:27:10 +01:00
dependabot[bot]
0c4b9b0731 chore(ci): bump dawidd6/action-download-artifact from 2 to 3
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2 to 3.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 14:22:42 +01:00
dependabot[bot]
911cac23fe chore(ci): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 14:21:36 +01:00
dependabot[bot]
f03226c6b6 chore(ci): bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 14:08:12 +01:00
dependabot[bot]
3efd421b25 chore(ci): bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 13:56:11 +01:00
Bourgerie Quentin
18e4673f11 chore(frontend-python/ci): Cleanup host after testing 2023-12-22 15:51:02 +01:00
Bourgerie Quentin
b2e918156c chore(ci): Fix keyset cache path for concrete python tests 2023-12-22 15:51:02 +01:00
Bourgerie Quentin
a812984636 chore(backend/cuda): Removing concrete cuda workflow (since new development will be in another repo) 2023-12-22 15:51:02 +01:00
Bourgerie Quentin
98274e012e test(backend-cpu): Remove useless zip tests 2023-12-22 15:51:02 +01:00
Alexandre Péré
e82a8f6ddb chore(compiler): fix broken retry for flaky tests 2023-12-18 15:54:25 +01:00
Bourgerie Quentin
95ddf4b65e fix(ci): Remove keyset cache for e2e benchmark 2023-12-15 11:00:45 +01:00
Alexandre Péré
e8ef48ffd8 feat(compiler): introduce concrete-protocol
This commit:
 + Adds support for a protocol which enables inter-op between concrete,
   tfhe-rs and potentially other contributors to the fhe ecosystem.
 + Gets rid of hand-made serialization in the compiler, and
   client/server libs.
 + Refactors client/server libs to allow more pre/post processing of
   circuit inputs/outputs.

The protocol is supported by a definition in the shape of a capnp file,
which defines different types of objects among which:
 + ProgramInfo object, which is a precise description of a set of fhe
   circuit coming from the same compilation (understand function type
   information), and the associated key set.
 + *Key objects, which represent secret/public keys used to
   encrypt/execute fhe circuits.
 + Value object, which represent values that can be transferred between
   client and server to support calls to fhe circuits.

The hand-rolled serialization that was previously used is completely
dropped in favor of capnp in the whole codebase.

The client/server libs, are refactored to introduce a modular design for
pre-post processing. Reading the ProgramInfo file associated with a
compilation, the client and server libs assemble a pipeline of
transformers (functions) for pre and post processing of values coming in
and out of a circuit. This design properly decouples various aspects of
the processing, and allows these capabilities to be safely extended.

In practice this commit includes the following:
 + Defines the specification in a concreteprotocol package
 + Integrate the compilation of this package as a compiler dependency
   via cmake
 + Modify the compiler to use the Encodings objects defined in the
   protocol
 + Modify the compiler to emit ProgramInfo files as compilation
   artifact, and gets rid of the bloated ClientParameters.
 + Introduces a new Common library containing the functionalities shared
   between the compiler and the client/server libs.
 + Introduces a functional pre-post processing pipeline to this common
   library
 + Modify the client/server libs to support loading ProgramInfo objects,
   and calling circuits using Value messages.
 + Drops support of JIT.
 + Drops support of C-api.
 + Drops support of Rust bindings.

Co-authored-by: Nikita Frolov <nf@mkmks.org>
2023-11-09 17:09:04 +01:00
rudy
9139101cc3 fix(frontend-python): ci, duplicated shared lib 2023-11-06 10:38:13 +01:00
rudy
87c877bc7e chore(ci): valid dependabot commit title 2023-10-30 10:20:19 +01:00
rudy
1f4361b773 chore(ci): simpler detection for markdown link check 2023-10-30 09:23:46 +01:00
aquint-zama
a47d7661a4 chore(ci): add markdown link check 2023-10-27 15:40:21 +02:00