Skip to content

Enable DNN supercluster in Phase2 HLT#46010

Merged
cmsbuild merged 10 commits intocms-sw:masterfrom
RSalvatico:dnnHLT
Oct 18, 2024
Merged

Enable DNN supercluster in Phase2 HLT#46010
cmsbuild merged 10 commits intocms-sw:masterfrom
RSalvatico:dnnHLT

Conversation

@RSalvatico
Copy link
Copy Markdown
Contributor

PR description:

Enable the usage of the DNN superclustering developed for the endcaps (PR #45333) in the Phase2 HLT reconstruction. In particular, this PR allows us to use:

  • Superclustering DNN (TracksterLinkingBySuperClusteringDNN)
  • Superclustering with Mustache inside TICL (TracksterLinkingbySuperClusteringMustache)

using process modifiers.

PR validation:

Successfully run several upgrade workflows such as
29691.203 SingleElectronPt15Eta1p7_2p7_2026D110 + ticl_v5
29691.204 SingleElectronPt15Eta1p7_2p7_2026D110 + ticl_v5_mustache

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Sep 17, 2024

cms-bot internal usage

@cmsbuild
Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46010/41813

@cmsbuild
Copy link
Copy Markdown
Contributor

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

It involves the following packages:

  • Configuration/PyReleaseValidation (upgrade, pdmv)
  • HLTrigger/Configuration (hlt)

@AdrianoDee, @Martin-Grunewald, @cmsbuild, @kskovpen, @miquork, @mmusich, @srimanob, @subirsarkar, @sunilUIET can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @SohamBhattacharya, @VourMa, @fabiocos, @makortel, @missirol, @mmusich, @rovere, @silviodonato, @slomeo this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@felicepantaleo
Copy link
Copy Markdown
Contributor

test parameters:

  • workflow_opts= -w upgrade
  • workflows = 29888.203,29688.203

@felicepantaleo
Copy link
Copy Markdown
Contributor

@cmsbuild please test

@felicepantaleo
Copy link
Copy Markdown
Contributor

@cmsbuild
Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 68KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb053e/41547/summary.html
COMMIT: a85bda5
CMSSW: CMSSW_14_2_X_2024-09-16-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46010/41547/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • You potentially removed 2 lines from the logs
  • Reco comparison results: 10 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3532200
  • DQMHistoTests: Total failures: 511
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3531669
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 45 files compared)
  • Checked 202 log files, 171 edm output root files, 46 DQM output files
  • TriggerResults: found differences in 2 / 44 workflows

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Sep 17, 2024

enable hlt_p2_timing

Copy link
Copy Markdown
Contributor

@mmusich mmusich left a comment

Choose a reason for hiding this comment

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

cosmetics

)

from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5
ticl_v5.toModify(hltEgammaCandidatesL1Seeded, scIslandEndcapProducer = cms.InputTag("hltTiclEGammaSuperClusterProducerL1Seeded")) No newline at end of file
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.

missing newline.

)

from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5
ticl_v5.toModify(hltEgammaCandidatesUnseeded, scIslandEndcapProducer = cms.InputTag("hltTiclEGammaSuperClusterProducerUnseeded")) No newline at end of file
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.

missing newline.

regressionAndPid = cms.bool(True),
tfDnnLabel = cms.string('tracksterSelectionTf'),
tracksters_collections = cms.VInputTag("hltTiclTrackstersCLUE3DHighL1Seeded", "hltTiclTrackstersPassthrough")
) No newline at end of file
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.

missing newline.

regressionAndPid = cms.bool(True),
tfDnnLabel = cms.string('tracksterSelectionTf'),
tracksters_collections = cms.VInputTag("hltTiclTrackstersCLUE3DHigh", "hltTiclTrackstersPassthrough")
) No newline at end of file
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.

missing newline.

ticlSuperClusters=cms.InputTag("hltTiclTracksterLinksSuperclusteringMustacheL1Seeded"),
ticlTrackstersEM=cms.InputTag("hltTiclTrackstersCLUE3DHighL1Seeded"),
layerClusters=cms.InputTag("hltHgcalMergeLayerClustersL1Seeded")
) No newline at end of file
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.

missing newline.

(alpaka & ticl_superclustering_mustache_ticl).toModify(hltTiclEGammaSuperClusterProducerUnseeded,
ticlSuperClusters=cms.InputTag("hltTiclTracksterLinksSuperclusteringMustacheUnseeded"),
ticlTrackstersEM=cms.InputTag("hltTiclTrackstersCLUE3DHigh"),
layerClusters=cms.InputTag("hltHgcalMergeLayerClusters")) No newline at end of file
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.

missing newline.

Comment on lines +99 to +112
(alpaka & ticl_superclustering_dnn).toReplaceWith(_HgcalLocalRecoUnseededSequence,
cms.Sequence(
hltHgcalDigis
+ hltHGCalUncalibRecHit
+ hltHGCalRecHit+hltParticleFlowRecHitHGC
+ hltHgcalSoARecHitsProducer
+ hltHgcalSoARecHitsLayerClustersProducer
+ hltHgcalSoALayerClustersProducer
+ hltHgCalLayerClustersFromSoAProducer
+ hltHgcalLayerClustersHSci
+ hltHgcalLayerClustersHSi
+ hltHgcalMergeLayerClusters
)
)
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.

How does this differ from

# Alpaka
from Configuration.ProcessModifiers.alpaka_cff import alpaka
alpaka.toReplaceWith(_HgcalLocalRecoUnseededSequence,
cms.Sequence(
hltHgcalDigis
+ hltHGCalUncalibRecHit
+ hltHGCalRecHit+hltParticleFlowRecHitHGC
+ hltHgcalSoARecHitsProducer
+ hltHgcalSoARecHitsLayerClustersProducer
+ hltHgcalSoALayerClustersProducer
+ hltHgCalLayerClustersFromSoAProducer
+ hltHgcalLayerClustersHSci
+ hltHgcalLayerClustersHSi
+ hltHgcalMergeLayerClusters
)
)
?

