-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Update to relval_gpu.py
for Alpaka and Pixel Triplets Alpaka Workflows
#45694
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1125,7 +1125,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
'--customise': 'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets,RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' | ||
}, | ||
harvest = None, | ||
suffix = 'Patatrack_PixelOnlyTripletsGPU_Profiling', | ||
suffix = 'Patatrack_PixelOnlyTripletsGPU_Profiling', | ||
offset = 0.508, | ||
) | ||
|
||
|
@@ -1136,7 +1136,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
upgradeWFs['PatatrackECALOnlyAlpaka'] = PatatrackWorkflow( | ||
digi = { | ||
# customize the ECAL Local Reco part of the HLT menu for Alpaka | ||
'--procModifiers': 'alpaka', # alpaka modifier activates customiseHLTForAlpaka | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
|
@@ -1312,7 +1312,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
# - HCAL-only reconstruction using Alpaka with DQM and Validation | ||
upgradeWFs['PatatrackHCALOnlyAlpakaValidation'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', # alpaka modifier activates customiseHLTForAlpaka | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
|
@@ -1332,7 +1332,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
# - HCAL-only reconstruction using GPU and Alpaka with DQM and Validation for PF Alpaka vs CPU comparisons | ||
upgradeWFs['PatatrackHCALOnlyGPUandAlpakaValidation'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', # alpaka modifier activates customiseHLTForAlpaka | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
|
@@ -1352,7 +1352,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
# - HCAL-only reconstruction using Alpaka | ||
upgradeWFs['PatatrackHCALOnlyAlpakaProfiling'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', # alpaka modifier activates customiseHLTForAlpaka | ||
'--procModifiers': 'alpaka', | ||
}, | ||
reco = { | ||
'-s': 'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly', | ||
|
@@ -1369,13 +1369,13 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
# - harvesting | ||
upgradeWFs['PatatrackFullRecoAlpaka'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', # alpaka modifier activates customiseHLTForAlpaka | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
# skip the @pixelTrackingOnlyValidation which cannot run together with the full reconstruction | ||
'-s': 'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM', | ||
'--procModifiers': 'alpaka,pixelNtupletFit', | ||
'--procModifiers': 'alpaka', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will this still run the pixel ntuplet reconstruction ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep. Since the transition to Alpaka all the chain is activateed just using the |
||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
harvest = { | ||
|
@@ -1385,6 +1385,28 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
offset = 0.492, | ||
) | ||
|
||
# Workflow running the Pixel triplets, ECAL and HCAL reconstruction on GPU (optional), PF using Alpaka, together with the full offline reconstruction on CPU | ||
# - HLT on GPU (optional) | ||
# - reconstruction on Alpaka, with DQM and validation | ||
# - harvesting | ||
upgradeWFs['PatatrackFullRecoAlpaka'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
# skip the @pixelTrackingOnlyValidation which cannot run together with the full reconstruction | ||
'-s': 'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM', | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets,HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
harvest = { | ||
# skip the @pixelTrackingOnlyDQM harvesting | ||
}, | ||
suffix = 'Patatrack_FullRecoAlpakaTriplets', | ||
offset = 0.496, | ||
) | ||
|
||
# Workflow running the Pixel quadruplets, ECAL and HCAL reconstruction on CPU | ||
# - HLT on CPU | ||
# - reconstruction on CPU, with DQM and validation | ||
|
@@ -1691,7 +1713,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
|
||
upgradeWFs['PatatrackPixelOnlyAlpaka'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', # alpaka modifier activates customiseHLTForAlpaka | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
|
@@ -1708,7 +1730,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
|
||
upgradeWFs['PatatrackPixelOnlyAlpakaValidation'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', # alpaka modifier activates customiseHLTForAlpaka | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
|
@@ -1725,7 +1747,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
|
||
upgradeWFs['PatatrackPixelOnlyAlpakaProfiling'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', # alpaka modifier activates customiseHLTForAlpaka | ||
'--procModifiers': 'alpaka', | ||
}, | ||
reco = { | ||
'-s': 'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly', | ||
|
@@ -1737,6 +1759,54 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
offset = 0.404, | ||
) | ||
|
||
upgradeWFs['PatatrackPixelOnlyTripletsAlpaka'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
'-s': 'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM', | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets,HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling' | ||
}, | ||
harvest = { | ||
'-s': 'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' | ||
}, | ||
suffix = 'Patatrack_PixelOnlyTripletsAlpaka', | ||
offset = 0.406, | ||
) | ||
|
||
upgradeWFs['PatatrackPixelOnlyTripletsAlpakaValidation'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling', | ||
}, | ||
reco = { | ||
'-s': 'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM', | ||
'--procModifiers': 'alpakaValidation', | ||
'--customise' : 'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets,HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling' | ||
}, | ||
harvest = { | ||
'-s': 'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' | ||
}, | ||
suffix = 'Patatrack_PixelOnlyTripletsAlpaka_Validation', | ||
offset = 0.407, | ||
) | ||
|
||
upgradeWFs['PatatrackPixelOnlyTripletsAlpakaProfiling'] = PatatrackWorkflow( | ||
digi = { | ||
'--procModifiers': 'alpaka', | ||
}, | ||
reco = { | ||
'-s': 'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly', | ||
'--procModifiers': 'alpaka', | ||
'--customise' : 'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets,RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' | ||
}, | ||
harvest = None, | ||
suffix = 'Patatrack_PixelOnlyTripletsAlpaka_Profiling', | ||
offset = 0.408, | ||
) | ||
|
||
# end of Patatrack workflows | ||
|
||
class UpgradeWorkflow_ProdLike(UpgradeWorkflow): | ||
|
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.
Typo.