Skip to content

Integration Types

There are two ways to integrate an external benchmark or application into Intel® ESQ. Both produce the same outputs (Result, Metrics, Allure report) and follow the same execution pattern. They differ in where the workload is defined.

Type 1: Generic suite Type 2: Reproduce the original flow
Workload defined in Profile YAML (assets, configuration, parameters) Dedicated test suite (Python)
Test suite One suite shared by many profiles One suite per workload
Upstream source Only the key ingredients are extracted Cloned and run as-is, pinned to a release
Role Baseline: only the benchmark components run Application result: baseline plus the cost of the other services
Examples DL Streamer, VLM Prompt Order Accuracy

The page of each test suite in Test Suites states its type. Tests that check the system itself, such as CPU or network checks, are also Type 1: one generic suite, configured by the profile.


Type 1: Generic Suite with Configurable Ingredients

A generic suite is written once and takes its ingredients from the profile: assets, pipeline or prompt, model, devices, and KPIs. Adding a workload means writing a profile, not a new suite.

%%{init: {'theme': 'base', 'themeVariables': {'fontSize': '14px', 'primaryColor': '#F5F5F5', 'primaryBorderColor': '#BDBDBD', 'lineColor': '#757575', 'edgeLabelBackground': '#FFFFFF'}}}%%
flowchart TD
    A["Profile A<br/>assets + config + KPIs"] --> T
    B["Profile N<br/>assets + config + KPIs"] --> T
    T["Generic test suite<br/>(shared)"] --> V["Validate requirements"]
    V --> AS["Prepare assets"]
    AS --> X["Run workload<br/>from profile config"]
    X --> M["Result and Metrics"]

    classDef defaultNode fill:#F5F5F5,stroke:#9E9E9E;
    class A,B,T,V,AS,X,M defaultNode

A generic suite is a baseline. It runs only the main benchmark components, so it shows what the system delivers for the workload. The application (Type 2) runs the same workload with its other services and adds overhead. Comparing the two shows the cost of the application.

Guidelines:

  • Keep the suite generic. Read the model, media, pipeline, or prompt from configs, never hard-code them.
  • Take ingredients from what the application actually sends, not from its documentation, and from its official release.
  • Declare assets with a pinned URL and sha256. See Asset Management.
  • Extend the suite, not the application. Add optional parameters and keep existing profiles working.
  • Reuse shared infrastructure, such as the OVMS export and server helpers, and prefer a uv venv over a container for Python-only tools.
  • Verify comparability against the application before relying on the numbers. The VLM Prompt page shows a worked comparison.

Type 2: Reproduce the Original Flow

The suite repeats the steps of the original benchmark, including cloning the upstream repository. Use it when the workload cannot be reduced to ingredients, or when results must match the upstream benchmark exactly.

%%{init: {'theme': 'base', 'themeVariables': {'fontSize': '14px', 'primaryColor': '#F5F5F5', 'primaryBorderColor': '#BDBDBD', 'lineColor': '#757575', 'edgeLabelBackground': '#FFFFFF'}}}%%
flowchart TD
    P["Profile YAML<br/>commit_id, devices, benchmark params"] --> T["Dedicated test suite"]
    T --> C["Clone upstream repo<br/>at the pinned commit"]
    C --> S["Prepare with upstream scripts"]
    S --> E["Run upstream benchmark"]
    E --> R["Parse output into<br/>Result and Metrics"]
    R --> CL["Clean up upstream services"]

    classDef defaultNode fill:#F5F5F5,stroke:#9E9E9E;
    class P,T,C,S,E,R,CL defaultNode

Guidelines:

  • Pin a stable release tag, not main, and expose it as a profile parameter (for example commit_id).
  • Reuse the upstream entry points (scripts, make targets) instead of re-implementing them.
  • Clone once and always clean up the upstream services, also on interruption.
  • Attach upstream logs to the Allure report and convert the upstream results into Metrics.
  • Check host ports. Upstream compose files bind fixed ports that can collide with ESQ or other services.

Choosing an Approach

%%{init: {'theme': 'base', 'themeVariables': {'fontSize': '14px', 'primaryColor': '#F5F5F5', 'primaryBorderColor': '#BDBDBD', 'lineColor': '#757575', 'edgeLabelBackground': '#FFFFFF'}}}%%
flowchart TD
    Q1{"Can the workload be expressed<br/>as ingredients + config?"}
    Q1 -->|Yes| Q2{"A suitable generic suite<br/>already exists?"}
    Q1 -->|No| T2["Type 2<br/>Reproduce the original flow"]
    Q2 -->|Yes| P["Type 1<br/>Add a profile"]
    Q2 -->|No| Q3{"Reusable across<br/>other workloads?"}
    Q3 -->|Yes| N["Type 1<br/>Create a generic suite"]
    Q3 -->|No| T2

    classDef defaultNode fill:#F5F5F5,stroke:#9E9E9E;
    class Q1,Q2,Q3,T2,P,N defaultNode
Consideration Type 1: Generic suite Type 2: Reproduce original flow
Depends on Assets, models, prompts, and config The complete upstream application
Release Not tied to an application release Pin a stable release tag
Stability High, one suite exercised by many profiles Depends on the upstream release
Maintenance One suite, many profiles One suite per workload
Fidelity Same requests, without the rest of the application Highest, runs the original flow
Services on the system Only the key components Every service of the application
Typical fit Model, pipeline, and prompt-based benchmarks Multi-container apps, custom orchestration

Group workloads by kind, not by application. For example, vision pipelines of several Retail AI Suite apps fit test_dlstreamer, while their VLM workloads fit test_vlm_prompt.