Skip to content

Track Purity DNN for Phase-2 HLT - #51084

Merged
cmsbuild merged 1 commit into
cms-sw:masterfrom
jchismar:track-purity-dnn
Jul 14, 2026
Merged

Track Purity DNN for Phase-2 HLT#51084
cmsbuild merged 1 commit into
cms-sw:masterfrom
jchismar:track-purity-dnn

Conversation

@jchismar

@jchismar jchismar commented May 28, 2026

Copy link
Copy Markdown
Contributor

Implementation of a track purity DNN used for high purity selection for HLT tracks. Initial results were presented at the tracking POG meeting on 15 Dec 2025. Since then, the model has been retrained with the latest version of LST, and a separate threshold has been implemented for displaced tracks (|dxy| > 0.5) to improve displaced track efficiency. This threshold is set at a target efficiency of 99.5% calculated on tracks with |dxy| > 0.5. For tracks with |dxy| $\le$ 0.5, the threshold is set at a target efficiency of 99.5% calculated on all tracks. Additionally, the number of input features has been reduced from 29 to 15 with no loss of performance. The DNN is configured to run in the HLTInitialStepSequence after the hltInitialStepTracks step when the trackTorchClassifier procModifier is used.

MTV performance on TT+PU=200 is shown below.
Screenshot 2026-03-31 at 10 48 39 AM
Screenshot 2026-03-31 at 10 50 17 AM

@cmsbuild

cmsbuild commented May 28, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51084/49552

@cmsbuild

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @jchismar for master.

It involves the following packages:

  • Configuration/ProcessModifiers (operations)
  • HLTrigger/Configuration (hlt)
  • RecoTracker/FinalTrackSelectors (reconstruction)

@Martin-Grunewald, @Moanwar, @cmsbuild, @davidlange6, @fabiocos, @ftenchini, @jfernan2, @mandrenguyen, @mmusich, @srimanob can you please review it and eventually sign? Thanks.
@GiacomoSguazzoni, @Martin-Grunewald, @SohamBhattacharya, @VinInn, @VourMa, @dgulhan, @elusian, @fabiocos, @felicepantaleo, @gpetruc, @makortel, @missirol, @mmasciov, @mmusich, @mtosi, @rovere this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@Moanwar

Moanwar commented May 28, 2026

Copy link
Copy Markdown
Contributor

Hi @jchismar , thanks, which workflows needed to test this PR ?

@mmusich

mmusich commented May 28, 2026

Copy link
Copy Markdown
Contributor

for the record, the needed model is at cms-data/RecoTracker-FinalTrackSelectors#15 (it wold be nice to link the two)

import FWCore.ParameterSet.Config as cms

# This modifier sets the use of a deep neural network for high purity track selection
trackTorchClassifier = cms.Modifier()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for my understanding why is this proposed via a modifier and not directly in the "production" workflow?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circling back to this, I am fine with having this by default in the HLT phase-2 reconstruction with the current level of performance. Should the modifier be removed and the changes applied directly in the menu?

