-
Notifications
You must be signed in to change notification settings - Fork 157
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
Ns/remove arch features #1858
Merged
Merged
Ns/remove arch features #1858
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nsarlin-zama
force-pushed
the
ns/remove_arch_features
branch
2 times, most recently
from
December 10, 2024 09:44
eceb309
to
2cd7df1
Compare
tmontaigu
reviewed
Dec 12, 2024
tfhe/src/core_crypto/commons/math/random/activated_random_generator.rs
Outdated
Show resolved
Hide resolved
IceTDrinker
reviewed
Dec 13, 2024
IceTDrinker
reviewed
Dec 13, 2024
IceTDrinker
reviewed
Dec 13, 2024
tfhe/src/core_crypto/commons/math/random/activated_random_generator.rs
Outdated
Show resolved
Hide resolved
IceTDrinker
reviewed
Dec 13, 2024
IceTDrinker
reviewed
Dec 13, 2024
tfhe/src/core_crypto/commons/math/random/activated_random_generator.rs
Outdated
Show resolved
Hide resolved
IceTDrinker
reviewed
Dec 13, 2024
IceTDrinker
reviewed
Dec 13, 2024
IceTDrinker
reviewed
Dec 13, 2024
IceTDrinker
reviewed
Dec 13, 2024
nsarlin-zama
force-pushed
the
ns/remove_arch_features
branch
from
December 13, 2024 14:00
2cd7df1
to
6f72490
Compare
IceTDrinker
reviewed
Dec 13, 2024
BREAKING_CHANGE: - The `seeder_unix` feature is no longer supported for tfhe-csprng
BREAKING_CHANGE: - The `seeder_x86_64_rdseed` feature is no longer supported for tfhe-csprng
BREAKING_CHANGE: - The `generator_x86_64_aesni` feature is no longer supported for tfhe-csprng
BREAKING_CHANGE: - The `generator_aarch64_aes` feature is no longer supported for tfhe-csprng
nsarlin-zama
force-pushed
the
ns/remove_arch_features
branch
from
December 16, 2024 10:47
69112ef
to
1cec487
Compare
tmontaigu
approved these changes
Dec 16, 2024
BREAKING_CHANGE: - The x86_64, x86_64-unix, aarch64, aarch64-unix have been removed, the target architecture and os family are now automatically detected. A `software_prng` feature has been added to force the use of a software implementation on older CPUs
nsarlin-zama
force-pushed
the
ns/remove_arch_features
branch
from
December 16, 2024 14:53
1cec487
to
f4e2757
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes: https://github.com/zama-ai/tfhe-rs-internal/issues/827
PR content/description
Removes the arch specific features: "x86_64-unix", "aarch64-unix",... Now tfhe-csprng enables the right seeders and prng automatically:
/dev/random
support. The seeder choice will be made at runtime based on the available optionssoftware_prng
feature.I think this is the closest to the previous behavior, where we already had a trait object for the seeder and a statically dispatched generator
Check-list: