-
Notifications
You must be signed in to change notification settings - Fork 120
Re-enable OpenFHE bootstrap placement for CKKS #2476
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
base: main
Are you sure you want to change the base?
Conversation
ca40520 to
6eab163
Compare
|
db851f6 to
d61f9f7
Compare
|
|
I also noticed that layout-propagation is quite slow here |
|
One weird thing is that when I set the bootstrap waterline to something silly (e.g., 8), then the IR for lenet.mlir generates some 74 levels, and bootstraps appropriately at level 66, but then only ever gets down to level 37 before the function completes. So we have 37 completely unused limbs. |
|
The issue is that this snippet of code sets a baseLevel of 37 for the subsequent annotate-mgmt pass: heir/lib/Transforms/OptimizeRelinearization/OptimizeRelinearization.cpp Lines 88 to 109 in 4200115
Have to figure out what this is doing. I wonder if @ZenithalHourlyRate remembers? |
|
I'm now able to get the pipeline to complete, but then there are a few issues:
|
This was used for |
|
To address the problem of bootstrap placement we first need to model The quick way to do so is ZenithalHourlyRate@47ef8ae . I have not polished it yet (and will not likely to get the time). The The things left are to match |
a830e9c to
7ddf280
Compare
Thank you! I just wanted to add that when I was experimenting with parameters as well, here are my findings:
|
No description provided.