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

Some questions about GPU acceletarion #81

Closed
summer-xrx opened this issue Aug 19, 2024 · 3 comments
Closed

Some questions about GPU acceletarion #81

summer-xrx opened this issue Aug 19, 2024 · 3 comments

Comments

@summer-xrx
Copy link

Hello, I am very curious about GPU acceletarion. I have noticed that GPU acceleration has not yet been implemented in many mainstream fully homomorphic encryption libraries. Now, I have the following questions:

  1. Why can't GPU acceleration be implemented in those mainstream libraries now?
  2. What are the technical challenges of using GPU to accelerate homomorphic encryption?
  3. Compared to other mainstream FHE libraries, what are the advantages of your library?
    Looking forward to your reply, thank you!
@enum-class
Copy link

Hi @summer-xrx

I think one problem would be Data Dependency for example modular exponentiation and polynomial multiplication, DFT, etc. so it limits the parallelization which is what GPUs are good at.

About the third question,

I saw you asking the same question in other libraries. OpenMined/TenSEAL#489
microsoft/SEAL#702

I recommend asking this question in openfhe as well. I think that is more active.

@summer-xrx
Copy link
Author

OK, thank you for your reply!

@enum-class
Copy link

@summer-xrx Also you can take a look at this https://github.com/zama-ai/tfhe-rs

and this GPU acceleration docs from zama
https://docs.zama.ai/tfhe-rs/guides/run_on_gpu

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

2 participants