Add shell of parameter selection pass for JaxiteWord#2933
Open
j2kun wants to merge 6 commits intogoogle:mainfrom
Open
Add shell of parameter selection pass for JaxiteWord#2933j2kun wants to merge 6 commits intogoogle:mainfrom
j2kun wants to merge 6 commits intogoogle:mainfrom
Conversation
Collaborator
Author
|
CC @Zohaib58 please review this PR and let me know what values to use for the other currently-dummy parameters. |
j2kun
commented
May 8, 2026
| def JaxiteWord_CkksParameters : JaxiteWord_Attribute<"CkksParameters", "ckks_parameters"> { | ||
| let summary = "Jaxite CKKS parameters"; | ||
| let description = [{ | ||
| Parameters for Jaxite CKKS backend. |
Collaborator
Author
There was a problem hiding this comment.
@JianmingTONG Could you provide a quick description of the parameters that would be suitable to include in the description field here? Particularly, r, c, dnum, composite_degree, batch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #2932, this PR adds a shell parameter selection pass (really a parameter "refinement" pass) that converts the existing CKKS parameters into parameters that are compatible with jaxite_word. In this case, the TPU backend requires <= 30-bit primes, and has a handful of other parameters that should be set.
FIXME: this PR still includes some dummy values for parameters that, I believe, can be hard-coded in the pass for now.