You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use secure multiparty computation (SMPC) during inference in my model which is built using TensorFlow will this library integrate well with my TensorFlow model or it is just supported with pytorch?
#8826
Closed
Am0stafa opened this issue
May 16, 2024
· 3 comments
Hi @Am0stafa we had tensorflow and tensorflow federated integrated into an older version of syft, I think version 0.7.0. Since 0.8.0 we moved to supporting jax and torch as the main DL libraries, but since we now have the ability to define custom docker images for the workload you can essentially use any python library you like.
The main thing you will need to do is make sure the version of tensorflow is compatible with syft. We install Syft in google colab so what ever version they use is probably compatible, best way to check is to try pip install tensorflow in a virtualenv with syft and see what versions resolve etc. The common dependencies are things like numpy.
Once you have your image with a working version of tensorflow make sure that the inputs and outputs of your function are supported by serialization.
I will close this issue for now. We will be adding more examples for DL soon but for now the above custom container workload information and notebook on how to send in weights and utilize custom class code should be sufficient.
I would love the community to discuss with me the potential errors I might get when integrating it with TensorFlow.
Thanks
The text was updated successfully, but these errors were encountered: