Build from Source#
Build the Visual Pipeline and Platform Evaluation Tool from source to customize, debug, or extend its functionality. In this guide, the following tasks are covered:
Setting up the development environment.
Compiling the source code and resolving dependencies.
Generating a runnable build for local testing or deployment.
This guide is intended for developers working directly with the source code.
Prerequisites#
Before starting, ensure the following:
System requirements: The system meets the minimum requirements.
Docker platform: Docker is installed. For details, see the Docker installation guide.
Dependencies installed:
Git: Install Git.
Make: Standard build tool, typically provided by the
build-essential(or equivalent) package on Linux.
For GPU and/or NPU usage, appropriate drivers must be installed. The recommended method is to use the DLS installation
script, which detects available devices and installs the required drivers. Follow the Prerequisites section in
Install Guide Ubuntu
This guide assumes basic familiarity with Git commands and terminal usage. For more information, see Git Documentation.
Before building, review the Pre-Installation Steps for optional configuration such as the Hugging Face access token used to download models from the Hugging Face Hub.
Steps to Build#
Clone the repository:
git clone https://github.com/open-edge-platform/edge-ai-libraries.git cd edge-ai-libraries/tools/visual-pipeline-and-platform-evaluation-tool
Build and start the application:
make build run
Both
make buildandmake runautomatically invokesetup_env.sh, which detects the available hardware (CPU/GPU/NPU) and writes the appropriate.envfile. They also create the required directories undershared/.Verify that the application is running:
docker compose ps
Access the application:
Open a browser and navigate to
http://localhost(orhttp://<HOST-IP>) to access the Visual Pipeline and Platform Evaluation Tool UI.Access the application API documentation:
Open a browser and navigate to
http://localhost/api/v1/docs(orhttp://<HOST-IP>/api/v1/docs) to access the Swagger UI.