Skip to content

Build Pytorch-rocm - #10622

Closed
akritkbehera wants to merge 1 commit into
cms-sw:IB/CMSSW_20_1_X/rocmfrom
akritkbehera:Build_PYTORCH_ROCM
Closed

Build Pytorch-rocm #10622
akritkbehera wants to merge 1 commit into
cms-sw:IB/CMSSW_20_1_X/rocmfrom
akritkbehera:Build_PYTORCH_ROCM

Conversation

@akritkbehera

Copy link
Copy Markdown
Contributor

Built PY3_TORCH_ROCM successfully

~/Desktop/IBs ☁ (eu-north-1) ➜  tree -L 1 sw/el8_amd64_gcc13/external/py3-torch-rocm/2.11.0-39f7526b329d3ddbfbfbb766e8d42c52/lib/
sw/el8_amd64_gcc13/external/py3-torch-rocm/2.11.0-39f7526b329d3ddbfbfbb766e8d42c52/lib/
├── libaotriton_v2.so -> python3.12/site-packages/torch/lib/libaotriton_v2.so
├── libc10.so -> python3.12/site-packages/torch/lib/libc10.so
├── libc10_hip.so -> python3.12/site-packages/torch/lib/libc10_hip.so
├── libcaffe2_nvrtc.so -> python3.12/site-packages/torch/lib/libcaffe2_nvrtc.so
├── libshm.so -> python3.12/site-packages/torch/lib/libshm.so
├── libtorch.so -> python3.12/site-packages/torch/lib/libtorch.so
├── libtorch_cpu.so -> python3.12/site-packages/torch/lib/libtorch_cpu.so
├── libtorch_global_deps.so -> python3.12/site-packages/torch/lib/libtorch_global_deps.so
├── libtorch_hip.so -> python3.12/site-packages/torch/lib/libtorch_hip.so
├── libtorch_python.so -> python3.12/site-packages/torch/lib/libtorch_python.so
├── pyaotriton.cpython-312-x86_64-linux-gnu.so -> python3.12/site-packages/torch/lib/pyaotriton.cpython-312-x86_64-linux-gnu.so
└── python3.12

1 directory, 11 files

Built PY3_TORCH_ROCM successfully

Revert COMGR and update missing xml in pytorch-rocm
@cmsbuild

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @akritkbehera for branch IB/CMSSW_20_1_X/rocm.

@akritkbehera, @cmsbuild, @iarspider, @raoatifshad, @smuzaffar can you please review it and eventually sign? Thanks.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.
cms-bot commands are listed here

@cmsbuild

cmsbuild commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@akritkbehera

Copy link
Copy Markdown
Contributor Author

please test for CMSSW_20_1_ROCM_X

@akritkbehera akritkbehera changed the title Update library link in comgr.spec Build Pytorch-rocm Jun 10, 2026
@akritkbehera

Copy link
Copy Markdown
Contributor Author

@cmsbuild hold

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb7331/53832/summary.html
COMMIT: 498d7bd
CMSSW: CMSSW_20_1_ROCM_X_2026-06-09-1000/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/10622/53832/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb7331/53832/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb7331/53832/git-merge-result

Comparison Summary

Summary:

  • You potentially added 168 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 44
  • DQMHistoTests: Total histograms compared: 3248390
  • DQMHistoTests: Total failures: 100
  • DQMHistoTests: Total nulls: 5
  • DQMHistoTests: Total successes: 3248267
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1308765.16 KiB( 43 files compared)
  • DQMHistoSizes: changed ( 18434.0,... ): 273.007 KiB HLT/ScoutingOffline
  • DQMHistoSizes: changed ( 18434.0,... ): 0.004 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 18434.0,... ): 0.004 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 34434.0,... ): 104587.023 KiB TrackerPhase2OTRecHit/EndCap_Side1
  • DQMHistoSizes: changed ( 34434.0,... ): 104587.023 KiB TrackerPhase2OTRecHit/EndCap_Side2
  • DQMHistoSizes: changed ( 34434.0,... ): 32181.719 KiB HLT/Tau
  • DQMHistoSizes: changed ( 34434.0,... ): 32174.297 KiB Tau/TauValidation
  • DQMHistoSizes: changed ( 34434.0,... ): 18470.388 KiB TrackerPhase2OTRecHit/Barrel
  • DQMHistoSizes: changed ( 34434.0,... ): 7345.766 KiB TrackerPhase2OTRecHit/Global_RecHitPosition_RZ_P
  • DQMHistoSizes: changed ( 34434.0,... ): 7345.766 KiB TrackerPhase2OTRecHit/Global_RecHitPosition_RZ_S
  • DQMHistoSizes: changed ( 34434.0 ): ...
  • Checked 191 log files, 159 edm output root files, 44 DQM output files

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request has been put on hold by @akritkbehera
They need to issue an unhold command to remove the hold state or L1 can unhold it for all

@akritkbehera

Copy link
Copy Markdown
Contributor Author

https://github.com/cms-sw/cmsdist/pull/10623/changes Has the same changes of py3-torch-rocm and also cleans up ROCM spec files we can just merge that instead. The tests are running there.

@smuzaffar

Copy link
Copy Markdown
Contributor

@akritkbehera , this change has been merged via #10623 so we can close this ... right?

We also need #10623 like change for rocm724 branch ... right?

@smuzaffar

smuzaffar commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@akritkbehera , this change has been merged via #10623 so we can close this ... right?

ping @akritkbehera

@akritkbehera

Copy link
Copy Markdown
Contributor Author

@akritkbehera , this change has been merged via #10623 so we can close this ... right?

We also need #10623 like change for rocm724 branch ... right?

Yeah I opened a change for ROCM724 we can close this

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.

3 participants