Skip to content

[ROCm] Fixed memory errors in SymmetricMemory caused by repeated call of hipMemMap - #188673

Closed
albmalamd wants to merge 1 commit into
pytorch:mainfrom
albmalamd:symm_mem_fix_repeated_hipMemMap
Closed

albmalamd wants to merge 1 commit into
pytorch:mainfrom
albmalamd:symm_mem_fix_repeated_hipMemMap

Conversation

@albmalamd

@albmalamd albmalamd commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

Repeated call of hipMemMap is causing the errors in SymmetricMemory. Fixing that.

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang

@pytorch-bot

pytorch-bot Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/188673

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 05e61f2 with merge base 3201580 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot

pytorch-bot Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@jithunnair-amd jithunnair-amd added ciflow/periodic-rocm-mi200 Trigger "distributed" config CI on ROCm MI200 ciflow/periodic-rocm-mi300 Trigger "distributed" config CI on ROCm MI300/MI325 ciflow/periodic-rocm-mi355 Trigger "distributed" config CI on ROCm MI355 keep-going Don't stop on first failure, keep running tests until the end labels Jul 1, 2026
@pytorch-bot

pytorch-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

Warning: Unknown label ciflow/periodic-rocm-mi355.
Currently recognized labels are

  • ciflow/b200
  • ciflow/b200-distributed
  • ciflow/b200-symm-mem
  • ciflow/binaries
  • ciflow/binaries_libtorch
  • ciflow/binaries_wheel
  • ciflow/docker
  • ciflow/dtensor
  • ciflow/dynamo
  • ciflow/h100
  • ciflow/h100-cutlass-backend
  • ciflow/h100-distributed
  • ciflow/h100-symm-mem
  • ciflow/inductor
  • ciflow/inductor-cu126
  • ciflow/inductor-micro-benchmark
  • ciflow/inductor-micro-benchmark-cpu-x86
  • ciflow/inductor-pallas
  • ciflow/inductor-perf-compare
  • ciflow/inductor-perf-test-nightly-rocm-mi300
  • ciflow/inductor-perf-test-nightly-rocm-mi350
  • ciflow/inductor-perf-test-nightly-x86-zen
  • ciflow/inductor-perf-test-nightly-xpu
  • ciflow/inductor-periodic
  • ciflow/inductor-rocm-mi200
  • ciflow/inductor-rocm-mi300
  • ciflow/mps
  • ciflow/nightly
  • ciflow/op-benchmark
  • ciflow/periodic
  • ciflow/periodic-rocm-mi200
  • ciflow/periodic-rocm-mi300
  • ciflow/pull
  • ciflow/riscv64
  • ciflow/rocm-mi200
  • ciflow/rocm-mi300
  • ciflow/rocm-navi31
  • ciflow/rocm-nightly
  • ciflow/s390
  • ciflow/slow
  • ciflow/slow-rocm-mi200
  • ciflow/torchtitan
  • ciflow/triton_binaries
  • ciflow/trunk
  • ciflow/tsan
  • ciflow/unstable
  • ciflow/vllm
  • ciflow/win-arm64
  • ciflow/xpu

Please add the new label to .github/pytorch-probot.yml

@jeffdaily

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 2, 2026
@jeffdaily jeffdaily changed the title Fixed memory errors in SymmetricMemory caused by repeated call of hipMemMap [ROCm] Fixed memory errors in SymmetricMemory caused by repeated call of hipMemMap Jul 2, 2026
@pytorch-bot pytorch-bot Bot added the module: rocm AMD GPU support for Pytorch label Jul 2, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pragupta pushed a commit to ROCm/pytorch that referenced this pull request Jul 7, 2026
…y repeated call… (#3403)

This is a cherry-pick of pytorch#188673

Removing a repeated call of hipMemMap which is causing the errors in
SymmetricMemory.
vishalgoyal316 pushed a commit to vishalgoyal316/pytorch that referenced this pull request Jul 16, 2026
DamJanusz pushed a commit to DamJanusz/pytorch that referenced this pull request Jul 21, 2026
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
chinmaydk99 pushed a commit to ROCm/pytorch that referenced this pull request Jul 29, 2026
pragupta pushed a commit to ROCm/pytorch that referenced this pull request Jul 29, 2026
…ted call of hipMemMap (#3517)

Repeated call of hipMemMap is causing the errors in SymmetricMemory.
Fixing that.

Pull Request resolved: pytorch#188673
Approved by: https://github.com/Skylion007, https://github.com/jeffdaily

(cherry picked from commit 25825f6)

Co-authored-by: Albert Malewski <[email protected]>
chinmaydk99 added a commit to ROCm/pytorch that referenced this pull request Jul 29, 2026
Port the remaining TheRock ROCm 7.14+ skips identified by full-suite run 30308582520.

The upstream source fixes from PRs pytorch#185656, pytorch#188509, pytorch#188580, and pytorch#188673 are intentionally excluded because they are tracked by separate backport PRs.

Derived from 666f2bc with those source-fix patches removed.

Co-authored-by: Cursor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/h100-symm-mem ciflow/periodic-rocm-mi200 Trigger "distributed" config CI on ROCm MI200 ciflow/periodic-rocm-mi300 Trigger "distributed" config CI on ROCm MI300/MI325 ciflow/periodic-rocm-mi355 Trigger "distributed" config CI on ROCm MI355 ciflow/trunk Trigger trunk jobs on your pull request keep-going Don't stop on first failure, keep running tests until the end Merged module: rocm AMD GPU support for Pytorch open source release notes: distributed (c10d) release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants