Commit Graph

18 Commits

Author SHA1 Message Date
Bourgerie Quentin
11f1935119 fix(ci): Update path of auto-generated dialect documentation 2024-03-12 16:43:13 +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
Alexandre Péré
e82a8f6ddb chore(compiler): fix broken retry for flaky tests 2023-12-18 15:54:25 +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
aquint-zama
25754a656a docs(common): add FHE dialects autogenerated docs 2023-07-13 14:33:54 +02:00
youben11
c4232eb71a feat(compiler/ci): enable rust bindings tests 2023-06-05 17:48:01 +01:00
Quentin Bourgerie
c2275ddd4d fix(ci): Disable doc build and compiler python-package 2023-03-21 07:21:56 +01:00
Quentin Bourgerie
f55c448a5f Revert "chore: add concrete python tests to ci"
This reverts commit ceefcc5853.
2023-03-21 07:21:56 +01:00
youben11
3e722a9d8b ci: enable minimal tests on PRs 2023-03-21 07:21:56 +01:00
Umut
ceefcc5853 chore: add concrete python tests to ci 2023-03-20 13:02:22 +01:00
Andi Drebes
8e9acaa1d9 fix(compiler): Use correct directory mapping for documentation in the workflow 2023-03-20 11:14:03 +01:00
Quentin Bourgerie
e36e2bd340 chore(ci): concurrency groups are broken with slab 2023-03-15 18:44:12 +01:00
Quentin Bourgerie
8ce61fa42c chore(ci): Change concurrency groups seems broken with nested worflow 2023-03-15 09:49:44 +01:00
dependabot[bot]
36b218a56b chore(deps): bump webfactory/ssh-agent from 0.5.0 to 0.7.0
Bumps [webfactory/ssh-agent](https://github.com/webfactory/ssh-agent) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/webfactory/ssh-agent/releases)
- [Changelog](https://github.com/webfactory/ssh-agent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webfactory/ssh-agent/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: webfactory/ssh-agent
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 09:18:33 +01:00
Quentin Bourgerie
67a4ba3d1b chore(ci): Cleanup ci 2023-03-14 16:48:07 +01:00
Quentin Bourgerie
914295b4a8 chore: Fix workflow for compiler documentation build 2023-03-09 17:43:01 +01:00
Quentin Bourgerie
c20726e487 chore: Refactor the ci in order to dispatch dependeding of file changes 2023-03-07 14:40:32 +01:00
Quentin Bourgerie
ea46bd70bb chore: Fix compiler CI 2023-03-07 09:08:29 +01:00