Calling a TFHE-rs circuit in Concrete

If I have a circuit written in TFHE-rs, can I call it from the concrete API? Is there a tutorial for this?

Specifically, I want to pass an encrypted Concrete numpy vector to the KNN code implemented by KU Leuven COSIC lab, found here:

Hello @lfolkerts, this is not possible today. I want to say ideally you should not trying to do that and write your knn logic with Concrete. But yes that may be an interesting feature to be able to call an external from Concrete, this is not in the Concrete roadmap yet and that raise a lot of questions of how we could implement that properly.

Also, just for your info, KNN in Concrete is in our roadmap for 2023

Thanks! This information is super helpful :slight_smile:

1 Like