Commit Graph

102 Commits

Author SHA1 Message Date
Mayeul@Zama
8ec0d4f3bd feat(optimizer): improve repeat_p_error speed 2022-10-04 10:29:00 +02:00
Mayeul@Zama
48962811b9 chore(optimizer): make cache not static 2022-10-03 16:36:14 +02:00
rudy
5a2ddccc6f fix: flapping test due to cache 2022-10-03 11:49:41 +02:00
Mayeul@Zama
0ca92d7c4c feat: add chart binaries 2022-09-28 15:13:09 +02:00
rudy
af3ee10ff8 fix: persistent cache, missing rewind between read and write 2022-09-28 10:13:17 +02:00
Mayeul@Zama
3c1c0ca951 feat(optimizer): improve p_error precision
internally use p_error instead of p_success
2022-09-22 15:15:33 +02:00
rudy
06c8bdfce0 fix: disable cache write on macos 2022-09-21 09:45:00 +02:00
rudy
d5188aa2f2 ci: run on macos 2022-09-21 09:45:00 +02:00
Mayeul@Zama
860c96ef46 refactor(optimizer): remove restart_at
fix new clippy lints
2022-09-19 15:10:52 +02:00
rudy
48e43c5762 chore: clarify no luts optimization and cuts 2022-09-19 15:10:52 +02:00
rudy
e2fa88aec2 feat: adding a persistent cache for decompositions per macro parameters 2022-09-16 12:29:18 +02:00
rudy
c1e9f97fee chore(deps): use concrete-npe repo 2022-09-16 10:13:47 +02:00
Mayeul@Zama
8f61988f18 feat(optimizer): distinguish CRT precisions 2022-09-13 11:58:38 +02:00
Mayeul@Zama
8c064ff72f fix(wop-pbs): fix complexity formula 2022-09-13 11:58:38 +02:00
Ayoub Benaissa
2990df3059 fix: don't assume git environment in Makefile
some environments do only use the code as is, and won't be able to detect the ROOT using git
2022-09-08 11:23:53 +02:00
rudy
320e3c1963 fix: dag with 1 tlu layer were sub-optimized assuming multi-layer in cuts 2022-08-31 16:25:39 +02:00
Mayeul@Zama
915cbe6647 style: remove useless #[allow(lint)] 2022-08-31 14:29:08 +02:00
rudy
ef1264a2fd fix(v0-parameters): the restart_at was not checked correctly 2022-08-31 14:18:06 +02:00
rudy
c6064c0aef feat(refs): explicit last version of ref to visualize changes
this is helpful during PR or to follow the history of ref changes
2022-08-31 13:54:43 +02:00
Mayeul@Zama
d310561136 feat(complexity): add Gpu complexity
refactor: computing_cost module
style: regroup search space parameters
style: use config struct to regroup parameters
2022-08-30 12:48:56 +02:00
rudy
bf6bdcfec2 fix: bug converting manp to variance factor 2022-08-22 11:29:25 +02:00
rudy-6-4
fc6120ed74 fix: accept higher than 16bits and move to classical when no tlu (#135)
this make levelled only circuit working without crt.

Co-authored-by: Quentin Bourgerie <bourgerie.quentin@gmail.com>
2022-08-19 13:59:08 +02:00
Quentin Bourgerie
efc3a85c66 fix: Return the crt_decomposition from the optimizer 2022-08-16 15:26:18 +02:00
rudy
af8296e6d2 feat(dag): avoid a copy on comment when possible 2022-08-16 14:58:40 +02:00
rudy
acf6cd26d9 fix(./optimizer): accept parameters 2022-08-16 11:15:15 +02:00
rudy
ec62f828d5 feat(cpp): return global p-error 2022-08-16 10:33:21 +02:00
rudy
b7c148257b feat(dag): compute global p-error after the local one is optimized
Resolves zama-ai/products#302
2022-08-12 15:00:19 +02:00
rudy
517ab218dc feat(dag): support dot broadcast
this is to facilitate a test with many multiplication
2022-08-12 15:00:19 +02:00
Quentin Bourgerie
4fffc26bbc fix: Don't let the optimizer to be to optimistic, up to 16 bits we didn't have yet a solution (#131) 2022-08-12 10:32:18 +02:00
Samuel Tap
226559e48d chore: update license 2022-08-08 15:31:15 +02:00
rudy
fc402f2dec feat(v0-parameters): separate slower tests 2022-07-20 17:16:49 +02:00
rudy
ba15b8d8aa feat: woppbs compiler entry point 2022-07-19 18:10:34 +02:00
rudy
75b2f76d78 fix(woppbs): fix fatal noise estimate 2022-07-11 15:40:14 +02:00
rudy
170ce8d725 fix(dag): tensorized lut are now counted as several lut 2022-07-04 18:11:15 +02:00
Mayeul@Zama
1707549139 fix: complexity to convert ggsw to fft in wop pbs 2022-07-04 11:29:10 +02:00
rudy
b688e47722 feat(repo): a script to facilitate cmdline optimizer launch 2022-07-01 13:04:58 +02:00
rudy
29874d7c31 doc: fix v0-parameters by-level variant usage 2022-06-28 17:15:16 +02:00
rudy
d5bec3f120 doc(v0-parameters): inform by-level must be run in v0-parameters 2022-06-28 17:14:31 +02:00
rudy
bb749c6c65 fix(ci): test in --release for speed 2022-06-28 10:27:08 +02:00
Samuel Tap
8237138c78 feat(securityLevel): supporting 80, 96, 112, 128, 144, 160, 176, 192, 256 2022-06-28 10:25:13 +02:00
Samuel Tap
ca578a9c12 feat(securityLevel): security weights in hmap 2022-06-28 10:25:13 +02:00
Mayeul@Zama
b446d3124d feat(pareto): add benchmark for pareto computation 2022-06-27 15:38:30 +02:00
rudy
b4821b4b8c feat(woppbs): use pareto_blind_rotate/pareto_keyswitch routines, 4x speedup 2022-06-27 12:09:04 +02:00
Samuel Tap
0b4ddb53ae doc: adding a readme for v0-parameters tool 2022-06-23 19:13:36 +02:00
Mayeul@Zama
fd498a5286 feat(bench): add optimization benches
refactor v0-parameters
2022-06-23 09:38:37 +02:00
rudy
8775cc0be3 fix(woppbs): handle complexity tie for lower error rate and better reproducibility 2022-06-22 17:21:05 +02:00
Samuel Tap
0ab7ace9ac feat: fft noise for glwe in [1, 6] 2022-06-22 11:39:47 +02:00
rudy
cffe5e4ab0 feat(cpp): expose dag optimization 2022-06-21 17:19:36 +02:00
rudy
d220eb4009 feat: multiprecision, allow precision change in lut 2022-06-20 18:09:12 +02:00
rudy
b3e3a10f22 feat: precision specific noise summary 2022-06-20 13:56:15 +02:00