edgegate_create_pipeline
Create a regression pipeline to enforce performance gates (inference time, memory, throughput) on specified models and Snapdragon devices. Define thresholds to validate compliance automatically.
Instructions
Create a new EdgeGate regression pipeline. Define which model(s), which device(s), and which gates (e.g. inference_time_ms ≤ 10) the pipeline will enforce. For LLMs: set llm_compile_source on a model instead of artifact_id. EdgeGate will compile + link via AI Hub on first run; subsequent runs reuse the cached composite. ttft_ms + tps gates work; both are derived from per-component profile (prompt-role inference_time → TTFT; 1000/token-role inference_time → TPS). Each LLM gate run = 3 AI Hub profile jobs (one per component) ≈ 3× CV cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| gates | Yes | ||
| models | No | ||
| devices | Yes | ||
| repeats | No | ||
| input_specs | No | Optional. Override AI Hub input shapes per named input. For text models like MiniLM, try `{input_ids: {shape: [1, 128], dtype: "int64"}, attention_mask: {shape: [1, 128], dtype: "int64"}}`. Omit to let EdgeGate auto-detect from the ONNX file (works for most models including image classification, BERT-family, MiniLM). | |
| workspace_id | Yes | ||
| promptpack_id | Yes | ||
| promptpack_version | No | 1.0.0 |