How to ignore the output with "WARNING: The input does not fit in a single ciphertext, and some operations will be disabled."?
lunan0320 opened this issue · 1 comments
Question
How to ignore the output with "WARNING: The input does not fit in a single ciphertext, and some operations will be disabled."?
Further Information
I use the TenSEAL package for CKKS encryption in FedAvg algorithm, what I need is just Add operations and I don not care the multiple operations, I desire to ignore the warning from the tenseal_vector.cpp.
But these implementations are cpp files, which I can not find where to delete the warning.
Is there any api for me to pass my needs, which is for add operations, not multiple .
The warnings carry a lot of space for the output terminal.
"WARNING: The input does not fit in a single ciphertext, and some operations will be disabled.
The following operations are disabled in this setup: matmul, matmul_plain, enc_matmul_plain, conv2d_im2col.
If you need to use those operations, try increasing the poly_modulus parameter, to fit your input."
Screenshots
![image](https://private-user-images.githubusercontent.com/68414485/245688437-a10b2477-dff6-4f3a-9461-0a41b35af1d5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYxMjUwMTIsIm5iZiI6MTcxNjEyNDcxMiwicGF0aCI6Ii82ODQxNDQ4NS8yNDU2ODg0MzctYTEwYjI0NzctZGZmNi00ZjNhLTk0NjEtMGE0MWIzNWFmMWQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTE5VDEzMTgzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxZTZlNTY5NTNhMWFkZDNhOTQwYjFjMzBmZWNmMzUzMDE4YmQyM2ExYzZhMTgyZDMyMmY4YTUxZDc3YTQ0OGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wfBoDI82-dQtH62SVs3GPMOC46wfuDL5LEfA9zrQKOU)
System Information
- OS: MAC OS M1pro
- OS Version: 12.5.1
- Language Version: python 3.10,
- Package Manager Version: Conda 23.3.1