Skip to content

Cannot use large params #84

@crockeea

Description

@crockeea

I'm trying to use parameters larger than natively permitted by SEAL with CKKS. Specifically, I'm trying to use a much larger ring dimension so that I can use more moduli.

I've set SEAL_POLY_MOD_DEGREE_MAX to 262144 and SEAL_COEFF_MOD_COUNT_MAX to 122 in defines.h. I'm creating the CKKSContext using context = SEALContext::Create(*params, true, sec_level_type::none);, but I"m still getting "encryption parameters are not set correctly" from line 26 in ckks.cpp. I did more investigation and traced the problem to context creation, specifically parameter validation in context.cpp. Near the end of validate, it tries to create a base_converter, which seems to be failing in the block below the comment // generate Bsk U {mtilde} small ntt tables which is used in Evaluator.

How might I resolve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions