Skip to content

Skip adding HLTPreSeq if cost monitoring is disabled

Rafal Bielski requested to merge rbielski/athena:fix-empty-sequence into 22.0

Fix the error:

RuntimeError: Empty CF sequence in OR mode can cause Gaudi scheduler bug. Please remove HLTPreSeq

by doing as the message suggests, i.e. removing HLTPreSeq when it's empty.

Closes ATR-25921

cc @aporeba

Merge request reports