Deploying action recognition model

If performance is the priority here, would it be okay to deploy a heavy model for action recognition natively on mobile (using pytorch mobile)?

Or should I go with something like rest api, hosted on other remote server (amazon, azure, etc).

Having it on remote is more logical unless you have very bad internet connection.
its not customary to place the actual model on the device, as it puts everything into risk.