Skip to content
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

integrate CKKS with TPU kernels into HEIR #1065

Open
JianmingTONG opened this issue Oct 22, 2024 · 2 comments
Open

integrate CKKS with TPU kernels into HEIR #1065

JianmingTONG opened this issue Oct 22, 2024 · 2 comments

Comments

@JianmingTONG
Copy link

integrate CKKS into HEIR

@asraa asraa changed the title integrate CKKS into HEIR integrate CKKS with TPU kernels into HEIR Oct 22, 2024
@AlexanderViand-Intel
Copy link
Collaborator

AlexanderViand-Intel commented Oct 22, 2024

Hi :) HEIR already has support for CKKS (there's a CKKS dialect, we have a --secret-to-ckks pass, and there's support for emitting OpenFHE code for CKKS. I think there's also an end-to-end example in the demo notebook). Feel free to edit & re-open this issue or create a new issue if there's a specific feature/capability that you're missing!

EDIT: re-opened as I just saw asraa update the title to be more specific about CKKS-on-TPU

@asraa
Copy link
Collaborator

asraa commented Oct 22, 2024

yes! we're in a meeting right now but the intent for this was to integrate TPU kernels into HEIR which has a few routes:

  • Lower through a shell API like jaxite (implement CKKS to jaxite and emit python code)
  • Lower CKKS to polynomial, and then polynomial to Mosaic MLIR which can be compiled and scheduled for TPU (What is Mosaic jax-ml/jax#16855)

Will update more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants