Skip to content
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

Closed

Conversation

RomanBredehoft
Copy link
Collaborator

@RomanBredehoft RomanBredehoft commented Jun 13, 2024

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

@RomanBredehoft RomanBredehoft requested a review from a team as a code owner June 13, 2024 14:41
@cla-bot cla-bot bot added the cla-signed label Jun 13, 2024
@@ -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)
Copy link
Collaborator Author

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(
Copy link
Collaborator Author

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

Copy link
Collaborator

@andrei-stoian-zama andrei-stoian-zama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@RomanBredehoft RomanBredehoft force-pushed the feat/activate_input_compression_dataframe branch from 7c8f05e to 0463ca3 Compare June 17, 2024 12:08
@RomanBredehoft RomanBredehoft marked this pull request as draft June 17, 2024 12:53
@RomanBredehoft RomanBredehoft force-pushed the feat/activate_input_compression_dataframe branch from 9b8dc3a to 525beb7 Compare June 19, 2024 09:58
Copy link

Coverage passed ✅

Coverage details

---------- coverage: platform linux, python 3.8.18-final-0 -----------
Name    Stmts   Miss  Cover   Missing
-------------------------------------
TOTAL    7885      0   100%

60 files skipped due to complete coverage.

@RomanBredehoft RomanBredehoft changed the title chore: activate input compression for encrypted data-frames chore: activate input compression for encrypted data-frames [BLOCKED BY CP] Jun 19, 2024
@andrei-stoian-zama
Copy link
Collaborator

will be added in #805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants