Guillermo Oyarzun
b5b9b7a032
chore(gpu): add classical pbs params for gpu
2024-06-19 12:31:49 +02:00
David Testé
e4643c7919
chore(doc): update benchmarks timings
2024-06-19 09:06:40 +02:00
tmontaigu
baa3075f19
feat(tfhe): add FheUint512, FheUint1024, FheUint2048
2024-06-18 10:06:28 +02:00
tmontaigu
9cc97f9ab5
feat(zk): impl CanonicalSerialize/Deserialize
...
This is to allow specifying whether data should be compressed
as compression and validation adds a very signigicant overhead
especially in wasm where deserialization goes from 6 min to 450ms
2024-06-18 09:11:58 +02:00
David Testé
2bd9f7aab4
chore(shortint): remove compact pk t-uniform parameters set
...
Add new TUniform under classic/ that is not compact public key.
2024-06-17 16:33:32 +02:00
David Testé
833d52c1f1
chore(boolean): update parameters to security level of 132 bits
2024-06-17 16:33:32 +02:00
Agnes Leroy
4f2de51012
chore(gpu): add missing scalar rotate bench and update div bench
2024-06-17 15:50:14 +02:00
Agnes Leroy
134bec8f78
chore(gpu): fix multi-gpu bench workflow
2024-06-17 15:50:14 +02:00
Agnes Leroy
f2713a12c7
chore(gpu): fix if_then_else benchmark name, add bitnot benchmark
2024-06-17 15:50:14 +02:00
Mayeul@Zama
503fad69d2
chore(all): update SERIALIZATION_VERSION
2024-06-17 15:36:39 +02:00
Arthur Meyre
30ccb34ef9
chore(ci): manage the memory issues we are seeing
...
- shortint reduce test threads because of large keys
- integer clear in memory cache to avoid keeping two copies of keys per
process
2024-06-17 13:00:22 +02:00
Agnes Leroy
2ff64ccba0
chore(gpu): add apply bivariate lut as entry point on the rust side
2024-06-17 11:30:44 +02:00
dependabot[bot]
aeed5b70f3
chore(deps): bump dtolnay/rust-toolchain
...
Bumps [dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain ) from d8352f6b1d2e870bc5716e7a6d9b65c4cc244a1a to 21dc36fb71dd22e3317045c0c31a3f4249868b17.
- [Release notes](https://github.com/dtolnay/rust-toolchain/releases )
- [Commits](d8352f6b1d...21dc36fb71 )
---
updated-dependencies:
- dependency-name: dtolnay/rust-toolchain
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-17 09:18:06 +02:00
dependabot[bot]
8f707611a0
chore(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](125fc84a9a...e28ff129e5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-17 09:17:51 +02:00
dependabot[bot]
2d0671cdd8
chore(deps): bump actions/checkout from 4.1.5 to 4.1.7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.5 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.5...692973e3d937129bcbf40652eb9f2f61becf3332 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-17 09:17:33 +02:00
David Testé
f9307754ef
chore(ci): reduce number of keys generated in keycache
...
The keys/ folder was containing lots of unused keys in tests and
thus was eating around 20GB of disk space.
2024-06-14 19:38:58 +02:00
Beka Barbakadze
3af990b044
feat(gpu): Implement unsigned_overflowing_scalar_add for cuda backend
2024-06-14 15:41:24 +02:00
Arthur Meyre
0d8b1c6509
chore(zk): bump version to 0.2.0
2024-06-14 14:19:30 +02:00
Guillermo Oyarzun
c35cb4998d
chore(gpu): update gpu parameters
2024-06-14 11:27:47 +02:00
Agnes Leroy
e825277219
chore(ci): reduce the number of cpu threads used in tests on big instances
2024-06-13 21:22:29 +02:00
Agnes Leroy
71112231b9
feat(gpu): unsigned scalar div
2024-06-13 21:22:29 +02:00
Agnes Leroy
b78c719816
chore(gpu): add benchmark workflow for multi-bit multi-GPU
2024-06-13 17:38:46 +02:00
David Testé
7152f9c5c9
chore(ci): update slab-github-runner action in recent workflows
2024-06-13 17:38:46 +02:00
Agnes Leroy
d3a6b4a7d8
chore(gpu): add p3.8xlarge hourly cost
2024-06-13 13:01:59 +02:00
Pedro Alves
f49684bdac
feat(gpu): replicate luts and lut indexes to all available GPUs
2024-06-13 13:01:59 +02:00
Arthur Meyre
cf5fd87efb
feat(core): add variable Scalar type to PBS for input and output
2024-06-13 09:08:35 +02:00
David Testé
179fbfc9bb
chore(shortint): update default parameters
...
The default parameters are now offering a security level of 132
bits and uses a p-fail of 2**-64.
2024-06-12 17:22:24 +02:00
Arthur Meyre
ddf236ecbb
chore(shortint): remove MaxNoiseLevel check in from_raw_parts
...
- MaxNoiseLevel could have been optimized in a particular way, not the one
coded by the from function here
2024-06-12 08:59:03 +02:00
Arthur Meyre
e3fdb961b6
chore(core): remove a lost TODO
2024-06-12 08:59:03 +02:00
Agnes Leroy
2185bcf80e
chore(gpu): refactor signed overflow sub test to use FnExecutor
2024-06-12 08:44:48 +02:00
Agnes Leroy
418409231b
chore(gpu): refactor signed overflowing add tests to use a FnExecutor
2024-06-12 08:44:48 +02:00
Arthur Meyre
ce27c7c44a
refactor(tfhe): create associated CompactPrivateKey and prepare casting
...
- for casting from the CompactPublicKey parameter we need to add the
notion of a kind on the CompactCiphertextList, where one kind will need to
be cast thanks to an auxiliary keyswitching key and the other kind can just
be expanded as before
- to avoid weird situations/corner cases we remove the ability to encrypt a
"normal" ciphertext from a CompactPublicKey (which consisted in expanding
right after encryption)
2024-06-11 19:23:44 +02:00
dependabot[bot]
ccb6f98b09
chore(deps-dev): bump braces in /tfhe/web_wasm_parallel_tests
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-11 18:11:02 +02:00
Arthur Meyre
6014968655
chore(continuous-integration): change commit regex to allow hyphen in scope
2024-06-11 14:43:04 +02:00
Arthur Meyre
6687695d19
chore(gpu): removed unused dependency
2024-06-11 12:09:46 +02:00
Agnes Leroy
c7a0493715
chore(gpu): fix warnings in pcc_gpu
2024-06-11 11:22:33 +02:00
Arthur Meyre
24aeac7843
feat(core): add keyswitch that changes the scalar type from input to ouptut
2024-06-10 18:19:38 +02:00
Arthur Meyre
21a749541a
fix(integer): fix ZK packing chunk not being full
2024-06-10 18:19:11 +02:00
Arthur Meyre
b3b8f3273a
fix(test): there was a typo in a feature name not picked up by clippy
...
- fixed the test according to the code that was merged
2024-06-10 18:19:11 +02:00
Agnes Leroy
f2b4ebb863
chore(gpu): use different streams in if_then_else
2024-06-10 17:33:35 +02:00
Agnes Leroy
919a40077c
fix(gpu): use all gpus in omp loops
2024-06-10 16:05:36 +02:00
David Testé
ac6c90d13f
chore(bench): fix naming pattern on if_then_else cuda benchmark
2024-06-10 15:36:04 +02:00
Agnes Leroy
b8991229ec
feat(gpu): make PBS and ks execution parallel over available GPUs
...
Only GPUs with peer access to GPU 0 can be used for this at the moment.
Peer to peer copy is used if different GPUs are passed to memcpy_gpu_to_gpu
A gpu offset is passed as new parameter to pbs and keyswitch to adjust the input/output index user per gpu.
bsk and ksk are copied to all GPUs.
The CI now tests & runs benchmarks on p3.8xlarge aws instances
2024-06-10 15:05:42 +02:00
David Testé
5f0ca54150
chore(bench): add benchmarks for pbs-ntt64
2024-06-10 09:35:36 +02:00
dependabot[bot]
dddf85fb2c
chore(deps): bump tj-actions/changed-files from 44.5.1 to 44.5.2
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 44.5.1 to 44.5.2.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v44.5.1...d6babd6899969df1a11d14c368283ea4436bca78 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 08:58:43 +02:00
dependabot[bot]
d000f8ddf7
chore(deps): bump actions/checkout from 4.1.4 to 4.1.6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.4...a5ac7e51b41094c92402da3b24376905380afc29 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 08:58:33 +02:00
Agnes Leroy
70b643a1db
fix(gpu): fix cuda bench warnings
2024-06-07 13:33:37 +02:00
tmontaigu
3f9c1b0ca6
refactor(tfhe): Allow CompactCiphertextList to store heterogeneous types
...
This refactors the integer's CompactCiphertextList to allow storing
unsigned, signed (without necessarily the same number of blocks) and
booleans in a single comapct list.
This is better as its more flexible and allows for better compression
by not forcing to use a list per data type. This is especially
interessing with zero-knowledge proofs as they are expensive to compute.
This also adds the ability to pack integer blocks by using the carry
space, but makes the expansion require a ServerKey to split blocks
via PBS.
BREAKING CHANGE: expand method from CompactCiphertextList returns a
CiphertextExpander
BREAKING CHANGE: Removes 'typed' CompactList and Compact types from the hlapi
(e.g. CompactFheUintList/CompactFheUintX)
2024-06-06 17:26:13 +02:00
David Testé
301537a81b
chore(bench): add pbs128 to benchmarks suite
2024-06-06 10:23:25 +02:00
Beka Barbakadze
76338de99f
feat(gpu): add overflowing_add in cuda_backend
2024-06-05 15:45:16 +04:00