-
Notifications
You must be signed in to change notification settings - Fork 61
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
Quality of Life Pass/Pipeline Features #1107
Comments
Based on discussion from today's office hours: For the In general, these things should not be just stored in a single pass's paramaters but encoded into the IR (at the module level) |
Also I'm wondering why |
Added it to the list! Do you happen to know which tests you expect to break? |
No, haven't tried it. |
Small fixes/add-ons that I noticed while drawing up a pass/pipeline overview figure:
--secretize
'sentry-function
parameter should be optional and, if omitted, the pass should apply to all functions in the input (module?). This should then also be reflected in any pipelines that use--secretize
, making theirentry-function
optional, too.--annotated-mlir-to-....
that are the same as the current--mlir-to-...
pipelines but without the--secretize
pass.ciphertext-degree
parameter in the various passes & pipelines that use it should be optional, with the compiler using the size of (the right-most-non-one-dimension of) the first secret tensor in the function signature if the parameter is omitted (and erroring out if no such secret tensor function parameter exists)See: Encode (R)LWE Parameters into the IR #1197
--optimize-relinearization
should be added to the RLWE pipeline builder? (EDIT: Not until--optimize-relinearization
crashing #1148, and ideally also Generalize OptimizeRelinearization to support schemes besides BGV #1032 are fixed)--operation-balancer
shuld be added to the mlir-to-secret-arithmetic pipeline--bgv-to-openfhe
and--ckks-to-openfhe
passes can be merged into a single--rlwe-to-openfhe
pass combining the patterns from both passes.Also: Unify generic "convert binary op" patterns #1150
--mlir-to-ckks --rlwe-to-openfhe
, it might be nicer to keep backend-specific stuff separate/modular.The text was updated successfully, but these errors were encountered: