-
Notifications
You must be signed in to change notification settings - Fork 149
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
chore: activate input compression for encrypted data-frames [BLOCKED BY CP] #731
Conversation
@@ -347,7 +347,7 @@ def _get_training_quantized_module( | |||
# Enable the underlying FHE circuit to be composed with itself | |||
# This feature is used in order to be able to iterate in the clear n times without having | |||
# to encrypt/decrypt the weight/bias values between each loop | |||
configuration = Configuration(composable=True, compress_evaluation_keys=True) |
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.
the feature is activated in the QuantizedModule's compile function, so let's avoid some confusion here
@@ -37,17 +37,9 @@ def run_hybrid_llm_test( | |||
): | |||
"""Run the test for any model with its private module names.""" | |||
|
|||
# Multi-parameter strategy is used in order to speed-up the FHE executions | |||
configuration = Configuration( |
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.
same, these options are the QM's default, so let's avoid some confusion / unexpected mismatches
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.
Thanks!
7c8f05e
to
0463ca3
Compare
9b8dc3a
to
525beb7
Compare
Coverage passed ✅Coverage details
|
will be added in #805 |
We realized with @andrei-stoian-zama that encrypted data-frames did not have the input compression feature activated
this is currently blocked by https://github.com/zama-ai/concrete-internal/issues/758