-
Notifications
You must be signed in to change notification settings - Fork 184
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
PyTorch custom operators for graph operations #9094
PyTorch custom operators for graph operations #9094
Conversation
A new Pull Request was created by @valsdav for branch IB/CMSSW_14_1_X/master. @iarspider, @smuzaffar, @aandvalenzuela, @cmsbuild can you please review it and eventually sign? Thanks. |
cms-bot internal usage |
@valsdav , can you please apply the following changes
[a]
|
Pull request #9094 was updated. |
please test |
@@ -0,0 +1,10 @@ | |||
<tool name="pytorch-cluster" version="@TOOL_VERSION@"> | |||
<client> | |||
<environment name="TORCH_CLUSTER_BASE" default="@TOOL_ROOT@"/> |
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.
@valsdav , can you please update all the newly added xml files to have PYTORCH_
instead of TORCH_
e.g. replace TORCH_CLUSTER_BASE
with PYTORCH_CLUSTER_BASE
every where. The name of this variable should match the name of tool.
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.
fixed in 492ec08
Pull request #9094 was updated. |
please test |
please test for el8_aarch64_gcc12 |
please test for el8_ppc64le_gcc12 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f196af/38419/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: |
-1 Failed Tests: RelVals 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: RelValsThe relvals timed out after 4 hours. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f196af/38403/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 SummarySummary:
|
+externals |
c8952e8
into
cms-sw:IB/CMSSW_14_1_X/master
This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_14_1_X/master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
The PR add to the externals 3 small libraries of pytorch operators for optimized graph clustering and sparse tensors operations:
These libraries are used in graph neural networks to perform clustering operations, i.e. in the DRN model cms-sw/cmssw#37134
A
pytorch-custom-ops
tool is defined to link all of them.Only the CPU ops are compiled for the moment. Kernels for CUDA are also available.
PR validation
I have linked successfully a CMSSW test, loading a DRN TorchScript model. The PyTorch engine finds the operators and does not complain. I will create a PR to CMSSW with tests in the next days.