Skip to content

Add barrier to JACCL#3459

Merged
angeloskath merged 2 commits into
ml-explore:mainfrom
Isalia20:add-jaccl-barrier
Apr 28, 2026
Merged

Add barrier to JACCL#3459
angeloskath merged 2 commits into
ml-explore:mainfrom
Isalia20:add-jaccl-barrier

Conversation

@Isalia20

Copy link
Copy Markdown
Contributor

Proposed changes

Add barrier in JACCL as it is in NCCL

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

@Isalia20

Copy link
Copy Markdown
Contributor Author

@zcbenz Can't tag you as a reviewer, can you please review when you get a chance?

@angeloskath angeloskath merged commit e8ebdeb into ml-explore:main Apr 28, 2026
16 checks passed
adurham pushed a commit to adurham/mlx that referenced this pull request May 1, 2026
)

Adds a barrier() op to JACCL distributed group plus minimal_barrier.cpp
example. Useful for our 2-node TP setup where we sometimes need explicit
sync points (e.g., post-allocation, pre-decode-step).

Conflict resolution: 3 modify/delete on jaccl/lib/ files (README, examples
CMakeLists, group.h). Upstream re-added them in ml-explore#3459; we apparently
dropped lib/ at some prior point. Took theirs to get the new barrier
infrastructure.
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.

2 participants