SustainML on the Axelera Boards: How the Measurements Were Made

SustainML on the Axelera Boards: How the Measurements Were Made

SustainML helps developers choose machine learning models that meet their needs while keeping energy use and carbon footprint low. To do this, the framework needs to know how a model behaves on the hardware it will run on. For computer vision at the edge, SustainML now uses a real AI accelerator: the Axelera Edge 130p. Every figure the framework shows for this board was measured on the card itself. This news explains what was measured and how.

 

The setup

The Axelera Edge 130p is a PCIe card with one Metis AI Processing Unit: 4 cores at 800 MHz, running 8-bit integer models, with 16 GB of memory. We installed it in a standard desktop PC with an Intel Core Ultra 7 processor, running Ubuntu 24.04. The models were compiled and run with Axelera's Voyager SDK 1.7.0.

36 YOLO models, five vision tasks

SustainML offers 36 YOLO models from the YOLO11 and YOLO26 generations, from the smallest (n) to the largest (x) size, taken from the Voyager SDK model zoo. They cover five tasks:
object detection, instance segmentation and human pose estimation, trained on COCO;
detection of rotated objects in aerial images, trained on DOTA;
semantic segmentation of street scenes, trained on Cityscapes.
The accuracy of each model is the one Axelera publishes after the 8-bit quantization that the card requires.

Latency: one image at a time

To match every other hardware in SustainML, the latency of a model is the time to process one image on its own, including its transfer from the PC to the card. Each model was run for 10 seconds on a single core. Latency goes from 6.7 ms for the smallest detection model to about 62 ms for the largest, and up to 180 ms for the largest model on 1024x1024 aerial images.
We also measured each model with all four cores busy. This throughput is used when a problem description asks for a frame rate.

Power: measured at the wall

The card has no power sensor, so we measured the whole PC with a smart plug, and the processor separately with its built-in energy counters, once per second, first idle and then while running each model. We then took out the processor's share, calibrated with processor-only loads, and the losses of the power supply, from its 80 PLUS efficiency report. What remains is the extra power the card itself draws to run the model: between 1.0 and 2.9 W, depending on the model.

Memory: computed from the model

The memory footprint is computed from each model's file, as for every model in SustainML: its weights plus the working memory needed for one image.

From energy to CO2

The energy of one inference is the measured power multiplied by the latency: from 7.8 mJ for the smallest model up to about 0.4 J for the largest. SustainML turns it into CO2 with the carbon intensity of the electricity grid of the country where the model will run.

What this gives the user

In SustainML, the user chooses CNNs and the Axelera board, then one of the vision tasks. The framework reads in the problem description whether accuracy, speed or energy matters most, and ranks the YOLO models of that task with these measured figures. A dedicated screen compares all 36 models by the CO2 they spend per accuracy point, and shows where a bigger model stops being worth its extra energy.

More details are in the documentation (https://sustainml.readthedocs.io/en/latest) and in the SustainML Framework repository (https://github.com/eProsima/SustainML-Framework).

Logo ALMA

SustainML is among these nine innovative projects dedicated to creating a sustainable ML framework for Green AI.

Coordinator Office Address

Plaza de la Encina 10-11, Núcleo 4, 2ª Pl.
28760 Tres cantos - Madrid (España)

  • X
  • LinkedIn

EN-Funded_by_the_EU-POSThis project has received funding from the European Union’s Horizon Europe research and innovation programme under grant agreement No 101070408.