-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Adding SONIC ParticleNet Producer to CMSSW #37964
Adding SONIC ParticleNet Producer to CMSSW #37964
Conversation
…ns of configuration files
Accompanying model-file PR is here: cms-data/RecoBTag-Combined#48 |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37964/30036
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
code checks should be addressed before we proceed further (it's worth to run |
@emilbols @cms-sw/btv-pog-l2 could you please review this from the BTV side? |
Hi @jpata , I ran |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37964/30083
|
A new Pull Request was created by @wpmccormack (Patrick McCormack) for master. It involves the following packages:
@perrotta, @clacaputo, @cmsbuild, @slava77, @jpata, @qliphy, @fabiocos, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
test parameters: |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-603a48/25508/summary.html Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
+reconstruction
|
Hi @johnalison , to trigger the change from |
ping @cms-sw/btv-pog-l2 |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-603a48/25856/summary.html 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: Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
+1 |
+1
|
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 be automatically merged. |
PR description:
This PR introduces a producer for ParticleNet using SONIC for co-processor-enabled inferences-as-a-service. The main versions of ParticleNet are all included (AK4, AK8 general, MassDecorrelation, and MassRegression), as are configs for both ONNX versions and PyTorch versions of the models. For more information on the status of SONIC, please refer to this presentation to JetMET DPG: https://indico.cern.ch/event/1143469/contributions/4799423/attachments/2416540/4135308/March_28_JetMET_SONIC.pdf. Please note that the producer introduced here does not affect the main ParticleNet producer in any way (https://github.com/cms-sw/cmssw/blob/master/RecoBTag/ONNXRuntime/plugins/BoostedJetONNXJetTagsProducer.cc). This is an alternate way to run the standard ParticleNet model using inference as a service. As noted in the linked slides, this producer has been validated locally on Tier 2 resources and at scale with cloud computing, but with this PR, we hope to perform more "official" production tests. Again, this producer does not any workflow unless explicitly called. A helper-function macro is slightly modified, as are a few config files. There will be an accompanying PR into https://github.com/cms-data/RecoBTag-Combined, which adds needed model files.
Tagging @kpedro88 @yongbinfeng @violatingcp @nhanvtran @jmduarte
PR validation:
This PR was tested on LPC using a Triton server running on the GPU-enabled AILab machines at FermiLab. Tests have also been performed using the ParticleNet SONIC producer at Purdue T2 and in Google Cloud. When the producer is not called, there is no performance impact, and when it is called, the Jet Tagging results are the same as for the generic ParticleNet producer.