Agnes Leroy
fbba02472f
test(concrete_cuda): enhance the keyswitch test
...
It now tests execution on a vector of inputs. The noise is reduced so
the test is not as flaky as before.
2023-03-16 14:33:19 +01:00
Agnes Leroy
e0c52515bf
fix(concrete_cuda): make sure r > 0 in the wop PBS
...
Sometimes the optimizer provides inconsistent parameter sets for the wop
PBS depending on how many inputs & bits to extract we're going to need
for a certain precision. This results in r < 0 and until now the
corresponding error in concrete-cuda was very hard to understand. This
commit fixes this behavior.
Also, when introducing the support for k > 1 we forgot to update the
checks on the low lat PBS. This commit also fixes them.
2023-03-16 14:00:28 +01:00
Agnes Leroy
6efe5f3a3b
fix(concrete_cuda): fix cleartext mult and enhance linalg tests
2023-03-16 14:00:06 +01:00
David Testé
fdd39f363f
chore(ci): provide correct git branch on http slab call
2023-03-16 10:45:59 +01:00
David Testé
6f392c9435
chore(ci): avoid using merge commit sha in pull request
2023-03-16 10:13:46 +01:00
Agnes Leroy
629e22aaac
chore(concrete_cuda): fix tests, reduce test time
...
- Update concrete-cuda with latest commits in concrete-core
- Add C++ tests based on google test
- Run the tests in the CI with Cuda 11.8 and Cuda 11.1
- Test for many PBS/KS parameters
- Repetitions & samples are set for each parameter set in the PBS test
2023-03-16 09:30:27 +01:00
Agnes Leroy
4d82d177ab
fix(concrete_cuda): add latest fixes on the tests by Pedro
2023-03-16 09:30:27 +01:00
Agnes Leroy
9d9d32da84
test(concrete_cuda): test more PBS parameters
2023-03-16 09:30:27 +01:00
Agnes Leroy
39800f2d8a
test(concrete_cuda): add C++ tests to concrete-cuda
2023-03-16 09:30:27 +01:00
Agnes Leroy
7d7780bd23
fix(concrete_cuda): fix multi gpu behavior
2023-03-16 09:30:27 +01:00
Pedro Alves
5cb4e5ff4e
chore(concrete_cuda): Add checks to validate inputs passed to the scratch functions
2023-03-16 09:30:27 +01:00
Quentin Bourgerie
e36e2bd340
chore(ci): concurrency groups are broken with slab
2023-03-15 18:44:12 +01:00
Ayoub Benaissa
d88e27158c
chore: add top level gitignore
2023-03-15 16:40:25 +01:00
Quentin Bourgerie
e22ac9ef00
chore(ci): Fix GPU tests environment
2023-03-15 15:34:50 +01:00
Mayeul@Zama
4c93b83807
chore(cpu): nightly fmt
2023-03-15 14:20:54 +01:00
Quentin Bourgerie
ea79b2108b
chore(ci): Remove concurrency on main workflow
2023-03-15 14:14:51 +01:00
Quentin Bourgerie
d1cac8e25d
chore(ci/compiler): Fixing build and push compiler docker images
2023-03-15 14:11:58 +01:00
Mayeul@Zama
570ad78442
cleanup: remove concrete-core references
2023-03-15 10:55:13 +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
23f9049abd
chore(ci/benchmark): Fix GPU benchmark
2023-03-14 17:03:35 +01:00
rudy
a88a9c01b0
fix: v0-parameters, update security choice
2023-03-14 16:54:45 +01:00
rudy
8422a0ea2c
fix: solo_key::analyse, rm unused field
...
was used only to prevent too conservatives pre-cuts,
we no longer have pre-cuts
2023-03-14 16:54:45 +01:00
rudy
7d69ce0f40
fix: nightly clippy
2023-03-14 16:54:45 +01:00
Samuel Tap
77255e7eda
remove ceil in wop-pbs constraint
2023-03-14 16:54:45 +01:00
rudy
0156040982
fix: cuts for dag optimization are backs
2023-03-14 16:54:45 +01:00
Quentin Bourgerie
67a4ba3d1b
chore(ci): Cleanup ci
2023-03-14 16:48:07 +01:00
Mayeul@Zama
2a3a0907d8
feat(concrete-cpu): m1 support
2023-03-14 16:13:37 +01:00
Quentin Bourgerie
e019f0d01d
chore(ci): Fix and debug print compiler_publish_docker_images
2023-03-14 11:52:43 +01:00
youben11
1e435de9d6
fix: prefix compiled function name to avoid collision w other func
...
the new wrapper function will make a call to the main compiled function,
and we got some problem in the GOT/PLT due to function of the same name.
So now we prefiex with `concrete_` to avoid that.
2023-03-14 11:18:55 +01:00
youben11
dc8b762708
fix: add a wrapper to compiled circuits to unify invocation
...
this was already implemented for JIT using mlir::ExecutionEngine, but
was using a different, and more complex way for library compilation and
execution, which was causing a bad calling convention at the assembly
level in MacOS M1 machine. This commits unify the invocation of JIT and
Library compiled circuit, solving the previously mentioned issue, but
also gives the ability to extend compiled libraries to support more than one
returned value
2023-03-14 11:18:55 +01:00
Quentin Bourgerie
b1a94ac245
chore(compiler): format
2023-03-14 10:33:35 +01:00
Quentin Bourgerie
20b5542fe3
chore(ci): Fix the build and push docker compilers images
2023-03-13 22:11:20 +01:00
Quentin Bourgerie
0b76f2c49e
fix: Fix compiler compilation break after API break in concrete-cpu
2023-03-13 22:10:41 +01:00
Quentin Bourgerie
a241447da6
chore: Update ci to directly launch slab command and fix docker images
2023-03-13 20:13:01 +01:00
Pedro Alves
9462cdd924
feat(concrete_cpu): update with latest concrete-cpu main
...
- add concrete_cpu_decrypt_glwe_ciphertext_u64
- add a C entry point to encrypt values as GGSWs
- add a C entry point to init GLWE secret keys
2023-03-13 17:29:29 +01:00
Agnes Leroy
b4b09ec0ed
chore(ci): fix concrete-cuda and main workflows
...
Also refactor clang-format script for concrete-cuda
2023-03-13 15:34:27 +01:00
Antoniu Pop
ae22911bc9
chore: llvm bump and rebase.
2023-03-13 11:51:38 +00:00
Agnes Leroy
dc7754348d
concrete-cuda(ci): first setup for the concrete-cuda ci
2023-03-13 11:31:10 +01:00
Quentin Bourgerie
d2c531772d
chore: Fix profile machine for test and bench
2023-03-13 11:15:01 +01:00
Quentin Bourgerie
e02d12ab64
chore: Remove concrete-core dependecy and use the local concrete-cuda instead
2023-03-10 13:30:56 +01:00
Quentin Bourgerie
d5d7962e07
chore: Integrate concrete-cuda in the mono-repo
2023-03-10 13:29:37 +01:00
Quentin Bourgerie
d81c76aa02
chore: Fixing compilation error of the python bindings
2023-03-10 13:25:56 +01:00
Quentin Bourgerie
af824bf8a2
chore: Move concrete-cuda to the new mono-repo layout
2023-03-10 11:13:29 +01:00
Mayeul@Zama
645986803c
fix(optimizer): fix new nightly lints
2023-03-09 18:43:33 +01:00
Quentin Bourgerie
f3910c179b
chore: Run all test on main push
2023-03-09 18:29:12 +01:00
Quentin Bourgerie
55e6d075c9
fix(compiler): unused-result
2023-03-09 17:47:16 +01:00
Andi Drebes
3b00274a02
refactor(compiler): Use FoldAdaptor for FHE and FHELinalg folders
...
As per
https://discourse.llvm.org/t/psa-new-improved-fold-method-signature-has-landed-please-update-your-downstream-projects/67618 ,
attribute-based folders are now deprecated and their use generates a
warning during compilation.
This patch replaces the raw attribute-based folders with folders using
`FoldAdaptor`.
2023-03-09 17:47:16 +01:00
Umut
d975421c50
feat: implement (de)serialization of KeySet
2023-03-09 17:47:16 +01:00
Umut
dc086a795b
refactor: rename unserialize to deserialize in Python bindings
2023-03-09 17:47:16 +01:00