-
Notifications
You must be signed in to change notification settings - Fork 153
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
Initialize the security_content_manager and SecurityContentService in simulator #1959
Comments
This is caused by "Unknown type tenseal.tensors.ckksvector.CKKSVector, ..." |
@chesterxgchen , This issue is only about the secure content manager when running HE in simulation. The serialization error is discussed in this issue #1924. |
Note the related issue at #1970 |
This would help in experimenting with homomorphic encryption in simulation mode. Thanks @shawndengucf for raising the issue and providing a workaround.
Based on previous issue #1924. See also #1994
Thanks, @holgerroth ! It's really helpful. I created the
secure_workspace
and copied the whole folder to my project folder and specified thetenseal_context_file
forHEModelEncryptor
. However, the error persisted and I noticed thatSecurityContentService
doesn't get a chance to initial thesecurity_content_manager
if I submit the job with the simulator, seeload_tenseal_context_from_workspace
fromhomomorphic_encrypt.py
.I made it work by editing the function to below:
Originally posted by @shawndengucf in #1924 (comment)
The text was updated successfully, but these errors were encountered: