Skip to content

[None][fix] Backport OpenMPI ARM64 wait-sync barriers - #18907

Merged
pcicotti merged 3 commits into
NVIDIA:feat/m3_with_msafrom
peihu-nv:fix/m3-openmpi-waitsync-20260908
Sep 9, 2026
Merged

pcicotti merged 3 commits into
NVIDIA:feat/m3_with_msafrom
peihu-nv:fix/m3-openmpi-waitsync-20260908

Conversation

@peihu-nv

@peihu-nv peihu-nv commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

@coderabbitai summary

Description

HPC-X 2.26's OpenMPI 4 runtime can publish stack-local wait-sync state without the acquire/release barriers required for cross-thread request completion on ARM64. Under sustained MPI_THREAD_MULTIPLE traffic, a completion thread may therefore observe incompletely initialized waiter state and fail inside native synchronization code.

This change backports official OpenMPI commit 0c86834a while constructing ARM64 HPC-X containers. It rebuilds the OpenMPI 4 source already embedded in the base image into the canonical /opt/hpcx/ompi4 prefix before mpi4py is installed. Non-ARM64 and non-HPC-X images skip the backport.

Test Coverage

  • Changed-file pre-commit hooks pass.
  • Shell syntax checks pass for both the existing base installer and the new OpenMPI installer.
  • The vendored diff applies cleanly to the official upstream parent and reproduces the two files from OpenMPI commit 0c86834a exactly.
  • The same OpenMPI backport was previously rebuilt and exercised on ARM64 with HPC-X 2.26: MPI_THREAD_MULTIPLE=3, the generated acquire barrier was confirmed, and 160,000 threaded two-rank PML/UCX exchanges completed.
  • A fresh end-to-end build through this new Docker integration is intentionally pending before the PR is marked ready for merge.

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

@peihu-nv

peihu-nv commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #72220 [ run ] triggered by Bot. Commit: fd9cdce Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #72220 [ run ] completed with state SUCCESS. Commit: fd9cdce
/LLM/main/L0_MergeRequest_PR pipeline #59260 completed with status: 'SUCCESS'

CI Report

Link to invocation

@peihu-nv
peihu-nv marked this pull request as ready for review September 8, 2026 21:55
@peihu-nv
peihu-nv requested review from a team as code owners September 8, 2026 21:55
@peihu-nv

peihu-nv commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #72247 [ run ] triggered by Bot. Commit: 03899d2 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #72247 [ run ] completed with state SUCCESS. Commit: 03899d2
/LLM/main/L0_MergeRequest_PR pipeline #59284 completed with status: 'SUCCESS'

CI Report

Link to invocation

@pcicotti
pcicotti merged commit e7a254e into NVIDIA:feat/m3_with_msa Sep 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants