Select AI Hardware

The target configuration tool allows you to define your target device and application budget according to your project's requirements. This flow is designed to help you optimize your impulse, processing, learn block or imported model for your specific target hardware, ensuring that your impulse will run efficiently on your device or custom architecture. See Devices for a list of existing fully supported devices.

When you create a new project or access an existing one, the configuration form can be accessed from the top-level navigation. The form allows you to select from a range of processor types, architectures, and clock rates. For a custom device, you could for example select Low-end MCU and specify the clock rate, RAM, ROM, and maximum allowed latency for your application.

Accessing the configuration panel

By default, the form shows 'Cortex-M4F 80MHz' as the target device. You can change this by clicking on Change Target device. You can select from a range of processor types, architectures, and clock rates. For a custom device, you could for example select Low-end MCU and specify the clock rate, RAM, ROM, and maximum allowed latency for your application.

Configure your target device and application budget

Lets walk you through some of the current options for configuring your device and application budget:

  • Target Device: Select the type of target device you are configuring from options like "Custom" or specific development boards.

  • Processor Type Selection: Selecting a processor type dynamically adjusts available architecture options and fields to suit your hardware:

    • For Low-end MCU: This option allows you to specify clock rate, RAM, and ROM, suitable for 'Cortex-M' architectures.

    • For AI Accelerators: Selecting this disables the clock rate field, reflecting the unique requirements of AI accelerator devices.

  • Custom Device Configuration: Choosing to configure a custom device opens fields to precisely define its capabilities, ensuring your project setup is accurately tailored to your hardware.

Special options for Custom Targets:

The form allows you to select from a range of processor types, architectures, and clock rates. For a custom device, you could for example select Low-end MCU and specify the clock rate, RAM, ROM, and maximum allowed latency for your application.

  • Custom: Select this for custom hardware specifications or devices not listed in Edge Impulse, allowing for a customized hardware profile. Selection Options

Processor Type & Architecture

Choose from a variety of processor types and architectures. Your selection determines which options and fields are available to accurately configure your device. Estimations for GPU, AI accelerator, or NPU devices are not computed using clock speed, or but rather the device's unique capabilities.

  • Processor Type: Selections range from various processor types. Choosing GPU, AI accelerator' or NPU deactivates the clock speed option, as it's irrelevant for device estimation.

  • Processor Architecture (Optional): Specify your device's architecture to refine its configuration (e.g., Cortex-M0+, Cortex-M4F, Cortex-M7).

  • Clock Rate (Optional): Set the clock rate for relevant processor types to estimate operational capabilities accurately. The units shown will be indicated by the | MHz | GHz as relevant to the scale of processor. As previously stated the clock rate field is disabled for GPU, AI accelerator, or NPU devices.

  • Accelerator: If the device supports hardware acceleration, select from available options such as Arm Cortex-U55, NVIDIA Jetson Nano, and others.

  • Device ID (Optional): Provide a unique identifier for your custom device model or chip architecture variant for easy recognition and setup.

  • Custom Device Name (Optional): Provide a unique name for your custom device to easily identify it in your project.

Application Budget - RAM, ROM, and Latency

The application budget section allows you to specify the maximum allowed latency, RAM, and ROM for your application. These values are used to estimate the performance of your model on your target device.

  • RAM: Specify the amount of RAM available on your device in kilobytes (kB).

  • ROM: Specify the amount of ROM available on your device in kilobytes (kB).

  • Latency: Specify the maximum allowed latency for your application in milliseconds (ms).

  • Save Target: Save your custom device and application budget configuration to apply it to your project.

After customizing your target device and application budget, click Save target. With the target device set, navigate to the EON Tuner to see the configuration in action. The target device can be seen at the top level of navigation on all screens within your project. Your custom device name (e.g., 'my first mcu') and the specified parameters (100 ms latency, 256 kB RAM, 1024 kB ROM) are visible. The target device configuration is also taken into account during the performance estimation for deployment.

Top-level Navigation

Once saved the target device can be seen at the top level of navigation on all screens within your project. Your custom device name (e.g., 'my first mcu') and the specified parameters (100 ms latency, 256 kB RAM, 1024 kB ROM) are visible. The target device configuration is also taken into account during the performance estimation for deployment.

Summary

The target-driven flow in Edge Impulse Studio allows you to configure your target device and application budget according to your project's requirements. This flow is designed to help you optimize your impulse for your specific target hardware, ensuring that your impulse will run efficiently on your device.

We hope this feature is helpful, and intuitive. If you have any questions or suggestions, feel free to reach out to us at forum.edgeimpulse.com. We're always happy to hear from you!

Last updated