David Testé
ce70770347
chore(ci): add permission to github token to release crates
...
When using crates.io trusted publishing feature GitHub token `id-token: write` permission to be able to authenticate the workflow on the registry.
2025-08-21 09:04:57 +02:00
Nicolas Sarlin
01c0e0c038
fix(core): use of deprecated rayon repeatn
2025-08-17 21:58:42 +02:00
David Testé
a0befa9b0a
test(example): fix type inference for the regex engine example
2025-08-17 21:58:42 +02:00
David Testé
0214955e42
chore(build): lock zizmor version on install
2025-08-17 21:58:42 +02:00
Arthur Meyre
28eb48a30c
chore: fix typo
2025-08-17 21:58:42 +02:00
David Testé
ddb7b31736
chore(ci): use crates.io trusted publishing feature
2025-08-17 21:58:42 +02:00
Agnes Leroy
1cff290775
chore(hpu): fix clippy
tfhe-cuda-backend-0.10.1
2025-06-16 17:32:49 +02:00
David Testé
03c5864eea
chore(ci): add missing env variable in cuda release workflow
2025-06-16 17:32:49 +02:00
David Testé
4da4fbc820
chore(ci): ignore stale action refs on rust-toolchain action
...
This action doesn't create releases so the action refs doesn't point to a known tag.
If this zizmor findings is not ignored, then continuous integration pipeline is broken.
2025-06-05 17:29:21 +02:00
David Testé
d5dd36ad0a
chore(ci): pin rust-toolchain action to v1
2025-06-05 17:29:21 +02:00
David Testé
2cce7d7a0e
chore(ci): lock zizmor version to avoid breaking ci pipelines
...
Newer version of Zizmor can trigger errors due to new findings in workflows. To avoid breaking any ongoing pull-request, due to this unhandled update, zizmor version is locked.
2025-06-05 17:29:21 +02:00
David Testé
7370e86789
chore(ci): fix workflow security warnings
...
Since Zizmor v1.9.0, new pedantic warnings are detected especially
regarding template-injection patterns.
2025-06-05 17:29:21 +02:00
Andrei Stoian
1e6202c27b
chore(gpu): prevent nvToolsExt inclusion when not profiling
...
chore(gpu): prevent nvToolsExt inclusion when not profiling
fix(gpu): stdint
2025-06-05 17:29:21 +02:00
pgardratzama
330c9ab8b8
fix(doc): hpu example was not compiling
2025-05-20 21:40:04 +02:00
Nicolas Sarlin
47a6da60eb
chore(hpu): fix Cargo.toml for release
tfhe-rs-1.2.0
tfhe-hpu-backend-0.1.0
2025-05-19 17:47:22 +02:00
Nicolas Sarlin
9128a75094
fix(doc): uniformized readme file names
2025-05-19 15:22:05 +02:00
Arthur Meyre
30a58cdd1a
chore: update version in docs to 1.2.0
tfhe-zk-pok-0.6.0
tfhe-versionable-0.6.0
tfhe-versionable-derive-0.6.0
tfhe-cuda-backend-0.10.0
2025-05-16 17:10:12 +02:00
Agnes Leroy
03325bf94e
feat(gpu): add memory tracking functions for add/sub and scalar add/sub
2025-05-16 16:39:34 +02:00
Nicolas Sarlin
786fe66495
chore(zk): check that crs group element at index n is 0
2025-05-16 16:38:27 +02:00
Baptiste Roux
9ee8259002
feat(hpu): Add Hpu backend implementation
...
This backend abstract communication with Hpu Fpga hardware.
It define it's proper entities to prevent circular dependencies with
tfhe-rs.
Object lifetime is handle through Arc<Mutex<T>> wrapper, and enforce
that all objects currently alive in Hpu Hw are also kept valid on the
host side.
It contains the second version of HPU instruction set (HIS_V2.0):
* DOp have following properties:
+ Template as first class citizen
+ Support of Immediate template
+ Direct parser and conversion between Asm/Hex
+ Replace deku (and it's associated endianess limitation) by
+ bitfield_struct and manual parsing
* IOp have following properties:
+ Support various number of Destination
+ Support various number of Sources
+ Support various number of Immediat values
+ Support of multiple bitwidth (Not implemented yet in the Fpga
firmware)
Details could be view in `backends/tfhe-hpu-backend/Readme.md`
2025-05-16 16:30:23 +02:00
Agnes Leroy
a7d8d2b1d4
feat(gpu): revert enables the user to perform computation on multi-gpu using a custom selection of GPUs
...
This reverts commit 0280dbeb41 .
2025-05-15 18:01:17 +02:00
David Testé
8d1058364c
chore(ci): fix env var usage in make recipe for gpu benchmarks
2025-05-15 11:15:45 +02:00
Pedro Alves
0280dbeb41
feat(gpu): enables the user to perform computation on multi-gpu using a custom selection of GPUs
2025-05-14 09:24:12 +02:00
David Testé
97b5973e4c
chore(bench): store object measurements results in tfhe-benchmark
2025-05-13 16:05:16 +02:00
Agnes Leroy
406425dca4
chore(gpu): add hardware types for gpu bench
2025-05-13 11:51:24 +02:00
Agnes Leroy
fd79c4f972
chore(bench): parallelize transfer bench
2025-05-13 10:45:48 +02:00
David Testé
a96970e8c3
chore: update clap dependency version to 4.5.30
2025-05-13 10:35:51 +02:00
Agnes Leroy
67f11a44df
chore(gpu): parallelize dex bench
2025-05-12 18:14:24 +02:00
David Testé
aa6dadfe69
chore(ci): ensure minimal permission for github default token
...
With recent enforcing of the least permissions for GITHUB_TOKEN, pull-request from external contributors would trigger systematic error (i.e. on repository checkout) in the continuous integration pipeline.
Allowing contents:read fixes this behavior.
2025-05-12 18:07:02 +02:00
David Testé
ca1c5659a1
chore(ci): avoid double-quote on dry-run variable
...
If the DRY_RUN variable is empty and double-quoted to perform a safe expansion, then `cargo publish` treat the environment variable as `""` and thus fail by handling an unrecognized argument.
2025-05-12 15:25:17 +02:00
David Testé
031efaa39f
chore(ci): remove misleading continue-on-error
...
These continue-on-error would lead to misleading report in Action tab since it would display a successful workflow on the global status page while a job may have failed inside.
2025-05-10 14:26:53 +02:00
Arthur Meyre
6cccaf3f66
chore: fix Makefile to specify toolchain for cargo xtask
2025-05-09 18:32:21 +02:00
Nicolas Sarlin
4e73b4c68c
chore(gpu): bump cuda backend version to 0.10.0
2025-05-09 17:18:23 +02:00
Nicolas Sarlin
00b2c35f00
fix(shortint): store correct ap in ciphertext during encryption
2025-05-09 13:54:48 +02:00
David Testé
67ec4a28c1
chore(bench): move benchmarks to their own crate
...
This is done to speed-up compilation duration by avoiding
recompiling tfhe each time a modification is made in a benchmark
file.
2025-05-09 13:46:27 +02:00
Arthur Meyre
d197a2aa73
chore: TFHE-rs 1.2.0
...
- update parameters deduped for classic and multi bit
2025-05-08 09:30:36 +02:00
Arthur Meyre
11703fe3c1
chore: update v1_1 parameters so that comments are doc comments
...
- this allows to keep relevant information with param_dedup, as param_dedup
uses syn, comments are lost as syn does not preserver comments in the AST
2025-05-08 09:30:36 +02:00
Arthur Meyre
d05ee42629
chore: add param_dedup to alias redundant parameter defs across versions
2025-05-08 09:30:36 +02:00
Agnes Leroy
014d18aae9
chore(bench): update pbs count parsing in dex benchmark
2025-05-07 16:44:31 +02:00
Nicolas Sarlin
5a62301968
refactor(zk): run pke_v2 verification inside dedicated thread pools
...
Reducing the number of available threads actually improve performance
2025-05-07 15:18:24 +02:00
Andrei Stoian
e7de363d0c
feat(gpu): add poly product with circulant matrix
2025-05-07 10:10:45 +02:00
Arthur Meyre
9be9a5d2f4
feat(shortint): add CompressedAtomicPatternServerKey
2025-05-07 09:50:16 +02:00
Arthur Meyre
7724b7857f
feat(shortint): allow the KS32 parameters to have non native KSK modulus
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
597c61bbdb
chore(shortint): add tests for the KS32 AP
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
8a26df9177
chore(tests): add support for AP in tests and benches
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
c17a2527b7
feat(shortint): introduce the KS32 atomic pattern
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
0fd9537ae0
refactor(core): make ksk generation generic over the scalar type
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
3df5ea313a
refactor(shortint): make modswitch compression generic over scalar
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
76f0b57f80
refactor(shortint): make oprf generic over the Scalar type
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
6cde78171f
refactor(shortint): support any scalar in modswitch noise reduction
2025-05-06 14:48:07 +02:00