Profile on Remote Machine¶
DL Workbench can collect performance data not only on the machine on which you run it, but also on other machines in your local network.
Learn more about profiling on a remote machine securely.
When using a target machine for remote profiling, make sure other users are not working on it at the same time.
Remote profiling takes more time than profiling on a local machine due to exchanging models, datasets, the script that starts inference, and performance data.
To profile on a remote machine, follow the steps below:
Register the remote machine in the DL Workbench.
Add a model to a project.
Add the remote machine to the project.
Add an environment to the project.
Add a dataset to the project.
After these steps, you can run single and group inference and compare performance between models on local and remote machines. Features like accuracy measurements are disabled for remote machines:
Add Remote Machine to Project¶
On the Create Project page, select a model and move on to the Select an Environment tab.
Machines registered in the DL Workbench are added to the Select an Environment table. You can only select a machine that indicates Available state:
Configuring and Connecting states mean that you need to wait for the machine to set up:
If the machine you want to use indicates Configuration Failure, click Review and follow the instructions in Manipulate Remote Machines :
Security Aspects of Remote Profiling¶
SSH keys are sensitive data and using them in the DL Workbench is at your own risk.
DL Workbench takes control of a remote machine to perform a limited set of tasks, like installing dependencies and OpenVINO™ tools. Connect a machine at your own risk and according to the security policy of your organization.
Run the DL Workbench with Transport Layer Security (TLS) to ensure data protection.
Sensitive data is removed when you remove a machine from the DL Workbench or remove the Docker container with the DL Workbench.
DL Workbench installs dependencies on a target machine and therefore takes additional space on it. DL Workbench data is stored in the
.workbench folder in your user directory. To remove the new data from your target machine, remove the
.workbench folder. DL Workbench transfers models and datasets to the target machine with the SSH protocol and removes them after completing experiments there.