Skip to content

Quick Start

This guide walks you from "nothing installed" to a published validation session in roughly fifteen minutes. The profiler is always operated against an EdgeFirst Studio session.

1. If you haven't already, log in to EdgeFirst Studio

  1. Go to EdgeFirst Studio
  2. If you do not have an account, create a free account on the landing page
  3. Log in with your username and password

2. Create your project in EdgeFirst Studio

  1. Click the "PROJECTS" button shown on the top navbar as highlighted below.

    Go To Projects
    Go To Projects

  2. Create your project by clicking the "New Project" button on the top-right corner of the page.

    Create Project
    Create Project

  3. Provide a name and description of the project and then click "Create" to create your project.

    Project Details
    Project Details

  4. Your created project will now appear in the page.

    New Project
    New Project

3. Create an Ultralytics training session

Use your own project

Profiling must be run against a project you own. Running a profiling or validation session on the Sample Project — or any public, read-only project — will fail with an error. Make sure you created your own project in Step 2 before continuing.

  1. Click on "Model Experiments" of your created project

    Model Experiments Page
    Model Experiments Page

  2. Create a new experiment

    Model Experiments Page
    Model Experiments Page

  3. Navigate to the "Training Sessions"

    Training Sessions
    Training Sessions

  4. Create a new training session by clicking the "Actions" dropdown menu on the top right of the page and then click the "+ New Trainer Session" button

    New Session Button
    New Session Button

  5. Start a YOLOv8n detection model by following these settings. Once the settings are set, click on "Start App" at the bottom of the window

    Ultralytics Training Settings
    Ultralytics Training Settings

    This will start a training session in progress.

    Ultralytics Training Progress
    Ultralytics Training Progress

    No Training Charts

    No Training Charts

    A session with Enable Training off runs no epochs, so its loss and learning-rate charts stay empty. Its mAP, precision and recall charts hold a single point, the validation of the exported model. This is expected behavior.

  6. The completed training session should look like the following

    Ultralytics Training Completed
    Ultralytics Training Completed

  7. We support model conversion and optimization workflows that enable trained models to be deployed on a wide range of target platforms and hardware architectures.

    If you are deploying to one of the supported hardware platforms listed below, follow the platform-specific conversion instructions for your target device.

    However, this guide will use the out-of-the-box trained ONNX model which can be deployed on a Windows/Linux PC or macOS system. You can skip this section and proceed directly to the next step to validate the ONNX model in your PC.

    Converter Supported Targets Output Format Docs
    TFLite Converter NXP i.MX 8M Plus (VIP8000), generic CPU/NPU TFLite delegates .tflite flatbuffer TFLite Converter
    Neutron Converter NXP i.MX 95, i.MX 943/952, S32N79, MCX N54x/N94x, i.MX RT700, S32K5 .tflite flatbuffer with Neutron microcode Neutron Converter
    TensorRT Converter NVIDIA Jetson (Orin Nano Super validated; broader lineup in progress) .tensorrt.zip bundle (engine built on-device) TensorRT Converter
    Qualcomm Converter Qualcomm Dragonwing / Snapdragon (see converter guide for supported targets) .qnn.onnx with embedded QNN context Qualcomm Converter
    Ara2 Converter NXP Ara240 DNPU .dvm Dataflow Virtual Machine binary Ara2 Converter
    Hailo Converter Hailo-8 (26 TOPS), Hailo-8L (13 TOPS) .hef Hailo Executable Format Hailo Converter
  8. All converted models should appear listed under the model artifacts of the training session card.

    YOLOv8n Detection Model Artifacts
    YOLOv8n Detection Model Artifacts

    Once you have converted your model, you can proceed towards profiling and validating the performance of your model next.

4. Install the profiler

The recommended convenience path is pip. The wheel ships the same native binary the platform installers deliver, and pulls in the few Python-side helpers needed for end-to-end workflows. Platform installers are provided for environments where Python is not available.

