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

"of_roots is too large" when creating CKKSEncoder #150

Closed
crockeea opened this issue Mar 25, 2020 · 1 comment
Closed

"of_roots is too large" when creating CKKSEncoder #150

crockeea opened this issue Mar 25, 2020 · 1 comment

Comments

@crockeea
Copy link

When using a very large ring (m=262144), I get an error when creating a CKKSEncoder. This is due to https://github.com/microsoft/SEAL/blob/master/native/src/seal/util/croots.h#L38, which sets root_fidelity_ to 131072. I'm not sure what this does, but it has the effect of limiting the size of the ring that can be used.

@WeiDaiWD
Copy link
Contributor

I've changed the generation of roots while addressing the issues that you have addressed previously. The limitation no longer exists. You will see that in the coming release. I'll also try to test the library with 262144.

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

No branches or pull requests

2 participants