If Modzy Core ever stops running on one of your edge devices, all of the models hosted on that device will also stop running. It can be helpful, then, to be able to restart Modzy Core without having to establish a new connection back to your enterprise instance of Modzy. Use the
--resume flag to restart core and any models deployed to your device.
--resumecreates another copy of your device in its device group
If you choose to restart your edge device without using the
--resumeflag, then you'll notice that a new device appears within the device group you created in Modzy Enterprise. This is because starting
./modzy-corewithout specifying that you'd like to resume, treats the device as if it's brand new. This can create many extra copies that you may want to delete from the Edge Devices page.
This example shows how to restart Modzy Core using the standard
server mode with the same settings it had when it was shut down. You can run this command from your edge device's terminal.
$ ./modzy-core server --resume
This example shows how to restart Modzy Core in
direct mode, which doesn't save any inference results locally. This is the fastest way to run your models on an edge device. You can run this command from your edge device's terminal.
$ ./modzy-core direct --resume
Updated 7 months ago