-
Notifications
You must be signed in to change notification settings - Fork 4
New Kernel Generators for CKKS #53
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
Conversation
…ix enables generate_p_isa_ops_pgm and run_p_isa to scripts in functional modeler to run properly and keeps the naming convention consistant between hec-p-isa-tools and HERACLES-SEAL-isa-mapping.
…ix enables generate_p_isa_ops_pgm and run_p_isa to scripts in functional modeler to run properly and keeps the naming convention consistant between hec-p-isa-tools and HERACLES-SEAL-isa-mapping.
…ix enables generate_p_isa_ops_pgm and run_p_isa to scripts in functional modeler to run properly and keeps the naming convention consistant between hec-p-isa-tools and HERACLES-SEAL-isa-mapping.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please convert code blocks annotated in comments to functions for clarity.
Also add comments to each stage.
Thanks
…hec-p-isa-tools into christopherngutierrez/rescale
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments above.
…r functions to basic which are used by mod/rescale kerns.
* Experimental VS Code Extension for the Kernel Language * Kernel Language examples Signed-off-by: Flavio Bergamaschi <[email protected]>
This PR implements the an experimental fix for a few issues in the RELIN kernel. Namely, the RELIN kernel generated code that was segmented due issues with composing DigitalDecompExtend and Keymul together. This fix uses internal temporary variables output_tmp , which will be refactored out in a following PR. Further, the input polynomials parts are hardcoded to 3 and output parts to 2 since the code assumes those sizes (also to be refactored to be more generic in the future). Today the RELIN kernel only supports 16k polynomials due to a limitation of the NTT/INTT kernels. This limitation is being removed and the RELIN kernel will be updated accordingly.
…of 2 polynomials - Tested for 16k, 32k, 64k, and 128k. (#46) Enhancements to the NTT/INTT kernel to support support generic power of 2 polynomials - Tested for 16k, 32k, 64k, and 128k. Co-authored-by: Flavio Bergamaschi <[email protected]>
….py (#47) * Refactor KeyMul and move it to basic.py * Refactor and move DigitDecompExtend to its own file, decomp.py. --------- Co-authored-by: Flavio Bergamaschi <[email protected]>
Fixes a bug that caused odd number of total NTT stages to write to incorrect output.
* Added a check in types and a test function in test_kerngen to verify that the poly order is a power of two and within upper(2**17)/lower(2**14) bounds. Co-authored-by: Flavio Bergamaschi <[email protected]>
* Adds Rotate Kernel for BGV. Tested for 16k, 32k, 64k and 128k Poly mod. * rotate.py - implementation of rotate kernel * manifest.json - adds rotate entry to BGV manifest --------- Co-authored-by: Flavio Bergamaschi <[email protected]>
Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v3.2.0...v3.3.0) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Flavio Bergamaschi <[email protected]>
…ix enables generate_p_isa_ops_pgm and run_p_isa to scripts in functional modeler to run properly and keeps the naming convention consistant between hec-p-isa-tools and HERACLES-SEAL-isa-mapping.
Bug fix for NTT Kernel generating extra unnecessary P-ISA instructions.
…r functions to basic which are used by mod/rescale kerns.
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@24.8.0...24.10.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…hec-p-isa-tools into christopherngutierrez/rescale
Closed - Superseded by PR #55 |
Proposed changes
Types of changes
What types of changes does your code introduce to the HE Toolkit project?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you are unsure about any of them, do not hesitate to ask. We are
here to help! This is simply a reminder of what we are going to look for before
merging your code.
Further comments