I want to encrypt my libtorch model when it is commercially available. What should I do? Does anyone can help me?
I think you can either encrypt the model file as it is and then add a decryption functionality by modifying the source code.
Or you can use CrypTen.
It really depends on your use case and the way you make it commercially available.
I am only aware of these two approaches since I am working on a similar project. If you have another ideas feel free to share them.