19–23 Oct 2020
Europe/Zurich timezone

Session

HLS4ML tutorial

19 Oct 2020, 14:00

Conveners

HLS4ML tutorial: hls4ml tutorial

  • Sioni Paris Summers (CERN)

Description

The hls4ml package translates trained neural network models into synthesizable FPGA firmware. The firmware library targets efficient, ultrafast inference for its original application in real-time processing at the LHC. The generality of the package makes it applicable to a wide range of scientific and industry areas in which real-time processing on-device is needed.

In this tutorial we will give hands on experience with the workflow, including:
• Demonstration of the easy to use, yet deep customisation options hls4ml provides, including tunable parallelism and quantization.
• Model pruning, observing the impact on the resource usage of the inference.
• Quantization-aware training, resulting in low precision weights and activations and enabling very lightweight inference without loss of model accuracy.
• Synthesising the FPGA firmware and evaluating the relevant metrics.
Attendees should have basic familiarity with Python, machine learning concepts, and ideally hands on experience with ML frameworks. Knowledge of FPGAs is advantageous, but not essential.

Prerequisites: We will authenticate participants to our interactive tutorial notebooks using Github accounts. If you intend to take part in the tutorial, and do not already have a Github account, please sign up for one: https://github.com/

Presentation materials

Building timetable...