Don't the aforementioned lines cover the heterogeneous workflow more in general? Maybe I am missing how the ticl_superclustering_dnn modifier changes anything here.

Copy link
Copy Markdown
Contributor Author

@RSalvatico RSalvatico Sep 17, 2024

Choose a reason for hiding this comment

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

No, I think you're right. In fact all the (alpaka & ticl_superclustering) modifiers are pointless, as alpaka and ticl_superclustering modify independent sequences. Thanks

Comment on lines +128 to +141
(alpaka & ticl_superclustering_mustache_ticl).toReplaceWith(_HgcalLocalRecoUnseededSequence,
cms.Sequence(
hltHgcalDigis
+ hltHGCalUncalibRecHit
+ hltHGCalRecHit+hltParticleFlowRecHitHGC
+ hltHgcalSoARecHitsProducer
+ hltHgcalSoARecHitsLayerClustersProducer
+ hltHgcalSoALayerClustersProducer
+ hltHgCalLayerClustersFromSoAProducer
+ hltHgcalLayerClustersHSci
+ hltHgcalLayerClustersHSi
+ hltHgcalMergeLayerClusters
)
)
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.

Same comment as above.

Comment on lines +113 to +115
(alpaka & ticl_superclustering_dnn).toModify(hltHgcalMergeLayerClusters,
layerClustersEE = cms.InputTag("hltHgCalLayerClustersFromSoAProducer"),
time_layerclustersEE = cms.InputTag("hltHgCalLayerClustersFromSoAProducer", "timeLayerCluster"))
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.

Similar comment as above when compared to lines

alpaka.toModify(hltHgcalMergeLayerClusters,
layerClustersEE = cms.InputTag("hltHgCalLayerClustersFromSoAProducer"),
time_layerclustersEE = cms.InputTag("hltHgCalLayerClustersFromSoAProducer", "timeLayerCluster"))

Similarly applied to
(alpaka & ticl_superclustering_mustache_ticl).toModify(hltHgcalMergeLayerClusters,
layerClustersEE = cms.InputTag("hltHgCalLayerClustersFromSoAProducer"),
time_layerclustersEE = cms.InputTag("hltHgCalLayerClustersFromSoAProducer", "timeLayerCluster"))

In general the "# Alpaka & DNN" part seems to be duplicating modifications from above, potentially making the maintenance of the code harder. Maybe try to simplify - unless there is some reason for the duplication which I failed to see (potentially having to do with the order the modifiers are applied)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes indeed, I'll clean up.

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Oct 8, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46010/42138

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Oct 8, 2024

Pull request #46010 was updated. @AdrianoDee, @Martin-Grunewald, @Moanwar, @cmsbuild, @jfernan2, @kskovpen, @mandrenguyen, @miquork, @mmusich, @srimanob, @subirsarkar, @sunilUIET can you please check and sign again.

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Oct 8, 2024

test parameters:

  • enable = hlt_p2_integration

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Oct 8, 2024

@cmsbuild, please test

@RSalvatico
Copy link
Copy Markdown
Contributor Author

As suggested by one of the authors of PR #45333 (@sameasy), I have disabled the supercluster energy regression in the ticl_v5 mustache case, since the regression version in release is not tuned for the mustache but only for the DNN supercluster. To be consistent, I have made this change online:

and offline:

enableRegression=cms.bool(False))

@RSalvatico
Copy link
Copy Markdown
Contributor Author

@cmsbuild, please abort

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Oct 8, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46010/42139

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Oct 8, 2024

Pull request #46010 was updated. @AdrianoDee, @Martin-Grunewald, @Moanwar, @cmsbuild, @jfernan2, @kskovpen, @mandrenguyen, @miquork, @mmusich, @srimanob, @subirsarkar, @sunilUIET can you please check and sign again.

@RSalvatico
Copy link
Copy Markdown
Contributor Author

@cmsbuild, please test

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Oct 8, 2024

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb053e/42058/summary.html
COMMIT: 0136414
CMSSW: CMSSW_14_2_X_2024-10-08-1100/el8_amd64_gcc12
Additional Tests: HLT_P2_INTEGRATION
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46010/42058/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Oct 9, 2024

test parameters:

  • workflow_opts= -w upgrade
  • workflows = 29691.203, 29691.204
  • enable = hlt_p2_integration

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Oct 9, 2024

@cmsbuild, please test

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Oct 9, 2024

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb053e/42065/summary.html
COMMIT: 0136414
CMSSW: CMSSW_14_2_X_2024-10-08-2300/el8_amd64_gcc12
Additional Tests: HLT_P2_INTEGRATION
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46010/42065/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • You potentially removed 3 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 129 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3532042
  • DQMHistoTests: Total failures: 5237
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3526785
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 45 files compared)
  • Checked 203 log files, 171 edm output root files, 46 DQM output files
  • TriggerResults: found differences in 2 / 44 workflows

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Oct 17, 2024

+hlt

@jfernan2
Copy link
Copy Markdown
Contributor

+4

@Moanwar
Copy link
Copy Markdown
Contributor

Moanwar commented Oct 17, 2024

+Upgrade

@AdrianoDee
Copy link
Copy Markdown
Contributor

+pdmv

@RSalvatico
Copy link
Copy Markdown
Contributor Author

+4

Hi @jfernan2, one signature would be enough for me :)

@jfernan2
Copy link
Copy Markdown
Contributor

+1

@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. @mandrenguyen, @sextonkennedy, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@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.

10 participants