IBM / fhe-toolkit-linux

IBM Fully Homomorphic Encryption Toolkit For Linux. This toolkit is a Linux based Docker container that demonstrates computing on encrypted data without decrypting it! The toolkit ships with two demos including a fully encrypted Machine Learning inference with a Neural Network and a Privacy-Preserving key-value search.
MIT License
1.43k stars 158 forks source link

CentOS #194

Closed mzzd1111 closed 1 year ago

mzzd1111 commented 1 year ago

Hello! Can it be installed in CentOS systems? "docker pull ibmcom/helayers-pylab:latest"

github-actions[bot] commented 1 year ago

Thank you very much for helping us to improve the quality of our software. The FHE Toolkit development team want to sincerely thank you for submitting your first issue and joining our technical community! We will get started on your issue immediately.

mzzd1111 commented 1 year ago

I am currently renting a cloud server with CentOS installed, so I would like to know if "helayers-pylab" can be used in CentOS.

dubek commented 1 year ago

Hello @mzzd1111 ,

The easiest way is to install Docker on your server, and then run docker pull icr.io/helayers/helayers-pylab:latest (note that we're in the process of moving the Docker images to IBM Container Registry icr.io).

If you're interested in the Python library itself, you can install it with pip install pyhelayers.

mzzd1111 commented 1 year ago

Hello @mzzd1111 ,

The easiest way is to install Docker on your server, and then run docker pull icr.io/helayers/helayers-pylab:latest (note that we're in the process of moving the Docker images to IBM Container Registry icr.io).

If you're interested in the Python library itself, you can install it with pip install pyhelayers.

Thanks for your reply!

I successfully installed pyhelayers using "pip install pyhelayers", but it seems to be different from the version in the docker image. Because When I execute optimizer = pyhelayerslite.HeProfileOptimizer(nnp, context), it made an error: module 'pyhelayers' has no attribute 'HeProfileOptimizer'

dubek commented 1 year ago

I see pyhelayerslite there - why?

mzzd1111 commented 1 year ago

I see pyhelayerslite there - why?

I'm sorry, I made a basic mistake. I've solved the problem now. Thank you very much.