You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by laocaoshilaocao <no...@github.com.INVALID> on 2021/03/31 14:37:17 UTC

[apache/incubator-teaclave-sgx-sdk] Possibility to implement tensorflow/keras in sgx (#335)

Hi, i want to deploy one deep learning algorithm which uses tensorflow/keras a lot inside SGX.
I tried fortanixEDP before with tensorflow C binding API like https://github.com/tensorflow/rust, but it seems really hard to use because tensorflow is based on C and there is no libc in fortanix target.
Is that possible to use such C binding API by sgx-sdk for example tensorflow? I mean actually i don't quite understand why the tensorflow works in raw rust but not in SGX.
Hope to hear from you.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/335

Re: [apache/incubator-teaclave-sgx-sdk] Possibility to implement tensorflow/keras in sgx (#335)

Posted by Yu Ding <no...@github.com.INVALID>.
thanks for the pointer! i've been watching on tf's sgx support for quite a while. as of today i still believe libtensorflow-sys is the core problem. 2 years ago i looked into tf-lite and iirc my conclusion was that tf-lite could be ported with minimal changes. but i haven't got time for that since then ...

if you want to run full functional tf, another option is to use libOS, such as graphene. I know a couple of companies including Intel are trying to do so.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/335#issuecomment-811267186

Re: [apache/incubator-teaclave-sgx-sdk] Possibility to implement tensorflow/keras in sgx (#335)

Posted by laocaoshilaocao <no...@github.com.INVALID>.
Thanks for your reply.
Maybe it is better for me to rewrite the tf method i need in my project.
If in the future sgx-sdk can support tf (no matter what version it is ), i believe that would be a great help for many developments. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/335#issuecomment-811686700