You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would help in experimenting with homomorphic encryption in simulation mode. Thanks @shawndengucf for raising the issue and providing a workaround.
Thanks, @holgerroth ! It's really helpful. I created the secure_workspace and copied the whole folder to my project folder and specified the tenseal_context_file for HEModelEncryptor. However, the error persisted and I noticed that SecurityContentService doesn't get a chance to initial the security_content_manager if I submit the job with the simulator, see load_tenseal_context_from_workspace from homomorphic_encrypt.py.
This is caused by "Unknown type tenseal.tensors.ckksvector.CKKSVector, ..."
which means FOBs doesn't know how serialize the object CKKSVector. If you define a decomposer for FOBs, and register the decomposer, then the serialization should pass.
@chesterxgchen , This issue is only about the secure content manager when running HE in simulation. The serialization error is discussed in this issue #1924.
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: