benchmark_remote_ssh
Benchmark an ONNX model on a POSIX SSH target without installing an agent, using existing Python and ONNX Runtime; validate FPS, P95 latency, and model-size limits for deployment pass/fail.
Instructions
Agentlessly benchmark an ONNX model on a POSIX SSH target using its existing Python and ONNX Runtime environment. Credentials remain in the user SSH configuration/agent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"model": "<model>"
},
"name": "benchmark_remote_ssh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | No | ||
| model | Yes | Absolute path to the .onnx model file | |
| minFps | No | ||
| target | Yes | SSH host alias or user@host | |
| warmup | No | ||
| maxP95Ms | No | ||
| provider | No | ||
| maxModelMb | No | ||
| inputShapes | No | Per-input shape overrides for dynamic models, e.g. {"images": [1, 3, 640, 640]} | |
| requireProvider | No | Gate check: fail unless this execution provider was actually used (e.g. CUDAExecutionProvider) | |
| defaultDynamicDim | No | Value substituted for dynamic dimensions without an explicit override (default 1) |