You can use Viam to deploy and run models locally on your own hardware.
If you want to train a custom ML model, you can train your own model and use Viam to deploy it to your device. Or training can be done in the Viam cloud, in which case images used for training need to be stored in Viam. But you can delete it as soon as you’re done training.