corelab-src / dacapo

Automatic Bootstrapping Management Compiler for FHE
MIT License
10 stars 0 forks source link

Error when running optimized code with SEAL: encrypted_ntt and plain_ntt parameter mismatch #2

Open Northrim opened 4 months ago

Northrim commented 4 months ago

I am getting the following error when running the optimized code for ResNet with SEAL: terminate called after throwing an instance of 'std::invalid_argument' what(): encrypted_ntt and plain_ntt parameter mismatch

Below are the commands I ran:

How can I resolve this issue?

Seonyoung-Cheon commented 4 months ago

Currently, SEAL does not support bootstrapping, so it cannot be tested as such. As a temporary solution, we have implemented SEAL's Encryption and Decryption to function similarly to bootstrapping. Please refer to the Tutorial-Test Code for details. However, this method cannot be considered true bootstrapping and is not recommended. Due to the current HEAAN license issue, we are unable to test the results of the DaCapo paper. Additional research is ongoing in this area. Thank you for your interest!