Skip to content
@cms-hls4ml

cms-hls4ml

Organization hosting hls4ml emulators for cms-sw

Welcome!

This is the cms-hls4ml organization, where hls4ml based cmssw emulators live.

Introduction

Overview of ML emulators in cms: https://indico.cern.ch/event/1498722/contributions/6472377/attachments/3104574/5501841/ml@l1_emulators.pdf Emulator tutorial: https://gitlab.cern.ch/ml_l1/tutorial/cms_mlatl1t_tutorial/-/tree/jettagger/part2?ref_type=heads

Basic idea: Include hls for model generated by hls4ml with inherited emulator class for reading models. models are compiled at runtime and included in cms-sw as cms-dist externals.

When generating your model using hls4ml include the following options to make hls output compatible with the emulator:

  namespace='hls4ml_model_emu_v1',
  write_weights_txt=False,
  write_emulation_constants=True,

You can then add your hls output to a model repo in this orgnaization with an inherited emulator class like the following examples can be found in the other repos, for example for AXOL1TL, or L1TSC4NGJetModel. Note additional custom functions may be needed depending on your model, for example input scaling.

Popular repositories Loading

  1. AXOL1TL AXOL1TL Public

    L1 global trigger anomaly detection model

    C++ 3 1

  2. anomalyModelCompiler anomalyModelCompiler Public

    C++ 1 1

  3. hls4mlEmulatorExtras hls4mlEmulatorExtras Public

    C++ 3

  4. CICADA CICADA Public

    C++ 2

  5. test_AXOL1TL test_AXOL1TL Public

    C++ 1

  6. TOoLLiP TOoLLiP Public

    Triggering Online on Long Lived Particles, A Long Lived Particle Machine Learning Tagger on the Level-1 Trigger

    C++ 1

Repositories

Showing 10 of 14 repositories

Top languages

Loading…

Most used topics

Loading…