pip install edgefirst-profiler
curl -fsSL https://raw.githubusercontent.com/EdgeFirstAI/profiler-cli/main/install.sh | bash
docker pull ghcr.io/edgefirstai/profiler-cli:onnx

Confirm the install:

edgefirst-profiler --version

For per-target details (NPU delegates, runtime libraries, hardware-specific quirks) see the installation guides. On the NXP i.MX targets the container images are often the shortest path, because they bundle the vendor delegate and the TFLite runtime — see Container Images.

5. Sign in to EdgeFirst Studio (profiler CLI)

edgefirst-profiler login

The interactive prompt asks for server, username, and password. The credentials are saved to ~/.config/edgefirststudio/token and refresh automatically while you are using the profiler. For headless / CI flows, see Connecting to EdgeFirst Studio.

6. Launch the TUI

Running edgefirst-profiler with no subcommand launches the interactive terminal UI. Any explicit subcommand — validate, login, report, publish, dispatch, system-info — bypasses the TUI and runs headlessly.

edgefirst-profiler

The TUI opens on the F1 Help screen, which lists the keybindings and the four screens available to you:

EdgeFirst Profiler — F1 Help screen, shown on launch
EdgeFirst Profiler — F1 Help screen, shown on launch

Four function keys switch between screens:

Key Screen Purpose
F1 Help Keybindings and a short orientation — the landing screen
F2 Studio Sign in to EdgeFirst Studio, browse projects, run validation sessions
F3 Files Browse the local filesystem
F4 Profiler Configure and run a profiling pass with a live dashboard

Press q to quit (disabled while typing into form fields). Ctrl-C always quits.

7. Run a validation session

The profiler is operated against a Studio validation session. Both paths produce the same Studio session card and the same set of accuracy charts.

Validation sessions need a writable project

Creating a validation session requires write access to the Studio project. You cannot validate against the read-only public Sample Project directly — first copy its dataset into a project you own (and add your model), then create the training and validation session there.

Press F2 to switch to the Studio screen. If you are not signed in, the login form appears first.

F2 Studio — login form
F2 Studio — login form

Once signed in, navigate the explorer:

Projects  →  Experiments  →  Training Sessions  →  Artifacts
F2 Studio — explorer drilling into a training session
F2 Studio — explorer drilling into a training session

Each artifact is prefixed with a colored dot indicating whether it can be deployed on the current host:

Indicator Status Meaning Example artifacts
🟢 Green Deployable Format recognized and all runtime requirements met on this host. .onnx (Generic ONNX), .tflite (Generic TFLite)
🟠 Orange Conditions not confirmed Known deployable format for a specific target, but the required hardware, runtime, or accelerator was not detected. .hef (Hailo-8L runtime absent), .dvm (NXP Ara240 not present), .engine (no CUDA host), .imx95.tflite (different SoC)
🔴 Red Not deployable Supporting file, archive, or unrecognized format — not a model the profiler can run directly. labels.txt, _saved_model.zip, .tensorrt.zip

Select an artifact and choose Validate. The profiler creates a new validation session in Studio, downloads anything missing, jumps to F4 Profiler, and starts the run.

F2 Studio — confirming Validate against a model artifact
F2 Studio — confirming Validate against a model artifact

Before the run starts, a launch dialog appears. For ONNX models it first asks which execution provider to use — CPU, one of the three CoreML compute units on macOS, CUDA where an NVIDIA GPU is present, or the Qualcomm Hexagon HTP provider on Android. Then it shows five per-stage depth sliders — Capture, Preprocess, Inference, Postprocess, and Mask — each defaulting to Auto, which resolves to the value measured fastest for your model, runtime, and host.

Four keys start the run:

Key Effect
Enter Launch immediately with Auto depths
c Open the sliders and pin individual stages
s Serialized-core preset — every core stage runs one frame at a time, for contention-free per-frame latency
t Toggle SAHI tiled inference on or off (shown as Tiling: on/off)

The dialog warns if a platform constraint (such as the i.MX 95 Neutron single-bind delegate) holds a stage to a single thread. See Pipelining for what each stage does and Tiled Inference (SAHI) for the tiling toggle.

The F4 dashboard streams iteration-level latency, system metrics, and per-stage timings while the run executes:

EdgeFirst Profiler — F4 dashboard during a run
EdgeFirst Profiler — F4 dashboard during a run

The system-metrics row includes live power draw and on-board temperatures wherever the hardware exposes a sensor. The profiler shows a power meter only for the rails it can actually read — the CPU, GPU, Neural Engine, and DRAM rails on Apple Silicon, and the real board rails on a Linux device with a supported power monitor (for example an NVIDIA Jetson's board-input rail and its per-component breakdown). On a target with no power sensor, no power meters are shown — rather than a row pinned at 0 W — and the session report notes that power is unavailable. Temperatures are read from the platform's thermal zones and hwmon sensors, so the readout reflects what each board actually measures.

When the run finishes, the profiler scores the predictions against the session's ground truth, writes metrics.yaml and the charts beside the trace, and uploads the whole set to Studio. A completion summary then shows the headline numbers and the path to the trace file.

╔═ Profiling Complete ═════════════════════════════╗
║                                                  ║
║  Iterations: 100                                 ║
║                                                  ║
║  Mean:  43.76 ms                                 ║
║  P95:   44.12 ms                                 ║
║  P99:   44.51 ms                                 ║
║  Min:   43.21 ms  Max: 45.03 ms                  ║
║                                                  ║
║  Trace: ./results/trace.pftrace                  ║
║                                                  ║
║  [Enter] Dismiss                                 ║
╚══════════════════════════════════════════════════╝

For a published run the popup also carries the Studio link for the session, widened to fit the full address. Press c to copy that link to the system clipboard rather than selecting it by hand. The same link printed by a CLI run renders as a real clickable hyperlink in terminals that support it.

For the full walkthrough see Validation from the Profiler.

Path B — start from Studio

Create an on-target validation session in the Studio web UI (instructions). Make a note of the session ID, then on the target:

edgefirst-profiler validate --session-id v-1ce9

The profiler runs headlessly, prints progress bars for download/inference/upload, scores the run, emits a formatted Session Report to stdout, and publishes the results to Studio when the run completes.

Warnings — corrupt images, decoder errors, skipped frames — print to the console as the run proceeds, so a run that quietly drops frames says so at the time. Add -v, -vv, or -vvv to raise the console verbosity to info, debug, or trace.

8. View the results in Studio

Both paths land you at the same place: the validation session card in EdgeFirst Studio. The card shows progress while the run is under way, then surfaces the accuracy charts and trace viewer the profiler published when it finished.

EdgeFirst Studio — trace viewer on a completed validation session, showing pipeline stages and per-operator timing
EdgeFirst Studio — trace viewer on a completed validation session, showing pipeline stages and per-operator timing

The same numbers are on the target as well: every run writes metrics.yaml next to the trace and prints the metric tables to the console, so you do not have to open Studio to read the result. See Validation and Metrics for what that document holds, and Object Detection Metrics and Segmentation Metrics for the metrics reference.

Next steps

  • Profile on edge hardware. The convenience install path works on desktop hosts and most target boards. Embedded targets with NPU/GPU acceleration have a few extra knobs — pick your target from the installation guides.
  • Pick the right Studio path. Validation from Studio (session created in the web UI) versus Validation from the Profiler (session created from the TUI).
  • Validate without Studio. A local model, a directory of images, and a ground-truth file are enough for a full accuracy run — see Validation and Metrics.
  • Run in the cloud. Hand a training session and an artifact to dispatch and pick the machine it runs on — see Cloud Runs.
  • Tune the pipeline. The per-stage depths are measured defaults, not universal ones — see Pipelining if you are running on hardware we have not measured or alongside another workload.
  • Connect to a different Studio. See Connecting to EdgeFirst Studio for test / stage / saas server selection and headless credential handling.