-
Notifications
You must be signed in to change notification settings - Fork 4.6k
ECAL GPU vs. CPU validation configuration changes #49965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…lpaka instead of legacy vs. Alpkaka. Use gpuValidationEcal modifier for the later instead.
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49965/47746
|
|
A new Pull Request was created by @thomreis for master. It involves the following packages:
@Moanwar, @cmsbuild, @ctarricone, @gabrielmscampos, @jfernan2, @mandrenguyen, @nothingface0, @rseidita, @srimanob can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
type ecal |
| Uncalib2DJitterError = _ecalGpuTask.MEs.Uncalib2DJitterError.clone(path = _hltdir + '%(subdet)s/UncalibRecHits/%(prefix)sGT uncalib rec hit jitterError gpu-cpu map2D'), | ||
| Uncalib2DChi2 = _ecalGpuTask.MEs.Uncalib2DChi2.clone(path = _hltdir + '%(subdet)s/UncalibRecHits/%(prefix)sGT uncalib rec hit chi2 gpu-cpu map2D'), | ||
| Uncalib2DOOTAmp = _ecalGpuTask.MEs.Uncalib2DOOTAmp.clone(path = _hltdir + '%(subdet)s/UncalibRecHits/%(prefix)sGT uncalib rec hit OOT amplitude %(OOTAmp)s gpu-cpu map2D'), | ||
| Uncalib2DFlags = _ecalGpuTask.MEs.Uncalib2DFlags.clone(path = _hltdir + '%(subdet)s/UncalibRecHits/%(prefix)sGT uncalib rec hit flags gpu-cpu map2D') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if new plots are added in the cloned PSet? Should this be made automatic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If new plots are added they will be going to the default path. But since all variables of the data formats are covered already I do not see why new plots should be added.
But if you have a suggestion to make the changes automatic (add _hltdir and remove %(prefix)sGpuTask/) that would surely be an improvement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to work:
_hltdir = 'HLT/HeterogeneousComparison/'
_remove = '%(prefix)sGpuTask/'
def cloneMEsWithPathFix(srcMEs, prefix):
clones = {}
for name, me in srcMEs.parameters_().items():
if hasattr(me, 'path'):
old = me.path.value()
# remove the unwanted component if present
new = old.replace(_remove, '')
# prepend the HLT directory if not already there
new = prefix + new
clones[name] = me.clone(path = new)
else:
clones[name] = me.clone()
return clones
hltEcalGpuTask = _ecalGpuTask.clone(
params = _ecalGpuTask.params.clone(
runGpuTask = True,
enableRecHit = False
),
MEs = cloneMEsWithPathFix(_ecalGpuTask.MEs, _hltdir)
)By the way I noticed that in your earlier implementation the ones that start with RecHit2DChi2 are not touched. Is it done purposefully?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks I'll put that in.
I did not change the RecHit monitoring paths because they are switched off with enableRecHit = False.
|
@cmsbuild please test |
|
-1 Failed Tests: UnitTests RelVals RelVals-INPUT AddOn Failed Unit TestsI found 2 errors in the following unit tests: ---> test test_MC_22_crosscheck had ERRORS ---> test test_MC_23_crosscheck had ERRORS Failed RelVals
Expand to see more relval errors ...
Failed RelVals-INPUT
Expand to see more relval errors ...
Failed AddOn TestsExpand to see more addon errors ... |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49965/47778 |
|
Pull request #49965 was updated. @Moanwar, @cmsbuild, @ctarricone, @gabrielmscampos, @jfernan2, @mandrenguyen, @nothingface0, @rseidita, @srimanob can you please check and sign again. |
|
enable gpu |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49965/47779 |
|
Pull request #49965 was updated. @Moanwar, @cmsbuild, @ctarricone, @gabrielmscampos, @jfernan2, @mandrenguyen, @nothingface0, @rseidita, @srimanob can you please check and sign again. |
|
please test |
|
-1 Failed Tests: RelVals-AMD_MI300X Failed RelVals-AMD_MI300X
Comparison SummarySummary:
|
|
The errors look unrelated to the changes in this PR. |
PR description:
HLT/HeterogeneousComparison/DQM directory.alpakaValidationEcalmodifier is active. The legacy vs. Alpaka comparison can be activated with thegpuValidationEcalmodifier instead, which also takes care that the timing algorithms match.PR validation:
Passes 18446.413.