-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support TFHE-rs tensors #1130
Support TFHE-rs tensors #1130
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Benchmark suite | Current: 89833b8 | Previous: 40f575e | Ratio |
---|---|---|---|
v0 PBS table generation |
61195691 ns/iter (± 340500 ) |
60987249 ns/iter (± 410510 ) |
1.00 |
v0 PBS simulate dag table generation |
39917079 ns/iter (± 1552216 ) |
39462397 ns/iter (± 265023 ) |
1.01 |
v0 WoP-PBS table generation |
54057038 ns/iter (± 1808306 ) |
53768465 ns/iter (± 2021554 ) |
1.01 |
This comment was automatically generated by workflow using github-action-benchmark.
f519220
to
c24d34d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just minor comments
@@ -10,9 +10,7 @@ crate-type = ["lib", "staticlib"] | |||
|
|||
|
|||
[dependencies] | |||
concrete-csprng = { git = "https://github.com/zama-ai/tfhe-rs.git", rev = "483a4fe", optional = true, features = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to update to 0.10 before next release (https://github.com/zama-ai/concrete-internal/issues/902)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this to let me know, or you want me to update it?
|
||
// FheUint[metadata, ciphertexts[ciphertext[metadata, lwe_buffer] * n_cts]] + headers | ||
(meta_fheuint + (meta_ct + lwe_size * 8/*u64*/) * n_cts) + 201 | ||
// Vec[FheUint[metadata, ciphertexts[ciphertext[metadata, lwe_buffer] * n_cts]] + headers] * n_elem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not super safe but we can't do better I guess (wdyt @IceTDrinker @nsarlin-zama ?)
8c8a4c3
to
51c8923
Compare
51c8923
to
40f575e
Compare
also remove WrapperCpp as it's no longer needed
40f575e
to
89833b8
Compare
No description provided.