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
WARNING: high error rate, more details with --display-optimizer-choice? #95
Comments
Hello,
Many thanks ! |
After updating the new version of concrete ml, this issue occurred. In previous versions, there was no such warning. |
Thanks for reporting ! We are indeed getting the same warning and are thus currently investigating on what could be the issue 🙂 |
Hello,
Thanks ! |
Hello, thank you for replying to me. |
Hi, you can find an explanation of You mention that you still have a problem, can you please elaborate ? |
Thanks,How fhe_simulation_inference function simulate Homomorphic encryption?Where can I see the details of simulation? |
In Concrete v1, homomorphic encryption wasn't simulated, computation graph was walked and evaluated (and some errors are added before TLUs to kinda simulate p_error). Here are the relevant pieces of code:
With Concrete v2, homomorphic encryption is simulated! We've introduced a new backend to do that and new simulation is using the same compiler architecture, so it's much more accurate. Here is the relevant piece of code: Hope it helps! |
To complement @umut-sahin's answer, Concrete-ML's currently works with Concrete v1 but we are planning on integrating v2 in our next release ! |
So this code does not simulate Homomorphic encryption?It uses Concrete v1 ?cifar_brevitas_finetuning |
Yes it does provide some kind of FHE simulation using Concrete v1's technique (graph evaluation + noise simulation), |
Hello @maxwellgodv , if you are satisfied with the above answer, please feel free to close this issue 🙂 |
So is it to compile the quantitative model into an circuit, and then input the data into the circuit for prediction ?And, where can I find documents about circuit. |
There is no dedicated page for circuit, but there are pages for everything you can do with a circuit in https://docs.zama.ai/concrete! Also, you can read the source code, every method is documented https://github.com/zama-ai/concrete/blob/main/frontends/concrete-python/concrete/fhe/compilation/circuit.py 🙂 And of course you can always ask directly to us, see https://www.zama.ai/community 😉 |
Hello again @maxwellgodv, is it okay for you if we close this issue as the current discussion does not concern the initial problem anymore ? If you have more questions, we'll gladly answer you on our community forum as well as on the Concrete ML channel that you can find in FHE.org's discord server 🙂 Thanks again for the report ! |
OK,thanks |
The text was updated successfully, but these errors were encountered: