Skip to content

Profiler+ Workflow

In this workflow, you will retrain an Ultralytics model, validate it on your PC using edgefirst-profiler, and compare your results against the EdgeFirst Model Zoo on Hugging Face baselines. Models can be deployed in the browser or on a compatible target device.

Create an Ultralytics Training Session

  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.

Validate on Your PC or on Target with the EdgeFirst Profiler

The Profiler+ workflow validates your model on your PC or directly on your target hardware, not in the cloud. This gives you real inference latency, NPU utilization, and per-stage timing alongside accuracy metrics.

Cloud validation not used here

Cloud validation only supports ONNX, Keras, and TFLite artifacts running on a cloud instance. The EdgeFirst Profiler runs on your PC or on the target and supports all converted formats (.tflite, .hef, .dvm, .tensorrt.zip, .onnx).

Install the profiler

pip install edgefirst-profiler
curl -fsSL https://raw.githubusercontent.com/EdgeFirstAI/profiler-cli/main/install.sh | bash

ONNX Runtime Library

Install the ONNX Runtime library pip install onnxruntime if it is missing from your system to profile ONNX models.

Missing ONNXRuntime Library
Missing ONNXRuntime Library

Confirm the install:

edgefirst-profiler --version

For per-platform guides including NPU delegate setup, see the Profiler Installation section.

Sign in to EdgeFirst Studio

edgefirst-profiler login

The interactive prompt asks for server, username, and password. Credentials are saved locally and refresh automatically.

Run a validation session

Launch the profiler TUI:

edgefirst-profiler

Press F2 to open the Studio screen, then navigate to your training session:

Projects  →  Experiments  →  Training Sessions  →  Artifacts

Select the trained ONNX model artifact and choose Validate to run this workflow on your PC. If you are instead validating on compatible target hardware, select the converted artifact for that target. The profiler creates a validation session in Studio, downloads the model and dataset to the machine running the profiler, and starts the run automatically.

The F4 Profiler dashboard streams iteration-level latency and per-stage timings live during the run. When complete, predictions and the timing trace upload to EdgeFirst Studio where mAP, precision-recall curves, and the trace viewer are generated.

In EdgeFirst Studio, you can see the validation session by navigating to the validation sessions under "Model Experiments".

Validation Session
Validation Session

The metrics of the validation session can be viewed by clicking on the "charts" button on the validation session card.

Validation Charts
Validation Charts

For the full walkthrough see Profiler Quick Start and Validation from the Profiler.

Compare Results to the Model Zoo

After validation, compare your results with the EdgeFirst Model Zoo on Hugging Face to see how close your model is to the published baselines.

EdgeFirst Profiler Baselines
EdgeFirst Profiler Baselines

Focus on:

  • Task match: Use the same task type (detection, segmentation, classification) as your training run.
  • Input modality: Compare vision-only models against vision-only baselines, and fusion models against fusion baselines.
  • Metric alignment: Match the primary metric (for example, mAP or F1) to ensure an apples-to-apples comparison.
  • Latency vs accuracy: Look at accuracy and throughput together to understand the practical edge tradeoff.

Next Steps

Want to learn more?