HLTInitialStepHPSelectionSequence = cms.Sequence(
hltInitialStepTrackCutClassifier
+hltInitialStepTrackSelectionHighPurity
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: missing newline.

+hltInitialStepTrackTorchClassifierOutput
+hltInitialStepTrackCutClassifier
+hltInitialStepTrackSelectionHighPurity
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: missing newline.

@mmusich

mmusich commented May 28, 2026

Copy link
Copy Markdown
Contributor

@jchismar what is the cost in terms of timing and GPU memory consumption of these developments?
Given they are not run in the "production" workflow we cannot test it via the bot.

@slava77

slava77 commented May 28, 2026

Copy link
Copy Markdown
Contributor

the modifier solution was mainly motivated by much earlier interpretation that PyTorchAlpaka carries a significant memory cost (a significant fraction of 1 GB). It sounds from the pixel track DNN that the cost is much smaller.

The timing costs were rather small (○ Adds ~7ms (on GPU, ~20ms on CPU) to the HLT timing. from https://indico.cern.ch/event/1688301/#5-round-robin-talk-on-dpgpog-s)

@mmusich
to minimize the edits I think it would be practical to add a (temporary) commit in

Phase2 = cms.ModifierChain(Run3_noMkFit.copyAndExclude([phase1Pixel,trackingPhase1,seedingDeepCore,displacedRegionalTracking,ctpps_2022,dd4hep]),
phase2_common, phase2_tracker, trackingPhase2PU140, phase2_ecal, phase2_hcal, phase2_hgcal, phase2_muon, phase2_GEM, hcalHardcodeConditions, phase2_timing, phase2_timing_layer, phase2_trigger, trackingMkFitProdPhase2)
and add the modifier here.
Once the tests run we can decide if it's OK to move on for production or keep as a modifier

@mmusich

mmusich commented May 28, 2026

Copy link
Copy Markdown
Contributor

The timing costs were rather small (○ Adds ~7ms (on GPU, ~20ms on CPU) to the HLT timing. from https://indico.cern.ch/event/1688301/#5-round-robin-talk-on-dpgpog-s)

Thanks @slava77

to minimize the edits I think it would be practical to add a (temporary) commit in ...
and add the modifier here.
Once the tests run we can decide if it's OK to move on for production or keep as a modifier

FWIW, that is fine with me.

@cmsbuild

cmsbuild commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51084/49603

@slava77

slava77 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

HLT Phase 2 hardware usage See summary

the CPU backend memory average is up by 2.6 GB (and by 2.8 GB on CPU with the GPU backend running; sort of consistent considering the code in this PR is now resident on CPU).
This seems larger than 60 MB from the other workflows analysis by the bot (21 workflow step(s) with memory usage exceeding in the summary above); at least assuming x8 (per job) scaling, but perhaps it's more like per stream?
IIUC, the HLT timing benchmark is j 8 s 16 t 16
@EmanueleCoradin @mmusich what are the expectations of the memory use scaling in pytorch?

IIUC the event data should be small, 15 float features per track, about/under 2K tracks per event is ~100KB/event and just 15MB with 8job*16stream.

@fwyzard

fwyzard commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

do you mean moduleInstance = cms.EDProducer( "alpaka_serial_sync::ClassName

For information, the reason we do that is due to the interplay between the framework view of what accelerators are available (process.options.accelerators = ...) and how the @alpaka module resolver works.

Using

process.moduleInstance = cms.EDProducer("moduleInstance@alpaka")

and setting

process.moduleInstance.alpaka.backend = "serial_sync"

tells the resolver to use the CPU serial backend instead of the preferred one; however the CPU backend still needs to be a valid accelerator according to the framework.
So if one configures the job to require a GPU (process.options.accelerators = ['gpu-*']), the job will fail.

Instead using

process.moduleInstance = cms.EDProducer("alpaka_serial_sync::moduleInstance")

bypasses the alpaka module resolver and uses unconditionally the CPU serial version.
This works also in case the process.options.accelerators does not include the CPU.

@mmusich

mmusich commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

we generally enforce that by using directly the alpaka_serial_sync:: version of the alpaka modules.

can you please implement this in the next push?

@cmsbuild

cmsbuild commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51084/50054

@cmsbuild

cmsbuild commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Pull request #51084 was updated. @Martin-Grunewald, @Moanwar, @cmsbuild, @davidlange6, @fabiocos, @ftenchini, @jfernan2, @mandrenguyen, @mmusich, @srimanob can you please check and sign again.

@mmusich

mmusich commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild, please test

@cmsbuild

cmsbuild commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 44KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54457/summary.html
COMMIT: 353c8c3
CMSSW: CMSSW_20_1_X_2026-07-01-2300/el9_amd64_gcc13
Additional Tests: HLT_P2_INTEGRATION,HLT_P2_TIMING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/51084/54457/install.sh to create a dev area with all the needed externals and cmssw changes.

HLT P2 Timing: chart

Comparison Summary

Summary:

  • You potentially removed 1 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 61
  • DQMHistoTests: Total histograms compared: 4106100
  • DQMHistoTests: Total failures: 20162
  • DQMHistoTests: Total nulls: 15
  • DQMHistoTests: Total successes: 4085905
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 60 files compared)
  • Checked 257 log files, 213 edm output root files, 61 DQM output files
  • TriggerResults: found differences in 17 / 60 workflows

Max Memory Comparisons exceeding threshold

@cms-sw/core-l2 , I found 21 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 34434.0_TTbar_14TeV+Run4D121 step2 max memory diff 64.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.75_TTbar_14TeV+Run4D121_HLT75e33Timing step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7501_TTbar_14TeV+Run4D121_HLT75e33TrackingOnly step2 max memory diff 62.9 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7502_TTbar_14TeV+Run4D121_HLT75e33TrackingNtuple step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7503_TTbar_14TeV+Run4D121_HLTHeterogeneousValid step2 max memory diff 64.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.751_TTbar_14TeV+Run4D121_HLT75e33TimingAlpaka step2 max memory diff 64.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7521_TTbar_14TeV+Run4D121_HLT75e33TimingTiclV5TrackLinkGNN step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7522_TTbar_14TeV+Run4D121_HLT75e33TimingMTDatHLT step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.753_TTbar_14TeV+Run4D121_HLT75e33TimingLegacyTracking step2 max memory diff 62.9 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.754_TTbar_14TeV+Run4D121_HLT75e33TimingLegacyTrackingPatatrackQuads step2 max memory diff 62.9 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.755_TTbar_14TeV+Run4D121_HLT75e33TimingLST step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.756_TTbar_14TeV+Run4D121_HLT75e33TimingTrimmedTracking step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.757_TTbar_14TeV+Run4D121_HLT75e33TimingMkFitFit step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.758_TTbar_14TeV+Run4D121_HLT75e33TimingTiclBarrel step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.759_TTbar_14TeV+Run4D121_HLTPhase2WithNano step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7591_TTbar_14TeV+Run4D121_HLTPhase2WithNanoValid step2 max memory diff 62.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.775_TTbar_14TeV+Run4D121_NGTScoutingCAExtensionMergeT5 step2 max memory diff 52.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.911_TTbar_14TeV+Run4D121_DD4hep step2 max memory diff 64.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34496.0_CloseByPGun_CE_E_Front_120um+Run4D121 step2 max memory diff 64.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34500.0_CloseByPGun_CE_H_Coarse_Scint+Run4D121 step2 max memory diff 64.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34634.0_TTbar_14TeV+Run4D121PU step2 max memory diff 62.8 exceeds +/- 30.0 MiB

@cmsbuild

cmsbuild commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51084/50133

@cmsbuild

cmsbuild commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Pull request #51084 was updated. @Martin-Grunewald, @Moanwar, @cmsbuild, @davidlange6, @fabiocos, @ftenchini, @jfernan2, @mandrenguyen, @mmusich, @srimanob can you please check and sign again.

@slava77

slava77 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild please test

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 52KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54620/summary.html
COMMIT: 1c6ef29
CMSSW: CMSSW_20_1_X_2026-07-08-1100/el9_amd64_gcc13
Additional Tests: HLT_P2_INTEGRATION,HLT_P2_TIMING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51084/54620/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54620/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54620/git-merge-result

HLT P2 Timing: chart

Comparison Summary

Summary:

  • You potentially added 7 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 61
  • DQMHistoTests: Total histograms compared: 4249547
  • DQMHistoTests: Total failures: 20577
  • DQMHistoTests: Total nulls: 14
  • DQMHistoTests: Total successes: 4228938
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1509.69 KiB( 60 files compared)
  • DQMHistoSizes: changed ( 34434.0,... ): 337.924 KiB EcalDigisV/EcalTriggerPrimitivesTask
  • DQMHistoSizes: changed ( 34434.0,... ): -35.986 KiB EcalDigisV/EcalDigiTask
  • Checked 257 log files, 213 edm output root files, 61 DQM output files
  • TriggerResults: found differences in 17 / 60 workflows

Max Memory Comparisons exceeding threshold

@cms-sw/core-l2 , I found 21 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 34434.0_TTbar_14TeV+Run4D121 step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.75_TTbar_14TeV+Run4D121_HLT75e33Timing step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7501_TTbar_14TeV+Run4D121_HLT75e33TrackingOnly step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7502_TTbar_14TeV+Run4D121_HLT75e33TrackingNtuple step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7503_TTbar_14TeV+Run4D121_HLTHeterogeneousValid step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.751_TTbar_14TeV+Run4D121_HLT75e33TimingAlpaka step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7521_TTbar_14TeV+Run4D121_HLT75e33TimingTiclV5TrackLinkGNN step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7522_TTbar_14TeV+Run4D121_HLT75e33TimingMTDatHLT step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.753_TTbar_14TeV+Run4D121_HLT75e33TimingLegacyTracking step2 max memory diff 63.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.754_TTbar_14TeV+Run4D121_HLT75e33TimingLegacyTrackingPatatrackQuads step2 max memory diff 61.2 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.755_TTbar_14TeV+Run4D121_HLT75e33TimingLST step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.756_TTbar_14TeV+Run4D121_HLT75e33TimingTrimmedTracking step2 max memory diff 61.2 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.757_TTbar_14TeV+Run4D121_HLT75e33TimingMkFitFit step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.758_TTbar_14TeV+Run4D121_HLT75e33TimingTiclBarrel step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.759_TTbar_14TeV+Run4D121_HLTPhase2WithNano step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7591_TTbar_14TeV+Run4D121_HLTPhase2WithNanoValid step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.775_TTbar_14TeV+Run4D121_NGTScoutingCAExtensionMergeT5 step2 max memory diff 51.1 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.911_TTbar_14TeV+Run4D121_DD4hep step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34496.0_CloseByPGun_CE_E_Front_120um+Run4D121 step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34500.0_CloseByPGun_CE_H_Coarse_Scint+Run4D121 step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34634.0_TTbar_14TeV+Run4D121PU step2 max memory diff 61.2 exceeds +/- 30.0 MiB

@mmusich

mmusich commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@jchismar may I ask you to squash the commits to a minimum before final sign-off?

Co-authored-by: Jade Chismar <jchismar@ucsd.edu>
@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51084/50149

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Pull request #51084 was updated. @Martin-Grunewald, @Moanwar, @cmsbuild, @davidlange6, @fabiocos, @ftenchini, @jfernan2, @mandrenguyen, @mmusich, @srimanob can you please check and sign again.

@slava77

slava77 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild please test

... for completeness
commit diff wrt last test
1c6ef29033fe46a3e48022479a876778eb4f3544 and 22195b21d46820caf4fed736ac438ecdce780755 are identical.

@cmsbuild

cmsbuild commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54651/summary.html
COMMIT: 22195b2
CMSSW: CMSSW_20_1_X_2026-07-09-1100/el9_amd64_gcc13
Additional Tests: HLT_P2_INTEGRATION,HLT_P2_TIMING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51084/54651/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54651/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54651/git-merge-result

HLT P2 Timing: chart

Comparison Summary

Summary:

  • You potentially removed 3 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 25 differences found in the comparisons
  • DQMHistoTests: Total files compared: 61
  • DQMHistoTests: Total histograms compared: 4250173
  • DQMHistoTests: Total failures: 22371
  • DQMHistoTests: Total nulls: 14
  • DQMHistoTests: Total successes: 4227770
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.094 KiB( 60 files compared)
  • DQMHistoSizes: changed ( 34434.771,... ): 2.184 KiB HLTGenVal/ele__DST_NGTScouting__hltHpsPFTauTrack__2Dvsetaphi
  • DQMHistoSizes: changed ( 34434.771,... ): -2.183 KiB HLTGenVal/ele__DST_PFScouting__hltHpsPFTauTrack__2Dvsetaphi
  • DQMHistoSizes: changed ( 34434.771,... ): 2.173 KiB HLTGenVal/ele__DST_NGTScouting__GEN__2Dvseta__phi
  • DQMHistoSizes: changed ( 34434.771,... ): -2.172 KiB HLTGenVal/ele__DST_PFScouting__GEN__2Dvseta__phi
  • DQMHistoSizes: changed ( 34434.771,... ): 1.748 KiB HLTGenVal/AK4jet__DST_NGTScouting__hltHpsPFTauTrack__2Dvspteta
  • DQMHistoSizes: changed ( 34434.771,... ): 1.748 KiB HLTGenVal/tauHAD__DST_NGTScouting__hltHpsPFTauTrack__2Dvspteta
  • DQMHistoSizes: changed ( 34434.771,... ): 1.747 KiB HLTGenVal/AK4HT__DST_NGTScouting__hltHpsPFTauTrack__2Dvspteta
  • DQMHistoSizes: changed ( 34434.771,... ): -1.747 KiB HLTGenVal/AK4jet__DST_PFScouting__hltHpsPFTauTrack__2Dvspteta
  • DQMHistoSizes: changed ( 34434.771,... ): -1.747 KiB HLTGenVal/tauHAD__DST_PFScouting__hltHpsPFTauTrack__2Dvspteta
  • DQMHistoSizes: changed ( 34434.771,... ): -1.746 KiB HLTGenVal/AK4HT__DST_PFScouting__hltHpsPFTauTrack__2Dvspteta
  • DQMHistoSizes: changed ( 34434.771 ): ...
  • Checked 257 log files, 213 edm output root files, 61 DQM output files
  • TriggerResults: found differences in 17 / 60 workflows

Max Memory Comparisons exceeding threshold

@cms-sw/core-l2 , I found 21 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 34434.0_TTbar_14TeV+Run4D121 step2 max memory diff 62.2 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.75_TTbar_14TeV+Run4D121_HLT75e33Timing step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7501_TTbar_14TeV+Run4D121_HLT75e33TrackingOnly step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7502_TTbar_14TeV+Run4D121_HLT75e33TrackingNtuple step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7503_TTbar_14TeV+Run4D121_HLTHeterogeneousValid step2 max memory diff 61.9 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.751_TTbar_14TeV+Run4D121_HLT75e33TimingAlpaka step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7521_TTbar_14TeV+Run4D121_HLT75e33TimingTiclV5TrackLinkGNN step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7522_TTbar_14TeV+Run4D121_HLT75e33TimingMTDatHLT step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.753_TTbar_14TeV+Run4D121_HLT75e33TimingLegacyTracking step2 max memory diff 63.5 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.754_TTbar_14TeV+Run4D121_HLT75e33TimingLegacyTrackingPatatrackQuads step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.755_TTbar_14TeV+Run4D121_HLT75e33TimingLST step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.756_TTbar_14TeV+Run4D121_HLT75e33TimingTrimmedTracking step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.757_TTbar_14TeV+Run4D121_HLT75e33TimingMkFitFit step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.758_TTbar_14TeV+Run4D121_HLT75e33TimingTiclBarrel step2 max memory diff 61.4 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.759_TTbar_14TeV+Run4D121_HLTPhase2WithNano step2 max memory diff 61.5 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7591_TTbar_14TeV+Run4D121_HLTPhase2WithNanoValid step2 max memory diff 61.5 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.775_TTbar_14TeV+Run4D121_NGTScoutingCAExtensionMergeT5 step2 max memory diff 51.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.911_TTbar_14TeV+Run4D121_DD4hep step2 max memory diff 62.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34496.0_CloseByPGun_CE_E_Front_120um+Run4D121 step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34500.0_CloseByPGun_CE_H_Coarse_Scint+Run4D121 step2 max memory diff 61.3 exceeds +/- 30.0 MiB
  • Error: Workflow 34634.0_TTbar_14TeV+Run4D121PU step2 max memory diff 94.7 exceeds +/- 30.0 MiB

@mmusich

mmusich commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

@cmsbuild, please test

  • to get rid of the spurious changes in the comparison from the other merges

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54657/summary.html
COMMIT: 22195b2
CMSSW: CMSSW_20_1_X_2026-07-09-2300/el9_amd64_gcc13
Additional Tests: HLT_P2_INTEGRATION,HLT_P2_TIMING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51084/54657/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54657/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-983f0c/54657/git-merge-result

HLT P2 Timing: chart

Comparison Summary

Summary:

  • You potentially added 9 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 61
  • DQMHistoTests: Total histograms compared: 4250257
  • DQMHistoTests: Total failures: 20641
  • DQMHistoTests: Total nulls: 14
  • DQMHistoTests: Total successes: 4229584
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 60 files compared)
  • Checked 257 log files, 213 edm output root files, 61 DQM output files
  • TriggerResults: found differences in 17 / 60 workflows

Max Memory Comparisons exceeding threshold

@cms-sw/core-l2 , I found 21 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 34434.0_TTbar_14TeV+Run4D121 step2 max memory diff 59.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.75_TTbar_14TeV+Run4D121_HLT75e33Timing step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7501_TTbar_14TeV+Run4D121_HLT75e33TrackingOnly step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7502_TTbar_14TeV+Run4D121_HLT75e33TrackingNtuple step2 max memory diff 59.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7503_TTbar_14TeV+Run4D121_HLTHeterogeneousValid step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.751_TTbar_14TeV+Run4D121_HLT75e33TimingAlpaka step2 max memory diff 59.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7521_TTbar_14TeV+Run4D121_HLT75e33TimingTiclV5TrackLinkGNN step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7522_TTbar_14TeV+Run4D121_HLT75e33TimingMTDatHLT step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.753_TTbar_14TeV+Run4D121_HLT75e33TimingLegacyTracking step2 max memory diff 61.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.754_TTbar_14TeV+Run4D121_HLT75e33TimingLegacyTrackingPatatrackQuads step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.755_TTbar_14TeV+Run4D121_HLT75e33TimingLST step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.756_TTbar_14TeV+Run4D121_HLT75e33TimingTrimmedTracking step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.757_TTbar_14TeV+Run4D121_HLT75e33TimingMkFitFit step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.758_TTbar_14TeV+Run4D121_HLT75e33TimingTiclBarrel step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.759_TTbar_14TeV+Run4D121_HLTPhase2WithNano step2 max memory diff 59.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.7591_TTbar_14TeV+Run4D121_HLTPhase2WithNanoValid step2 max memory diff 59.6 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.775_TTbar_14TeV+Run4D121_NGTScoutingCAExtensionMergeT5 step2 max memory diff 49.5 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.911_TTbar_14TeV+Run4D121_DD4hep step2 max memory diff 59.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34496.0_CloseByPGun_CE_E_Front_120um+Run4D121 step2 max memory diff 59.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34500.0_CloseByPGun_CE_H_Coarse_Scint+Run4D121 step2 max memory diff 59.7 exceeds +/- 30.0 MiB
  • Error: Workflow 34634.0_TTbar_14TeV+Run4D121PU step2 max memory diff 55.8 exceeds +/- 30.0 MiB

@mmusich

mmusich commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

+hlt

@Moanwar

Moanwar commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Sorry for not following this closely, but did we resolve the memory increase of ~30 MB than the threshold in step2?
https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_20_1_X_2026-07-09-2300+983f0c/76832/maxmem-comparison/maxmem_summary.html
Or did we agree that this increase is acceptable?

@VourMa

VourMa commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Sorry for not following this closely, but did we resolve the memory increase of ~30 MB than the threshold in step2? https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_20_1_X_2026-07-09-2300+983f0c/76832/maxmem-comparison/maxmem_summary.html Or did we agree that this increase is acceptable?

The previous commit did not aim at resolving any memory increase - a memory increase of a few tens of MBs when running an ML model is expected and has been seen in other developments. As a result, the summary from the bot is consistent and expected (at least for HLT, which is what PR currently targets).

@Moanwar

Moanwar commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

+1

  • Okay, sounds good, as long as it fits within the HLT budget.

@cmsbuild

Copy link
Copy Markdown
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @ftenchini, @mandrenguyen, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2)
Notice This PR was tested with additional Pull Request(s), please also merge them if necessary: cms-data/RecoTracker-FinalTrackSelectors#15

@mandrenguyen

Copy link
Copy Markdown
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.